 |
VTK
9.1.0
|
Go to the documentation of this file.
84 #ifndef vtkDataObjectToDataSetFilter_h
85 #define vtkDataObjectToDataSetFilter_h
88 #include "vtkFiltersCoreModule.h"
156 int comp,
const char* arrayName,
int arrayComp,
int min,
int max,
int normalize);
159 this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);
181 this->SetVertsComponent(arrayName, arrayComp, -1, -1);
190 this->SetLinesComponent(arrayName, arrayComp, -1, -1);
199 this->SetPolysComponent(arrayName, arrayComp, -1, -1);
208 this->SetStripsComponent(arrayName, arrayComp, -1, -1);
229 this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);
238 this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);
262 vtkSetVector3Macro(Dimensions,
int);
263 vtkGetVectorMacro(Dimensions,
int, 3);
271 vtkSetVector3Macro(Origin,
double);
272 vtkGetVectorMacro(Origin,
double, 3);
280 vtkSetVector3Macro(Spacing,
double);
281 vtkGetVectorMacro(Spacing,
double, 3);
294 this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);
299 this->SetSpacingComponent(arrayName, arrayComp, -1, -1);
304 this->SetOriginComponent(arrayName, arrayComp, -1, -1);
325 char* PointArrays[3];
326 int PointArrayComponents[3];
328 int PointNormalize[3];
int GetPointComponentMinRange(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
map field data to concrete dataset
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
const char * GetPointComponentArrayName(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
const char * GetCellTypeComponentArrayName()
Define cell types and cell connectivity when creating unstructured grid data.
void SetDimensionsComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
vtkPolyData * GetPolyDataOutput()
Get the output in different forms.
const char * GetCellConnectivityComponentArrayName()
Define cell types and cell connectivity when creating unstructured grid data.
void ConstructDimensions(vtkDataObject *input)
int GetVertsComponentMinRange()
Define cell connectivity when creating vtkPolyData.
~vtkDataObjectToDataSetFilter() override
void SetCellTypeComponent(const char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
vtkTypeBool DefaultNormalize
void SetCellConnectivityComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell types and cell connectivity when creating unstructured grid data.
void SetCellConnectivityComponent(const char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
int GetCellConnectivityComponentMinRange()
Define cell types and cell connectivity when creating unstructured grid data.
vtkIdType ConstructPoints(vtkDataObject *input, vtkPointSet *ps)
int GetStripsComponentMinRange()
Define cell connectivity when creating vtkPolyData.
a dataset that is topologically regular with variable spacing in the three coordinate directions
int GetLinesComponentMinRange()
Define cell connectivity when creating vtkPolyData.
vtkRectilinearGrid * GetRectilinearGridOutput()
Get the output in different forms.
int GetLinesComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
void SetDataSetTypeToRectilinearGrid()
Control what type of data is generated for output.
topologically regular array of data
int GetStripsComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
void SetLinesComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
void SetArrayName(char *&name, char *newName)
int GetStripsComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetVertsComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
abstract superclass for arrays of numeric data
const char * GetStripsComponentArrayName()
Define cell connectivity when creating vtkPolyData.
void SetOriginComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
#define VTK_STRUCTURED_POINTS
vtkDataObjectToDataSetFilter()
void SetSpacingComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
int GetCellConnectivityComponentMaxRange()
Define cell types and cell connectivity when creating unstructured grid data.
Superclass for algorithms that produce output of the same type as input.
void SetVertsComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
int ConstructCells(vtkDataObject *input, vtkUnstructuredGrid *ug)
vtkStructuredGrid * GetStructuredGridOutput()
Get the output in different forms.
int SpacingArrayComponent
int GetPointComponentNormailzeFlag(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
void SetDataSetTypeToStructuredGrid()
Control what type of data is generated for output.
void SetSpacingComponent(const char *arrayName, int arrayComp, int min, int max)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output in different forms.
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.
void SetDimensionsComponent(const char *arrayName, int arrayComp, int min, int max)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
vtkStructuredPoints * GetStructuredPointsOutput()
Get the output in different forms.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int CellTypeArrayComponent
void SetVertsComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
int GetLinesComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
vtkCellArray * ConstructCellArray(vtkDataArray *da, int comp, vtkIdType compRange[2])
vtkDataSet * GetOutput(int idx)
Get the output in different forms.
void SetCellTypeComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell types and cell connectivity when creating unstructured grid data.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to create empty output data ob...
int GetCellTypeComponentArrayComponent()
Define cell types and cell connectivity when creating unstructured grid data.
a simple class to control print indentation
void SetOriginComponent(const char *arrayName, int arrayComp, int min, int max)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
object to represent cell connectivity
int GetPolysComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
void SetPointComponent(int comp, const char *arrayName, int arrayComp, int min, int max, int normalize)
Define the component of the field to be used for the x, y, and z values of the points.
static vtkDataObjectToDataSetFilter * New()
int ConstructCells(vtkDataObject *input, vtkPolyData *pd)
vtkDataObject * GetInput()
Get the input to the filter.
const char * GetLinesComponentArrayName()
Define cell connectivity when creating vtkPolyData.
void SetLinesComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
int GetPolysComponentMinRange()
Define cell connectivity when creating vtkPolyData.
char * CellConnectivityArray
void SetDataSetTypeToUnstructuredGrid()
Control what type of data is generated for output.
abstract class to specify dataset behavior
int GetCellTypeComponentMinRange()
Define cell types and cell connectivity when creating unstructured grid data.
int GetVertsComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
int GetCellTypeComponentMaxRange()
Define cell types and cell connectivity when creating unstructured grid data.
void SetDataSetType(int)
Control what type of data is generated for output.
int GetCellConnectivityComponentArrayComponent()
Define cell types and cell connectivity when creating unstructured grid data.
void SetDataSetTypeToPolyData()
Control what type of data is generated for output.
int GetPointComponentArrayComponent(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
vtkDataSet * GetOutput()
Get the output in different forms.
vtkIdType ConstructPoints(vtkDataObject *input, vtkRectilinearGrid *rg)
const char * GetPolysComponentArrayName()
Define cell connectivity when creating vtkPolyData.
concrete class for storing a set of points
concrete dataset represents vertices, lines, polygons, and triangle strips
const char * GetVertsComponentArrayName()
Define cell connectivity when creating vtkPolyData.
void SetStripsComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
int GetPolysComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
void SetStripsComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
dataset represents arbitrary combinations of all possible cell types
int CellConnectivityArrayComponent
int GetPointComponentMaxRange(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
void ConstructSpacing(vtkDataObject *input)
void SetDataSetTypeToStructuredPoints()
Control what type of data is generated for output.
void ConstructOrigin(vtkDataObject *input)
#define VTK_UNSTRUCTURED_GRID
general representation of visualization data
void SetPolysComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
void SetPolysComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
#define VTK_RECTILINEAR_GRID
int DimensionsArrayComponent
#define VTK_STRUCTURED_GRID
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...