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,
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(
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(
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(
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(
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(
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(
char *arrayName,
int arrayComp,
219 {this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);};
220 const char *GetCellConnectivityComponentArrayName();
221 int GetCellConnectivityComponentArrayComponent();
222 int GetCellConnectivityComponentMinRange();
223 int GetCellConnectivityComponentMaxRange();
232 vtkGetMacro(DefaultNormalize,
int);
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(
char *arrayName,
int arrayComp,
int min,
int max);
273 {this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);};
274 void SetSpacingComponent(
char *arrayName,
int arrayComp,
int min,
int max);
276 {this->SetSpacingComponent(arrayName, arrayComp, -1, -1);};
277 void SetOriginComponent(
char *arrayName,
int arrayComp,
int min,
int max);
279 {this->SetOriginComponent(arrayName, arrayComp, -1, -1);};
287 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
288 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
289 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
290 int RequestDataObject(vtkInformation *, vtkInformationVector **,
291 vtkInformationVector *) VTK_OVERRIDE;
299 char *PointArrays[3];
300 int PointArrayComponents[3];
302 int PointNormalize[3];
306 int VertsArrayComponent;
310 int LinesArrayComponent;
314 int PolysArrayComponent;
318 int StripsArrayComponent;
323 int CellTypeArrayComponent;
326 char *CellConnectivityArray;
327 int CellConnectivityArrayComponent;
331 void SetArrayName(
char* &
name,
char *newName);
340 int DefaultNormalize;
347 char *DimensionsArray;
348 int DimensionsArrayComponent;
352 int OriginArrayComponent;
356 int SpacingArrayComponent;
vtkStructuredGrid * GetStructuredGridOutput()
Get the output as vtkStructuredGrid.
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
void SetVertsComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
#define VTK_RECTILINEAR_GRID
abstract class to specify dataset behavior
void SetCellConnectivityComponent(char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
vtkRectilinearGrid * GetRectilinearGridOutput()
Get the output as vtkRectilinearGrid.
void SetStripsComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as vtkUnstructuredGrid.
abstract class for specifying dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_STRUCTURED_POINTS
void SetPointComponent(int comp, char *arrayName, int arrayComp)
Define the component of the field to be used for the x, y, and z values of the points.
void SetOriginComponent(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.
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
void SetLinesComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
void SetDataSetTypeToUnstructuredGrid()
Control what type of data is generated for output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
object to represent cell connectivity
vtkStructuredPoints * GetStructuredPointsOutput()
Get the output as vtkStructuredPoints.
topologically regular array of data
void SetCellTypeComponent(char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
void SetSpacingComponent(char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
void SetDataSetTypeToStructuredPoints()
Control what type of data is generated for output.
void SetDataSetTypeToPolyData()
Control what type of data is generated for output.
void SetDimensionsComponent(char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data
static vtkDataSetAlgorithm * New()
void SetPolysComponent(char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
#define VTK_STRUCTURED_GRID
#define VTK_UNSTRUCTURED_GRID
vtkPolyData * GetPolyDataOutput()
Get the output as vtkPolyData.