Public Methods |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInput (vtkDataObject *input) |
vtkDataObject * | GetInput () |
void | SetDataSetType (int) |
virtual int | GetDataSetType () |
void | SetDataSetTypeToPolyData () |
void | SetDataSetTypeToStructuredPoints () |
void | SetDataSetTypeToStructuredGrid () |
void | SetDataSetTypeToRectilinearGrid () |
void | SetDataSetTypeToUnstructuredGrid () |
vtkDataSet * | GetOutput () |
vtkDataSet * | GetOutput (int idx) |
vtkPolyData * | GetPolyDataOutput () |
vtkStructuredPoints * | GetStructuredPointsOutput () |
vtkStructuredGrid * | GetStructuredGridOutput () |
vtkUnstructuredGrid * | GetUnstructuredGridOutput () |
vtkRectilinearGrid * | GetRectilinearGridOutput () |
void | SetPointComponent (int comp, char *arrayName, int arrayComp, int min, int max, int normalize) |
void | SetPointComponent (int comp, char *arrayName, int arrayComp) |
const char * | GetPointComponentArrayName (int comp) |
int | GetPointComponentArrayComponent (int comp) |
int | GetPointComponentMinRange (int comp) |
int | GetPointComponentMaxRange (int comp) |
int | GetPointComponentNormailzeFlag (int comp) |
void | SetVertsComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetVertsComponent (char *arrayName, int arrayComp) |
const char * | GetVertsComponentArrayName () |
int | GetVertsComponentArrayComponent () |
int | GetVertsComponentMinRange () |
int | GetVertsComponentMaxRange () |
void | SetLinesComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetLinesComponent (char *arrayName, int arrayComp) |
const char * | GetLinesComponentArrayName () |
int | GetLinesComponentArrayComponent () |
int | GetLinesComponentMinRange () |
int | GetLinesComponentMaxRange () |
void | SetPolysComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetPolysComponent (char *arrayName, int arrayComp) |
const char * | GetPolysComponentArrayName () |
int | GetPolysComponentArrayComponent () |
int | GetPolysComponentMinRange () |
int | GetPolysComponentMaxRange () |
void | SetStripsComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetStripsComponent (char *arrayName, int arrayComp) |
const char * | GetStripsComponentArrayName () |
int | GetStripsComponentArrayComponent () |
int | GetStripsComponentMinRange () |
int | GetStripsComponentMaxRange () |
void | SetCellTypeComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetCellTypeComponent (char *arrayName, int arrayComp) |
const char * | GetCellTypeComponentArrayName () |
int | GetCellTypeComponentArrayComponent () |
int | GetCellTypeComponentMinRange () |
int | GetCellTypeComponentMaxRange () |
void | SetCellConnectivityComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetCellConnectivityComponent (char *arrayName, int arrayComp) |
const char * | GetCellConnectivityComponentArrayName () |
int | GetCellConnectivityComponentArrayComponent () |
int | GetCellConnectivityComponentMinRange () |
int | GetCellConnectivityComponentMaxRange () |
virtual void | SetDefaultNormalize (int) |
virtual int | GetDefaultNormalize () |
virtual void | DefaultNormalizeOn () |
virtual void | DefaultNormalizeOff () |
virtual void | SetDimensions (int, int, int) |
virtual void | SetDimensions (int[3]) |
virtual int * | GetDimensions () |
virtual void | GetDimensions (int data[3]) |
virtual void | SetOrigin (float, float, float) |
virtual void | SetOrigin (float[3]) |
virtual float * | GetOrigin () |
virtual void | GetOrigin (float data[3]) |
virtual void | SetSpacing (float, float, float) |
virtual void | SetSpacing (float[3]) |
virtual float * | GetSpacing () |
virtual void | GetSpacing (float data[3]) |
void | SetDimensionsComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetDimensionsComponent (char *arrayName, int arrayComp) |
void | SetSpacingComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetSpacingComponent (char *arrayName, int arrayComp) |
void | SetOriginComponent (char *arrayName, int arrayComp, int min, int max) |
void | SetOriginComponent (char *arrayName, int arrayComp) |
Static Public Methods |
vtkDataObjectToDataSetFilter * | New () |
int | IsTypeOf (const char *type) |
vtkDataObjectToDataSetFilter * | SafeDownCast (vtkObject *o) |
Protected Methods |
| vtkDataObjectToDataSetFilter () |
| ~vtkDataObjectToDataSetFilter () |
| vtkDataObjectToDataSetFilter (const vtkDataObjectToDataSetFilter &) |
void | operator= (const vtkDataObjectToDataSetFilter &) |
void | Execute () |
void | ExecuteInformation () |
void | ComputeInputUpdateExtents (vtkDataObject *output) |
void | SetArrayName (char *&name, char *newName) |
int | ConstructPoints (vtkPointSet *ps) |
int | ConstructPoints (vtkRectilinearGrid *rg) |
int | ConstructCells (vtkPolyData *pd) |
int | ConstructCells (vtkUnstructuredGrid *ug) |
vtkCellArray * | ConstructCellArray (vtkDataArray *da, int comp, int compRange[2]) |
void | ConstructDimensions () |
void | ConstructSpacing () |
void | ConstructOrigin () |
Protected Attributes |
char | Updating |
int | DataSetType |
char * | PointArrays [3] |
int | PointArrayComponents [3] |
int | PointComponentRange [3][2] |
int | PointNormalize [3] |
char * | VertsArray |
int | VertsArrayComponent |
int | VertsComponentRange [2] |
char * | LinesArray |
int | LinesArrayComponent |
int | LinesComponentRange [2] |
char * | PolysArray |
int | PolysArrayComponent |
int | PolysComponentRange [2] |
char * | StripsArray |
int | StripsArrayComponent |
int | StripsComponentRange [2] |
char * | CellTypeArray |
int | CellTypeArrayComponent |
int | CellTypeComponentRange [2] |
char * | CellConnectivityArray |
int | CellConnectivityArrayComponent |
int | CellConnectivityComponentRange [2] |
int | DefaultNormalize |
int | Dimensions [3] |
float | Origin [3] |
float | Spacing [3] |
char * | DimensionsArray |
int | DimensionsArrayComponent |
int | DimensionsComponentRange [2] |
char * | OriginArray |
int | OriginArrayComponent |
int | OriginComponentRange [2] |
char * | SpacingArray |
int | SpacingArrayComponent |
int | SpacingComponentRange [2] |
vtkDataObjectToDataSetFilter is an class that maps a data object (i.e., a field) into a concrete dataset, i.e., gives structure to the field by defining a geometry and topology.
To use this filter you associate components in the input field data with portions of the output dataset. (A component is an array of values from the field.) For example, you would specify x-y-z points by assigning components from the field for the x, then y, then z values of the points. You may also have to specify component ranges (for each z-y-z) to make sure that the number of x, y, and z values is the same. Also, you may want to normalize the components which helps distribute the data uniformly. Once you've setup the filter to combine all the pieces of data into a specified dataset (the geometry, topology, point and cell data attributes), the various output methods (e.g., GetPolyData()) are used to retrieve the final product.