56 #ifndef vtkDataObjectToDataSetFilter_h
57 #define vtkDataObjectToDataSetFilter_h
60 #include "vtkFiltersCoreModule.h"
63 VTK_ABI_NAMESPACE_BEGIN
91 void SetDataSetType(
int);
130 void SetPointComponent(
131 int comp,
const char* arrayName,
int arrayComp,
int min,
int max,
int normalize);
134 this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);
136 const char* GetPointComponentArrayName(
int comp);
137 int GetPointComponentArrayComponent(
int comp);
138 int GetPointComponentMinRange(
int comp);
139 int GetPointComponentMaxRange(
int comp);
140 int GetPointComponentNormailzeFlag(
int comp);
153 void SetVertsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
156 this->SetVertsComponent(arrayName, arrayComp, -1, -1);
158 const char* GetVertsComponentArrayName();
159 int GetVertsComponentArrayComponent();
160 int GetVertsComponentMinRange();
161 int GetVertsComponentMaxRange();
162 void SetLinesComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
165 this->SetLinesComponent(arrayName, arrayComp, -1, -1);
167 const char* GetLinesComponentArrayName();
168 int GetLinesComponentArrayComponent();
169 int GetLinesComponentMinRange();
170 int GetLinesComponentMaxRange();
171 void SetPolysComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
174 this->SetPolysComponent(arrayName, arrayComp, -1, -1);
176 const char* GetPolysComponentArrayName();
177 int GetPolysComponentArrayComponent();
178 int GetPolysComponentMinRange();
179 int GetPolysComponentMaxRange();
180 void SetStripsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
183 this->SetStripsComponent(arrayName, arrayComp, -1, -1);
185 const char* GetStripsComponentArrayName();
186 int GetStripsComponentArrayComponent();
187 int GetStripsComponentMinRange();
188 int GetStripsComponentMaxRange();
201 void SetCellTypeComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
204 this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);
206 const char* GetCellTypeComponentArrayName();
207 int GetCellTypeComponentArrayComponent();
208 int GetCellTypeComponentMinRange();
209 int GetCellTypeComponentMaxRange();
210 void SetCellConnectivityComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
213 this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);
215 const char* GetCellConnectivityComponentArrayName();
216 int GetCellConnectivityComponentArrayComponent();
217 int GetCellConnectivityComponentMinRange();
218 int GetCellConnectivityComponentMaxRange();
237 vtkSetVector3Macro(Dimensions,
int);
238 vtkGetVectorMacro(Dimensions,
int, 3);
246 vtkSetVector3Macro(Origin,
double);
247 vtkGetVectorMacro(Origin,
double, 3);
255 vtkSetVector3Macro(Spacing,
double);
256 vtkGetVectorMacro(Spacing,
double, 3);
266 void SetDimensionsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
269 this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);
271 void SetSpacingComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
274 this->SetSpacingComponent(arrayName, arrayComp, -1, -1);
276 void SetOriginComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
279 this->SetOriginComponent(arrayName, arrayComp, -1, -1);
300 char* PointArrays[3];
301 int PointArrayComponents[3];
303 int PointNormalize[3];
332 void SetArrayName(
char*&
name,
char* newName);
368 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
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
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.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkPolyData * GetPolyDataOutput()
Get the output as vtkPolyData.