56 #ifndef vtkDataObjectToDataSetFilter_h
57 #define vtkDataObjectToDataSetFilter_h
60 #include "vtkFiltersCoreModule.h"
62 VTK_ABI_NAMESPACE_BEGIN
89 void SetDataSetType(
int);
128 void SetPointComponent(
129 int comp,
const char* arrayName,
int arrayComp,
int min,
int max,
int normalize);
132 this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);
134 const char* GetPointComponentArrayName(
int comp);
135 int GetPointComponentArrayComponent(
int comp);
136 int GetPointComponentMinRange(
int comp);
137 int GetPointComponentMaxRange(
int comp);
138 int GetPointComponentNormailzeFlag(
int comp);
151 void SetVertsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
154 this->SetVertsComponent(arrayName, arrayComp, -1, -1);
156 const char* GetVertsComponentArrayName();
157 int GetVertsComponentArrayComponent();
158 int GetVertsComponentMinRange();
159 int GetVertsComponentMaxRange();
160 void SetLinesComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
163 this->SetLinesComponent(arrayName, arrayComp, -1, -1);
165 const char* GetLinesComponentArrayName();
166 int GetLinesComponentArrayComponent();
167 int GetLinesComponentMinRange();
168 int GetLinesComponentMaxRange();
169 void SetPolysComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
172 this->SetPolysComponent(arrayName, arrayComp, -1, -1);
174 const char* GetPolysComponentArrayName();
175 int GetPolysComponentArrayComponent();
176 int GetPolysComponentMinRange();
177 int GetPolysComponentMaxRange();
178 void SetStripsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
181 this->SetStripsComponent(arrayName, arrayComp, -1, -1);
183 const char* GetStripsComponentArrayName();
184 int GetStripsComponentArrayComponent();
185 int GetStripsComponentMinRange();
186 int GetStripsComponentMaxRange();
199 void SetCellTypeComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
202 this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);
204 const char* GetCellTypeComponentArrayName();
205 int GetCellTypeComponentArrayComponent();
206 int GetCellTypeComponentMinRange();
207 int GetCellTypeComponentMaxRange();
208 void SetCellConnectivityComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
211 this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);
213 const char* GetCellConnectivityComponentArrayName();
214 int GetCellConnectivityComponentArrayComponent();
215 int GetCellConnectivityComponentMinRange();
216 int GetCellConnectivityComponentMaxRange();
235 vtkSetVector3Macro(Dimensions,
int);
236 vtkGetVectorMacro(Dimensions,
int, 3);
244 vtkSetVector3Macro(Origin,
double);
245 vtkGetVectorMacro(Origin,
double, 3);
253 vtkSetVector3Macro(Spacing,
double);
254 vtkGetVectorMacro(Spacing,
double, 3);
264 void SetDimensionsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
267 this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);
269 void SetSpacingComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
272 this->SetSpacingComponent(arrayName, arrayComp, -1, -1);
274 void SetOriginComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
277 this->SetOriginComponent(arrayName, arrayComp, -1, -1);
298 char* PointArrays[3];
299 int PointArrayComponents[3];
301 int PointNormalize[3];
330 void SetArrayName(
char*&
name,
char* newName);
366 VTK_ABI_NAMESPACE_END
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.