25 #ifndef __vtkImageGridSource_h
26 #define __vtkImageGridSource_h
28 #include "vtkImagingSourcesModule.h"
36 void PrintSelf(ostream& os, vtkIndent indent);
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);
71 {this->SetDataScalarType(VTK_UNSIGNED_SHORT);}
73 {this->SetDataScalarType(VTK_UNSIGNED_CHAR);}
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];
115 vtkInformationVector**,
116 vtkInformationVector*);
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
void SetDataScalarTypeToShort()
void SetDataScalarTypeToDouble()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetDataScalarTypeToUnsignedShort()
void SetDataScalarTypeToInt()
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.