 |
VTK
9.0.1
|
Go to the documentation of this file.
65 #ifndef vtkDataObjectToDataSetFilter_h
66 #define vtkDataObjectToDataSetFilter_h
69 #include "vtkFiltersCoreModule.h"
137 int comp,
const char* arrayName,
int arrayComp,
int min,
int max,
int normalize);
140 this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);
162 this->SetVertsComponent(arrayName, arrayComp, -1, -1);
171 this->SetLinesComponent(arrayName, arrayComp, -1, -1);
180 this->SetPolysComponent(arrayName, arrayComp, -1, -1);
189 this->SetStripsComponent(arrayName, arrayComp, -1, -1);
210 this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);
219 this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);
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);
275 this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);
280 this->SetSpacingComponent(arrayName, arrayComp, -1, -1);
285 this->SetOriginComponent(arrayName, arrayComp, -1, -1);
306 char* PointArrays[3];
307 int PointArrayComponents[3];
309 int PointNormalize[3];
int GetPointComponentMinRange(int comp)
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)
const char * GetCellTypeComponentArrayName()
void SetDimensionsComponent(const char *arrayName, int arrayComp)
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
vtkPolyData * GetPolyDataOutput()
const char * GetCellConnectivityComponentArrayName()
void ConstructDimensions(vtkDataObject *input)
int GetVertsComponentMinRange()
~vtkDataObjectToDataSetFilter() override
void SetCellTypeComponent(const char *arrayName, int arrayComp)
vtkTypeBool DefaultNormalize
void SetCellConnectivityComponent(const char *arrayName, int arrayComp, int min, int max)
void SetCellConnectivityComponent(const char *arrayName, int arrayComp)
int GetCellConnectivityComponentMinRange()
vtkIdType ConstructPoints(vtkDataObject *input, vtkPointSet *ps)
int GetStripsComponentMinRange()
a dataset that is topologically regular with variable spacing in the three coordinate directions
int GetLinesComponentMinRange()
vtkRectilinearGrid * GetRectilinearGridOutput()
int GetLinesComponentArrayComponent()
void SetDataSetTypeToRectilinearGrid()
topologically regular array of data
int GetStripsComponentArrayComponent()
void SetLinesComponent(const char *arrayName, int arrayComp, int min, int max)
void SetArrayName(char *&name, char *newName)
int GetStripsComponentMaxRange()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetVertsComponentMaxRange()
abstract superclass for arrays of numeric data
const char * GetStripsComponentArrayName()
void SetOriginComponent(const char *arrayName, int arrayComp)
#define VTK_STRUCTURED_POINTS
vtkDataObjectToDataSetFilter()
void SetSpacingComponent(const char *arrayName, int arrayComp)
int GetCellConnectivityComponentMaxRange()
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()
int SpacingArrayComponent
int GetPointComponentNormailzeFlag(int comp)
void SetDataSetTypeToStructuredGrid()
void SetSpacingComponent(const char *arrayName, int arrayComp, int min, int max)
vtkUnstructuredGrid * GetUnstructuredGridOutput()
void SetPointComponent(int comp, const char *arrayName, int arrayComp)
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()
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)
int GetLinesComponentMaxRange()
vtkCellArray * ConstructCellArray(vtkDataArray *da, int comp, vtkIdType compRange[2])
vtkDataSet * GetOutput(int idx)
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 to when a request asks the algorithm to create empty output data...
int GetCellTypeComponentArrayComponent()
a simple class to control print indentation
void SetOriginComponent(const char *arrayName, int arrayComp, int min, int max)
object to represent cell connectivity
int GetPolysComponentArrayComponent()
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()
void SetLinesComponent(const char *arrayName, int arrayComp)
int GetPolysComponentMinRange()
char * CellConnectivityArray
void SetDataSetTypeToUnstructuredGrid()
abstract class to specify dataset behavior
int GetCellTypeComponentMinRange()
int GetVertsComponentArrayComponent()
int GetCellTypeComponentMaxRange()
void SetDataSetType(int)
Control what type of data is generated for output.
int GetCellConnectivityComponentArrayComponent()
void SetDataSetTypeToPolyData()
int GetPointComponentArrayComponent(int comp)
vtkDataSet * GetOutput()
Get the output in different forms.
vtkIdType ConstructPoints(vtkDataObject *input, vtkRectilinearGrid *rg)
const char * GetPolysComponentArrayName()
abstract class for specifying dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
const char * GetVertsComponentArrayName()
void SetStripsComponent(const char *arrayName, int arrayComp)
int GetPolysComponentMaxRange()
void SetStripsComponent(const char *arrayName, int arrayComp, int min, int max)
dataset represents arbitrary combinations of all possible cell types
int CellConnectivityArrayComponent
int GetPointComponentMaxRange(int comp)
void ConstructSpacing(vtkDataObject *input)
void SetDataSetTypeToStructuredPoints()
void ConstructOrigin(vtkDataObject *input)
#define VTK_UNSTRUCTURED_GRID
general representation of visualization data
void SetPolysComponent(const char *arrayName, int arrayComp)
void SetPolysComponent(const char *arrayName, int arrayComp, int min, int max)
#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...