65 #ifndef vtkDataObjectToDataSetFilter_h 66 #define vtkDataObjectToDataSetFilter_h 69 #include "vtkFiltersCoreModule.h" 97 void SetDataSetType(
int);
136 void SetPointComponent(
137 int comp,
const char* arrayName,
int arrayComp,
int min,
int max,
int normalize);
140 this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);
142 const char* GetPointComponentArrayName(
int comp);
143 int GetPointComponentArrayComponent(
int comp);
144 int GetPointComponentMinRange(
int comp);
145 int GetPointComponentMaxRange(
int comp);
146 int GetPointComponentNormailzeFlag(
int comp);
159 void SetVertsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
162 this->SetVertsComponent(arrayName, arrayComp, -1, -1);
164 const char* GetVertsComponentArrayName();
165 int GetVertsComponentArrayComponent();
166 int GetVertsComponentMinRange();
167 int GetVertsComponentMaxRange();
168 void SetLinesComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
171 this->SetLinesComponent(arrayName, arrayComp, -1, -1);
173 const char* GetLinesComponentArrayName();
174 int GetLinesComponentArrayComponent();
175 int GetLinesComponentMinRange();
176 int GetLinesComponentMaxRange();
177 void SetPolysComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
180 this->SetPolysComponent(arrayName, arrayComp, -1, -1);
182 const char* GetPolysComponentArrayName();
183 int GetPolysComponentArrayComponent();
184 int GetPolysComponentMinRange();
185 int GetPolysComponentMaxRange();
186 void SetStripsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
189 this->SetStripsComponent(arrayName, arrayComp, -1, -1);
191 const char* GetStripsComponentArrayName();
192 int GetStripsComponentArrayComponent();
193 int GetStripsComponentMinRange();
194 int GetStripsComponentMaxRange();
207 void SetCellTypeComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
210 this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);
212 const char* GetCellTypeComponentArrayName();
213 int GetCellTypeComponentArrayComponent();
214 int GetCellTypeComponentMinRange();
215 int GetCellTypeComponentMaxRange();
216 void SetCellConnectivityComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
219 this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);
221 const char* GetCellConnectivityComponentArrayName();
222 int GetCellConnectivityComponentArrayComponent();
223 int GetCellConnectivityComponentMinRange();
224 int GetCellConnectivityComponentMaxRange();
243 vtkSetVector3Macro(Dimensions,
int);
244 vtkGetVectorMacro(Dimensions,
int, 3);
252 vtkSetVector3Macro(Origin,
double);
253 vtkGetVectorMacro(Origin,
double, 3);
261 vtkSetVector3Macro(Spacing,
double);
262 vtkGetVectorMacro(Spacing,
double, 3);
272 void SetDimensionsComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
275 this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);
277 void SetSpacingComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
280 this->SetSpacingComponent(arrayName, arrayComp, -1, -1);
282 void SetOriginComponent(
const char* arrayName,
int arrayComp,
int min,
int max);
285 this->SetOriginComponent(arrayName, arrayComp, -1, -1);
306 char* PointArrays[3];
307 int PointArrayComponents[3];
309 int PointNormalize[3];
338 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
abstract class for specifying dataset behavior
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 to when a request asks the algorithm to create empty output data...
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.