vtkDataSetToDataObjectFilter Class Reference

#include <vtkDataSetToDataObjectFilter.h>

Inheritance diagram for vtkDataSetToDataObjectFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetToDataObjectFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

map dataset into data object (i.e., a field)

vtkDataSetToDataObjectFilter is an class that transforms a dataset into data object (i.e., a field). The field will have labeled data arrays corresponding to the topology, geometry, field data, and point and cell attribute data.

You can control what portions of the dataset are converted into the output data object's field data. The instance variables Geometry, Topology, FieldData, PointData, and CellData are flags that control whether the dataset's geometry (e.g., points, spacing, origin); topology (e.g., cell connectivity, dimensions); the field data associated with the dataset's superclass data object; the dataset's point data attributes; and the dataset's cell data attributes. (Note: the data attributes include scalars, vectors, tensors, normals, texture coordinates, and field data.)

The names used to create the field data are as follows. For vtkPolyData, "Points", "Verts", "Lines", "Polys", and "Strips". For vtkUnstructuredGrid, "Cells" and "CellTypes". For vtkStructuredPoints, "Dimensions", "Spacing", and "Origin". For vtkStructuredGrid, "Points" and "Dimensions". For vtkRectilinearGrid, "XCoordinates", "YCoordinates", and "ZCoordinates". for point attribute data, "PointScalars", "PointVectors", etc. For cell attribute data, "CellScalars", "CellVectors", etc. Field data arrays retain their original name.

See also:
vtkDataObject vtkFieldData vtkDataObjectToDataSetFilter
Tests:
vtkDataSetToDataObjectFilter (Tests)

Definition at line 56 of file vtkDataSetToDataObjectFilter.h.


Public Types

typedef vtkDataObjectAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetGeometry (int)
virtual int GetGeometry ()
virtual void GeometryOn ()
virtual void GeometryOff ()
virtual void SetTopology (int)
virtual int GetTopology ()
virtual void TopologyOn ()
virtual void TopologyOff ()
virtual void SetFieldData (int)
virtual int GetFieldData ()
virtual void FieldDataOn ()
virtual void FieldDataOff ()
virtual void SetPointData (int)
virtual int GetPointData ()
virtual void PointDataOn ()
virtual void PointDataOff ()
virtual void SetCellData (int)
virtual int GetCellData ()
virtual void CellDataOn ()
virtual void CellDataOff ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkDataSetToDataObjectFilter
SafeDownCast (vtkObject *o)
static
vtkDataSetToDataObjectFilter
New ()

Protected Member Functions

 vtkDataSetToDataObjectFilter ()
 ~vtkDataSetToDataObjectFilter ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int, vtkInformation *)

Protected Attributes

int Geometry
int Topology
int PointData
int CellData
int FieldData

Member Typedef Documentation

Reimplemented from vtkDataObjectAlgorithm.

Definition at line 59 of file vtkDataSetToDataObjectFilter.h.


Constructor & Destructor Documentation

vtkDataSetToDataObjectFilter::vtkDataSetToDataObjectFilter (  )  [protected]

vtkDataSetToDataObjectFilter::~vtkDataSetToDataObjectFilter (  )  [protected]


Member Function Documentation

virtual const char* vtkDataSetToDataObjectFilter::GetClassName (  )  [virtual]

Reimplemented from vtkDataObjectAlgorithm.

static int vtkDataSetToDataObjectFilter::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkDataSetToDataObjectFilter::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataObjectAlgorithm.

static vtkDataSetToDataObjectFilter* vtkDataSetToDataObjectFilter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkDataObjectAlgorithm.

void vtkDataSetToDataObjectFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkDataObjectAlgorithm.

static vtkDataSetToDataObjectFilter* vtkDataSetToDataObjectFilter::New (  )  [static]

Instantiate the object to transform all data into a data object.

Reimplemented from vtkDataObjectAlgorithm.

virtual void vtkDataSetToDataObjectFilter::SetGeometry ( int   )  [virtual]

Turn on/off the conversion of dataset geometry to a data object.

virtual int vtkDataSetToDataObjectFilter::GetGeometry (  )  [virtual]

Turn on/off the conversion of dataset geometry to a data object.

virtual void vtkDataSetToDataObjectFilter::GeometryOn (  )  [virtual]

Turn on/off the conversion of dataset geometry to a data object.

virtual void vtkDataSetToDataObjectFilter::GeometryOff (  )  [virtual]

Turn on/off the conversion of dataset geometry to a data object.

virtual void vtkDataSetToDataObjectFilter::SetTopology ( int   )  [virtual]

Turn on/off the conversion of dataset topology to a data object.

virtual int vtkDataSetToDataObjectFilter::GetTopology (  )  [virtual]

Turn on/off the conversion of dataset topology to a data object.

virtual void vtkDataSetToDataObjectFilter::TopologyOn (  )  [virtual]

Turn on/off the conversion of dataset topology to a data object.

virtual void vtkDataSetToDataObjectFilter::TopologyOff (  )  [virtual]

Turn on/off the conversion of dataset topology to a data object.

virtual void vtkDataSetToDataObjectFilter::SetFieldData ( int   )  [virtual]

Turn on/off the conversion of dataset field data to a data object.

virtual int vtkDataSetToDataObjectFilter::GetFieldData (  )  [virtual]

Turn on/off the conversion of dataset field data to a data object.

virtual void vtkDataSetToDataObjectFilter::FieldDataOn (  )  [virtual]

Turn on/off the conversion of dataset field data to a data object.

virtual void vtkDataSetToDataObjectFilter::FieldDataOff (  )  [virtual]

Turn on/off the conversion of dataset field data to a data object.

virtual void vtkDataSetToDataObjectFilter::SetPointData ( int   )  [virtual]

Turn on/off the conversion of dataset point data to a data object.

virtual int vtkDataSetToDataObjectFilter::GetPointData (  )  [virtual]

Turn on/off the conversion of dataset point data to a data object.

virtual void vtkDataSetToDataObjectFilter::PointDataOn (  )  [virtual]

Turn on/off the conversion of dataset point data to a data object.

virtual void vtkDataSetToDataObjectFilter::PointDataOff (  )  [virtual]

Turn on/off the conversion of dataset point data to a data object.

virtual void vtkDataSetToDataObjectFilter::SetCellData ( int   )  [virtual]

Turn on/off the conversion of dataset cell data to a data object.

virtual int vtkDataSetToDataObjectFilter::GetCellData (  )  [virtual]

Turn on/off the conversion of dataset cell data to a data object.

virtual void vtkDataSetToDataObjectFilter::CellDataOn (  )  [virtual]

Turn on/off the conversion of dataset cell data to a data object.

virtual void vtkDataSetToDataObjectFilter::CellDataOff (  )  [virtual]

Turn on/off the conversion of dataset cell data to a data object.

virtual int vtkDataSetToDataObjectFilter::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkDataSetToDataObjectFilter::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkDataSetToDataObjectFilter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkDataObjectAlgorithm.


Member Data Documentation

Definition at line 111 of file vtkDataSetToDataObjectFilter.h.

Definition at line 112 of file vtkDataSetToDataObjectFilter.h.

Definition at line 113 of file vtkDataSetToDataObjectFilter.h.

Definition at line 114 of file vtkDataSetToDataObjectFilter.h.

Definition at line 115 of file vtkDataSetToDataObjectFilter.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 18:59:30 2009 for VTK by  doxygen 1.5.6