Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkDataSetToDataObjectFilter Class Reference

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

#include <vtkDataSetToDataObjectFilter.h>

Inheritance diagram for vtkDataSetToDataObjectFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetToDataObjectFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

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 ()
virtual void SetInput (vtkDataSet *input)
vtkDataSetGetInput ()

Static Public Methods

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

Protected Methods

 vtkDataSetToDataObjectFilter ()
 ~vtkDataSetToDataObjectFilter ()
 vtkDataSetToDataObjectFilter (const vtkDataSetToDataObjectFilter &)
void operator= (const vtkDataSetToDataObjectFilter &)
void Execute ()
void ComputeInputUpdateExtents (vtkDataObject *output)

Protected Attributes

int Geometry
int Topology
int PointData
int CellData
int FieldData

Detailed Description

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

Date:
2000/12/10 20:08:34
Revision:
1.12

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
Examples:
vtkDataSetToDataObjectFilter (examples)

Definition at line 82 of file vtkDataSetToDataObjectFilter.h.


Constructor & Destructor Documentation

vtkDataSetToDataObjectFilter::vtkDataSetToDataObjectFilter   [protected]
 

vtkDataSetToDataObjectFilter::~vtkDataSetToDataObjectFilter   [inline, protected]
 

Definition at line 122 of file vtkDataSetToDataObjectFilter.h.

vtkDataSetToDataObjectFilter::vtkDataSetToDataObjectFilter const vtkDataSetToDataObjectFilter &    [inline, protected]
 

Definition at line 123 of file vtkDataSetToDataObjectFilter.h.


Member Function Documentation

virtual const char* vtkDataSetToDataObjectFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataObjectSource.

int vtkDataSetToDataObjectFilter::IsTypeOf const char *    type [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataObjectSource.

virtual int vtkDataSetToDataObjectFilter::IsA const char *    type [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataObjectSource.

vtkDataSetToDataObjectFilter* vtkDataSetToDataObjectFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataObjectSource.

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 vtkSource.

vtkDataSetToDataObjectFilter* vtkDataSetToDataObjectFilter::New   [static]
 

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

Reimplemented from vtkDataObjectSource.

virtual void vtkDataSetToDataObjectFilter::SetGeometry int    [virtual]
 

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

virtual int vtkDataSetToDataObjectFilter::GetGeometry   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::GeometryOn   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::GeometryOff   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::SetTopology int    [virtual]
 

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

virtual int vtkDataSetToDataObjectFilter::GetTopology   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::TopologyOn   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::TopologyOff   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::SetFieldData int    [virtual]
 

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

virtual int vtkDataSetToDataObjectFilter::GetFieldData   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::FieldDataOn   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::FieldDataOff   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::SetPointData int    [virtual]
 

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

virtual int vtkDataSetToDataObjectFilter::GetPointData   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::PointDataOn   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::PointDataOff   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::SetCellData int    [virtual]
 

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

virtual int vtkDataSetToDataObjectFilter::GetCellData   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::CellDataOn   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::CellDataOff   [virtual]
 

virtual void vtkDataSetToDataObjectFilter::SetInput vtkDataSet   input [virtual]
 

Cast input to DataSet.

vtkDataSet* vtkDataSetToDataObjectFilter::GetInput  
 

void vtkDataSetToDataObjectFilter::operator= const vtkDataSetToDataObjectFilter &    [inline, protected]
 

Definition at line 124 of file vtkDataSetToDataObjectFilter.h.

void vtkDataSetToDataObjectFilter::Execute   [protected, virtual]
 

Reimplemented from vtkSource.

void vtkDataSetToDataObjectFilter::ComputeInputUpdateExtents vtkDataObject   output [protected, virtual]
 

What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses.

Reimplemented from vtkSource.


Member Data Documentation

int vtkDataSetToDataObjectFilter::Geometry [protected]
 

Definition at line 129 of file vtkDataSetToDataObjectFilter.h.

int vtkDataSetToDataObjectFilter::Topology [protected]
 

Definition at line 130 of file vtkDataSetToDataObjectFilter.h.

int vtkDataSetToDataObjectFilter::PointData [protected]
 

Definition at line 131 of file vtkDataSetToDataObjectFilter.h.

int vtkDataSetToDataObjectFilter::CellData [protected]
 

Definition at line 132 of file vtkDataSetToDataObjectFilter.h.

int vtkDataSetToDataObjectFilter::FieldData [protected]
 

Definition at line 133 of file vtkDataSetToDataObjectFilter.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:22 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001