65 #ifndef vtkDataObjectToDataSetFilter_h 66 #define vtkDataObjectToDataSetFilter_h 68 #include "vtkFiltersCoreModule.h" 97 void SetDataSetType(
int);
98 vtkGetMacro(DataSetType,
int);
141 void SetPointComponent(
int comp,
char *arrayName,
int arrayComp,
142 int min,
int max,
int normalize);
144 {this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);};
145 const char *GetPointComponentArrayName(
int comp);
146 int GetPointComponentArrayComponent(
int comp);
147 int GetPointComponentMinRange(
int comp);
148 int GetPointComponentMaxRange(
int comp);
149 int GetPointComponentNormailzeFlag(
int comp);
162 void SetVertsComponent(
char *arrayName,
int arrayComp,
int min,
int max);
164 {this->SetVertsComponent(arrayName, arrayComp, -1, -1);};
165 const char *GetVertsComponentArrayName();
166 int GetVertsComponentArrayComponent();
167 int GetVertsComponentMinRange();
168 int GetVertsComponentMaxRange();
169 void SetLinesComponent(
char *arrayName,
int arrayComp,
int min,
int max);
171 {this->SetLinesComponent(arrayName, arrayComp, -1, -1);};
172 const char *GetLinesComponentArrayName();
173 int GetLinesComponentArrayComponent();
174 int GetLinesComponentMinRange();
175 int GetLinesComponentMaxRange();
176 void SetPolysComponent(
char *arrayName,
int arrayComp,
int min,
int max);
178 {this->SetPolysComponent(arrayName, arrayComp, -1, -1);};
179 const char *GetPolysComponentArrayName();
180 int GetPolysComponentArrayComponent();
181 int GetPolysComponentMinRange();
182 int GetPolysComponentMaxRange();
183 void SetStripsComponent(
char *arrayName,
int arrayComp,
int min,
int max);
185 {this->SetStripsComponent(arrayName, arrayComp, -1, -1);};
186 const char *GetStripsComponentArrayName();
187 int GetStripsComponentArrayComponent();
188 int GetStripsComponentMinRange();
189 int GetStripsComponentMaxRange();
202 void SetCellTypeComponent(
char *arrayName,
int arrayComp,
205 {this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);};
206 const char *GetCellTypeComponentArrayName();
207 int GetCellTypeComponentArrayComponent();
208 int GetCellTypeComponentMinRange();
209 int GetCellTypeComponentMaxRange();
210 void SetCellConnectivityComponent(
char *arrayName,
int arrayComp,
213 {this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);};
214 const char *GetCellConnectivityComponentArrayName();
215 int GetCellConnectivityComponentArrayComponent();
216 int GetCellConnectivityComponentMinRange();
217 int GetCellConnectivityComponentMaxRange();
236 vtkSetVector3Macro(Dimensions,
int);
237 vtkGetVectorMacro(Dimensions,
int,3);
245 vtkSetVector3Macro(Origin,
double);
246 vtkGetVectorMacro(Origin,
double,3);
254 vtkSetVector3Macro(Spacing,
double);
255 vtkGetVectorMacro(Spacing,
double,3);
265 void SetDimensionsComponent(
char *arrayName,
int arrayComp,
int min,
int max);
267 {this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);};
268 void SetSpacingComponent(
char *arrayName,
int arrayComp,
int min,
int max);
270 {this->SetSpacingComponent(arrayName, arrayComp, -1, -1);};
271 void SetOriginComponent(
char *arrayName,
int arrayComp,
int min,
int max);
273 {this->SetOriginComponent(arrayName, arrayComp, -1, -1);};
293 char *PointArrays[3];
294 int PointArrayComponents[3];
296 int PointNormalize[3];
325 void SetArrayName(
char* &
name,
char *newName);
vtkStructuredGrid * GetStructuredGridOutput()
Get the output as vtkStructuredGrid.
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
void SetVertsComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
char * CellConnectivityArray
#define VTK_RECTILINEAR_GRID
abstract class to specify dataset behavior
void SetCellConnectivityComponent(char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
vtkRectilinearGrid * GetRectilinearGridOutput()
Get the output as vtkRectilinearGrid.
void SetStripsComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as vtkUnstructuredGrid.
int DimensionsArrayComponent
abstract class for specifying dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_STRUCTURED_POINTS
void SetPointComponent(int comp, char *arrayName, int arrayComp)
Define the component of the field to be used for the x, y, and z values of the points.
void SetOriginComponent(char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
map field data to concrete dataset
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetDataSetTypeToStructuredGrid()
Control what type of data is generated for output.
void SetDataSetTypeToRectilinearGrid()
Control what type of data is generated for output.
a simple class to control print indentation
vtkDataSet * GetOutput()
Get the output data object for a port on this algorithm.
vtkDataObject * GetInput()
Get the input data object.
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetLinesComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
int CellTypeArrayComponent
void SetDataSetTypeToUnstructuredGrid()
Control what type of data is generated for output.
int SpacingArrayComponent
object to represent cell connectivity
int CellConnectivityArrayComponent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
vtkStructuredPoints * GetStructuredPointsOutput()
Get the output as vtkStructuredPoints.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks for Information.
topologically regular array of data
void SetCellTypeComponent(char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
void SetSpacingComponent(char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
void SetDataSetTypeToStructuredPoints()
Control what type of data is generated for output.
void SetDataSetTypeToPolyData()
Control what type of data is generated for output.
vtkTypeBool DefaultNormalize
void SetDimensionsComponent(char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
Superclass for algorithms that produce output of the same type as input.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called within ProcessRequest to when a request asks the algorithm to create empty output data...
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetPolysComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
#define VTK_STRUCTURED_GRID
#define VTK_UNSTRUCTURED_GRID
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkPolyData * GetPolyDataOutput()
Get the output as vtkPolyData.