71 #ifndef vtkDataObjectToDataSetFilter_h 72 #define vtkDataObjectToDataSetFilter_h 74 #include "vtkFiltersCoreModule.h" 103 void SetDataSetType(
int);
104 vtkGetMacro(DataSetType,
int);
147 void SetPointComponent(
int comp,
const char *arrayName,
int arrayComp,
148 int min,
int max,
int normalize);
150 {this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);};
151 const char *GetPointComponentArrayName(
int comp);
152 int GetPointComponentArrayComponent(
int comp);
153 int GetPointComponentMinRange(
int comp);
154 int GetPointComponentMaxRange(
int comp);
155 int GetPointComponentNormailzeFlag(
int comp);
168 void SetVertsComponent(
const char *arrayName,
int arrayComp,
int min,
int max);
170 {this->SetVertsComponent(arrayName, arrayComp, -1, -1);};
171 const char *GetVertsComponentArrayName();
172 int GetVertsComponentArrayComponent();
173 int GetVertsComponentMinRange();
174 int GetVertsComponentMaxRange();
175 void SetLinesComponent(
const char *arrayName,
int arrayComp,
int min,
int max);
177 {this->SetLinesComponent(arrayName, arrayComp, -1, -1);};
178 const char *GetLinesComponentArrayName();
179 int GetLinesComponentArrayComponent();
180 int GetLinesComponentMinRange();
181 int GetLinesComponentMaxRange();
182 void SetPolysComponent(
const char *arrayName,
int arrayComp,
int min,
int max);
184 {this->SetPolysComponent(arrayName, arrayComp, -1, -1);};
185 const char *GetPolysComponentArrayName();
186 int GetPolysComponentArrayComponent();
187 int GetPolysComponentMinRange();
188 int GetPolysComponentMaxRange();
189 void SetStripsComponent(
const char *arrayName,
int arrayComp,
int min,
int max);
191 {this->SetStripsComponent(arrayName, arrayComp, -1, -1);};
192 const char *GetStripsComponentArrayName();
193 int GetStripsComponentArrayComponent();
194 int GetStripsComponentMinRange();
195 int GetStripsComponentMaxRange();
208 void SetCellTypeComponent(
const char *arrayName,
int arrayComp,
211 {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,
219 {this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);};
220 const char *GetCellConnectivityComponentArrayName();
221 int GetCellConnectivityComponentArrayComponent();
222 int GetCellConnectivityComponentMinRange();
223 int GetCellConnectivityComponentMaxRange();
242 vtkSetVector3Macro(Dimensions,
int);
243 vtkGetVectorMacro(Dimensions,
int,3);
251 vtkSetVector3Macro(Origin,
double);
252 vtkGetVectorMacro(Origin,
double,3);
260 vtkSetVector3Macro(Spacing,
double);
261 vtkGetVectorMacro(Spacing,
double,3);
271 void SetDimensionsComponent(
const char *arrayName,
int arrayComp,
int min,
int max);
273 {this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);};
274 void SetSpacingComponent(
const char *arrayName,
int arrayComp,
int min,
int max);
276 {this->SetSpacingComponent(arrayName, arrayComp, -1, -1);};
277 void SetOriginComponent(
const char *arrayName,
int arrayComp,
int min,
int max);
279 {this->SetOriginComponent(arrayName, arrayComp, -1, -1);};
299 char *PointArrays[3];
300 int PointArrayComponents[3];
302 int PointNormalize[3];
331 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.