ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkVolumeRepresentationPreprocessor Class Reference

prepare data object for volume rendering More...

#include <vtkVolumeRepresentationPreprocessor.h>

Inheritance diagram for vtkVolumeRepresentationPreprocessor:
Inheritance graph
[legend]
Collaboration diagram for vtkVolumeRepresentationPreprocessor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetTetrahedraOnly (int)
virtual int GetTetrahedraOnly ()
void SetExtractedBlockIndex (int)
virtual int GetExtractedBlockIndex ()

Static Public Member Functions

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

Protected Member Functions

 vtkVolumeRepresentationPreprocessor ()
 ~vtkVolumeRepresentationPreprocessor ()
vtkUnstructuredGridTriangulateDataSet (vtkDataSet *)
vtkDataSetMultiBlockToDataSet (vtkMultiBlockDataSet *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

int TetrahedraOnly
int ExtractedBlockIndex
vtkDataSetTriangleFilterDataSetTriangleFilter
vtkExtractBlockExtractBlockFilter

Detailed Description

prepare data object for volume rendering

vtkVolumeRepresentationPreprocessor prepares data objects for volume rendering. If the data object is a data set, then the set is passed through a vtkDataSetTriangleFilter before being output as a vtkUnstructuredGrid. If the data object is a multiblock dataset with at least one unstructured grid leaf node, then the unstructured grid is extracted using vtkExtractBlock before being passed to the vtkDataSetTriangleFilter. If the multiblock dataset contains more than one unstructured grid, the ExtractedBlockIndex property may by set to indicate which unstructured grid to volume render. The TetrahedraOnly property may be set and it will be passed to the vtkDataSetTriangleFilter.

See also:
vtkExtractBlock vtkTriangleFilter

Definition at line 41 of file vtkVolumeRepresentationPreprocessor.h.


Constructor & Destructor Documentation

vtkVolumeRepresentationPreprocessor::vtkVolumeRepresentationPreprocessor ( ) [protected]
vtkVolumeRepresentationPreprocessor::~vtkVolumeRepresentationPreprocessor ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.

static int vtkVolumeRepresentationPreprocessor::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkVolumeRepresentationPreprocessor::IsA ( const char *  type) [virtual]

Reimplemented from vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkVolumeRepresentationPreprocessor::SetTetrahedraOnly ( int  )

When On, the internal triangle filter will cull all 1D and 2D cells from the output. The default is Off.

virtual int vtkVolumeRepresentationPreprocessor::GetTetrahedraOnly ( ) [virtual]

When On, the internal triangle filter will cull all 1D and 2D cells from the output. The default is Off.

void vtkVolumeRepresentationPreprocessor::SetExtractedBlockIndex ( int  )

Sets which block will be extracted for volume rendering. Ignored if input is not multiblock. Default is 0.

virtual int vtkVolumeRepresentationPreprocessor::GetExtractedBlockIndex ( ) [virtual]

Sets which block will be extracted for volume rendering. Ignored if input is not multiblock. Default is 0.

vtkUnstructuredGrid* vtkVolumeRepresentationPreprocessor::TriangulateDataSet ( vtkDataSet ) [protected]
vtkDataSet* vtkVolumeRepresentationPreprocessor::MultiBlockToDataSet ( vtkMultiBlockDataSet ) [protected]
virtual int vtkVolumeRepresentationPreprocessor::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkUnstructuredGridAlgorithm.

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

Reimplemented from vtkUnstructuredGridAlgorithm.


Member Data Documentation

Definition at line 74 of file vtkVolumeRepresentationPreprocessor.h.

Definition at line 75 of file vtkVolumeRepresentationPreprocessor.h.

Definition at line 77 of file vtkVolumeRepresentationPreprocessor.h.

Definition at line 78 of file vtkVolumeRepresentationPreprocessor.h.


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