25 #ifndef __vtkImageGridSource_h
26 #define __vtkImageGridSource_h
40 vtkSetVector3Macro(GridSpacing,
int);
41 vtkGetVector3Macro(GridSpacing,
int);
46 vtkSetVector3Macro(GridOrigin,
int);
47 vtkGetVector3Macro(GridOrigin,
int);
52 vtkSetMacro(LineValue,
double);
53 vtkGetMacro(LineValue,
double);
58 vtkSetMacro(FillValue,
double);
59 vtkGetMacro(FillValue,
double);
65 vtkSetMacro(DataScalarType,
int);
73 vtkGetMacro(DataScalarType,
int);
75 return vtkImageScalarTypeNameMacro(this->DataScalarType); }
81 vtkSetVector6Macro(DataExtent,
int);
82 vtkGetVector6Macro(DataExtent,
int);
87 vtkSetVector3Macro(DataSpacing,
double);
88 vtkGetVector3Macro(DataSpacing,
double);
93 vtkSetVector3Macro(DataOrigin,
double);
94 vtkGetVector3Macro(DataOrigin,
double);
110 double DataSpacing[3];
111 double DataOrigin[3];
virtual void ExecuteData(vtkDataObject *output)
#define VTK_UNSIGNED_SHORT
void SetDataScalarTypeToShort()
void SetDataScalarTypeToDouble()
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetDataScalarTypeToUnsignedShort()
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.