25 #ifndef vtkImageGridSource_h
26 #define vtkImageGridSource_h
41 vtkSetVector3Macro(GridSpacing,
int);
42 vtkGetVector3Macro(GridSpacing,
int);
47 vtkSetVector3Macro(GridOrigin,
int);
48 vtkGetVector3Macro(GridOrigin,
int);
53 vtkSetMacro(LineValue,
double);
54 vtkGetMacro(LineValue,
double);
59 vtkSetMacro(FillValue,
double);
60 vtkGetMacro(FillValue,
double);
66 vtkSetMacro(DataScalarType,
int);
74 vtkGetMacro(DataScalarType,
int);
76 return vtkImageScalarTypeNameMacro(this->DataScalarType); }
82 vtkSetVector6Macro(DataExtent,
int);
83 vtkGetVector6Macro(DataExtent,
int);
88 vtkSetVector3Macro(DataSpacing,
double);
89 vtkGetVector3Macro(DataSpacing,
double);
94 vtkSetVector3Macro(DataOrigin,
double);
95 vtkGetVector3Macro(DataOrigin,
double);
111 double DataSpacing[3];
112 double DataOrigin[3];
#define VTK_UNSIGNED_SHORT
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
void SetDataScalarTypeToShort()
void SetDataScalarTypeToDouble()
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetDataScalarTypeToUnsignedShort()
#define VTKIMAGINGSOURCES_EXPORT
void SetDataScalarTypeToInt()
#define VTK_UNSIGNED_CHAR
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
void SetDataScalarTypeToUnsignedChar()
static vtkAlgorithm * New()
const char * GetDataScalarTypeAsString()
general representation of visualization data
Create an image of a grid.