29#ifndef vtkImageGridSource_h
30#define vtkImageGridSource_h
32#include "vtkImagingSourcesModule.h"
47 vtkSetVector3Macro(GridSpacing,
int);
48 vtkGetVector3Macro(GridSpacing,
int);
55 vtkSetVector3Macro(GridOrigin,
int);
56 vtkGetVector3Macro(GridOrigin,
int);
64 vtkGetMacro(LineValue,
double);
72 vtkGetMacro(FillValue,
double);
88 vtkGetMacro(DataScalarType,
int);
90 return vtkImageScalarTypeNameMacro(this->DataScalarType); }
98 vtkSetVector6Macro(DataExtent,
int);
99 vtkGetVector6Macro(DataExtent,
int);
106 vtkSetVector3Macro(DataSpacing,
double);
107 vtkGetVector3Macro(DataSpacing,
double);
114 vtkSetVector3Macro(DataOrigin,
double);
115 vtkGetVector3Macro(DataOrigin,
double);
131 double DataSpacing[3];
132 double DataOrigin[3];
general representation of visualization data
Generic algorithm superclass for image algs.
Create an image of a grid.
static vtkImageGridSource * New()
void SetDataScalarTypeToUnsignedChar()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetDataScalarTypeToUnsignedShort()
void SetDataScalarTypeToShort()
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
void SetDataScalarTypeToInt()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
const char * GetDataScalarTypeAsString()
void SetDataScalarTypeToDouble()
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_UNSIGNED_CHAR
#define VTK_UNSIGNED_SHORT