68 #ifndef vtkDataObjectToDataSetFilter_h
69 #define vtkDataObjectToDataSetFilter_h
72 #include "vtkFiltersCoreModule.h"
100 void SetDataSetType(
int);
139 void SetPointComponent(
140 int comp,
const char* arrayName,
int arrayComp,
int min,
int max,
int normalize);
143 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(
const char* arrayName,
int arrayComp,
int min,
int max);
165 this->SetVertsComponent(arrayName, arrayComp, -1, -1);
167 const char* GetVertsComponentArrayName();
168 int GetVertsComponentArrayComponent();
169 int GetVertsComponentMinRange();
170 int GetVertsComponentMaxRange();
171 void SetLinesComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
174 this->SetLinesComponent(arrayName, arrayComp, -1, -1);
176 const char* GetLinesComponentArrayName();
177 int GetLinesComponentArrayComponent();
178 int GetLinesComponentMinRange();
179 int GetLinesComponentMaxRange();
180 void SetPolysComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
183 this->SetPolysComponent(arrayName, arrayComp, -1, -1);
185 const char* GetPolysComponentArrayName();
186 int GetPolysComponentArrayComponent();
187 int GetPolysComponentMinRange();
188 int GetPolysComponentMaxRange();
189 void SetStripsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
192 this->SetStripsComponent(arrayName, arrayComp, -1, -1);
194 const char* GetStripsComponentArrayName();
195 int GetStripsComponentArrayComponent();
196 int GetStripsComponentMinRange();
197 int GetStripsComponentMaxRange();
210 void SetCellTypeComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
213 this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);
215 const char* GetCellTypeComponentArrayName();
216 int GetCellTypeComponentArrayComponent();
217 int GetCellTypeComponentMinRange();
218 int GetCellTypeComponentMaxRange();
219 void SetCellConnectivityComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
222 this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);
224 const char* GetCellConnectivityComponentArrayName();
225 int GetCellConnectivityComponentArrayComponent();
226 int GetCellConnectivityComponentMinRange();
227 int GetCellConnectivityComponentMaxRange();
246 vtkSetVector3Macro(Dimensions,
int);
247 vtkGetVectorMacro(Dimensions,
int, 3);
255 vtkSetVector3Macro(Origin,
double);
256 vtkGetVectorMacro(Origin,
double, 3);
264 vtkSetVector3Macro(Spacing,
double);
265 vtkGetVectorMacro(Spacing,
double, 3);
275 void SetDimensionsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
278 this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);
280 void SetSpacingComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
283 this->SetSpacingComponent(arrayName, arrayComp, -1, -1);
285 void SetOriginComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
288 this->SetOriginComponent(arrayName, arrayComp, -1, -1);
309 char* PointArrays[3];
310 int PointArrayComponents[3];
312 int PointNormalize[3];
341 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 ...
char * CellConnectivityArray
#define VTK_RECTILINEAR_GRID
abstract class to specify dataset behavior
void SetCellConnectivityComponent(const char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
vtkRectilinearGrid * GetRectilinearGridOutput()
Get the output as vtkRectilinearGrid.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as vtkUnstructuredGrid.
int DimensionsArrayComponent
concrete class for storing a set of points
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_STRUCTURED_POINTS
void SetStripsComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
void SetDimensionsComponent(const 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.
void SetSpacingComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
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.
int CellTypeArrayComponent
void SetDataSetTypeToUnstructuredGrid()
Control what type of data is generated for output.
void SetVertsComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
int SpacingArrayComponent
void SetPointComponent(int comp, const char *arrayName, int arrayComp)
Define the component of the field to be used for the x, y, and z values of the points.
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 SetDataSetTypeToStructuredPoints()
Control what type of data is generated for output.
void SetPolysComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
void SetDataSetTypeToPolyData()
Control what type of data is generated for output.
vtkTypeBool DefaultNormalize
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 when a request asks the algorithm to create empty output data ob...
void SetOriginComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetCellTypeComponent(const char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
void SetLinesComponent(const 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.