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];
object to represent cell connectivity
abstract superclass for arrays of numeric data
map field data to concrete dataset
void SetCellTypeComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell types and cell connectivity when creating unstructured grid data.
int GetPointComponentMaxRange(int comp)
void SetLinesComponent(const char *arrayName, int arrayComp)
static vtkDataObjectToDataSetFilter * New()
void SetStripsComponent(const char *arrayName, int arrayComp)
void SetArrayName(char *&name, char *newName)
void SetCellConnectivityComponent(const char *arrayName, int arrayComp)
vtkRectilinearGrid * GetRectilinearGridOutput()
int GetCellConnectivityComponentMinRange()
const char * GetPointComponentArrayName(int comp)
vtkDataObjectToDataSetFilter()
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.
int GetLinesComponentArrayComponent()
int GetPointComponentNormailzeFlag(int comp)
int GetCellConnectivityComponentMaxRange()
void SetOriginComponent(const char *arrayName, int arrayComp, int min, int max)
char * CellConnectivityArray
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetDataSetTypeToRectilinearGrid()
int GetStripsComponentMinRange()
int GetStripsComponentArrayComponent()
const char * GetStripsComponentArrayName()
int GetPointComponentArrayComponent(int comp)
int ConstructCells(vtkDataObject *input, vtkPolyData *pd)
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest to when a request asks the algorithm to create empty output data...
void SetSpacingComponent(const char *arrayName, int arrayComp)
int SpacingArrayComponent
void SetStripsComponent(const char *arrayName, int arrayComp, int min, int max)
int CellTypeArrayComponent
int GetStripsComponentMaxRange()
int GetLinesComponentMinRange()
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 ...
const char * GetCellTypeComponentArrayName()
void SetSpacingComponent(const char *arrayName, int arrayComp, int min, int max)
void SetDataSetTypeToUnstructuredGrid()
void SetDataSetTypeToStructuredGrid()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
~vtkDataObjectToDataSetFilter() override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
void SetDataSetTypeToStructuredPoints()
void SetPointComponent(int comp, const char *arrayName, int arrayComp)
int GetPolysComponentArrayComponent()
vtkStructuredPoints * GetStructuredPointsOutput()
vtkDataSet * GetOutput(int idx)
vtkIdType ConstructPoints(vtkDataObject *input, vtkPointSet *ps)
vtkUnstructuredGrid * GetUnstructuredGridOutput()
vtkDataSet * GetOutput()
Get the output in different forms.
const char * GetVertsComponentArrayName()
void SetCellConnectivityComponent(const char *arrayName, int arrayComp, int min, int max)
void SetCellTypeComponent(const char *arrayName, int arrayComp)
int GetPointComponentMinRange(int comp)
const char * GetLinesComponentArrayName()
void ConstructOrigin(vtkDataObject *input)
void ConstructSpacing(vtkDataObject *input)
int GetCellTypeComponentArrayComponent()
int GetVertsComponentMinRange()
int GetCellTypeComponentMinRange()
vtkCellArray * ConstructCellArray(vtkDataArray *da, int comp, vtkIdType compRange[2])
void SetLinesComponent(const char *arrayName, int arrayComp, int min, int max)
int GetPolysComponentMaxRange()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetDataSetTypeToPolyData()
void SetVertsComponent(const char *arrayName, int arrayComp)
vtkDataObject * GetInput()
Get the input to the filter.
int ConstructCells(vtkDataObject *input, vtkUnstructuredGrid *ug)
const char * GetPolysComponentArrayName()
int GetLinesComponentMaxRange()
void SetPolysComponent(const char *arrayName, int arrayComp, int min, int max)
int GetPolysComponentMinRange()
void SetPolysComponent(const char *arrayName, int arrayComp)
vtkPolyData * GetPolyDataOutput()
void ConstructDimensions(vtkDataObject *input)
int DimensionsArrayComponent
int GetCellTypeComponentMaxRange()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType ConstructPoints(vtkDataObject *input, vtkRectilinearGrid *rg)
int CellConnectivityArrayComponent
void SetOriginComponent(const char *arrayName, int arrayComp)
void SetVertsComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
void SetDataSetType(int)
Control what type of data is generated for output.
int GetVertsComponentMaxRange()
int GetVertsComponentArrayComponent()
void SetDimensionsComponent(const char *arrayName, int arrayComp)
const char * GetCellConnectivityComponentArrayName()
int GetCellConnectivityComponentArrayComponent()
vtkTypeBool DefaultNormalize
vtkStructuredGrid * GetStructuredGridOutput()
general representation of visualization data
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
a simple class to control print indentation
abstract class for specifying dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
a dataset that is topologically regular with variable spacing in the three coordinate directions
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types
#define VTK_RECTILINEAR_GRID
#define VTK_UNSTRUCTURED_GRID
#define VTK_STRUCTURED_GRID
#define VTK_STRUCTURED_POINTS