ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkVolumeRepresentationPreprocessor Class Reference

prepare data object for volume rendering More...

#include <vtkVolumeRepresentationPreprocessor.h>

Inherits vtkUnstructuredGridAlgorithm.

Public Types

typedef vtkUnstructuredGridAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetTetrahedraOnly (int)
 When On, the internal triangle filter will cull all 1D and 2D cells from the output. More...
 
virtual int GetTetrahedraOnly ()
 When On, the internal triangle filter will cull all 1D and 2D cells from the output. More...
 
void SetExtractedBlockIndex (int)
 Sets which block will be extracted for volume rendering. More...
 
virtual int GetExtractedBlockIndex ()
 Sets which block will be extracted for volume rendering. More...
 

Static Public Member Functions

static vtkVolumeRepresentationPreprocessorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkVolumeRepresentationPreprocessorSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkVolumeRepresentationPreprocessor ()
 
 ~vtkVolumeRepresentationPreprocessor ()
 
vtkUnstructuredGrid * TriangulateDataSet (vtkDataSet *)
 
vtkDataSet * MultiBlockToDataSet (vtkMultiBlockDataSet *)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 

Protected Attributes

int TetrahedraOnly
 
int ExtractedBlockIndex
 
vtkDataSetTriangleFilter * DataSetTriangleFilter
 
vtkExtractBlock * ExtractBlockFilter
 

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 42 of file vtkVolumeRepresentationPreprocessor.h.

Member Typedef Documentation

◆ Superclass

typedef vtkUnstructuredGridAlgorithm vtkVolumeRepresentationPreprocessor::Superclass

Definition at line 47 of file vtkVolumeRepresentationPreprocessor.h.

Constructor & Destructor Documentation

◆ vtkVolumeRepresentationPreprocessor()

vtkVolumeRepresentationPreprocessor::vtkVolumeRepresentationPreprocessor ( )
protected

◆ ~vtkVolumeRepresentationPreprocessor()

vtkVolumeRepresentationPreprocessor::~vtkVolumeRepresentationPreprocessor ( )
protected

Member Function Documentation

◆ New()

static vtkVolumeRepresentationPreprocessor* vtkVolumeRepresentationPreprocessor::New ( )
static

◆ GetClassName()

virtual const char* vtkVolumeRepresentationPreprocessor::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

◆ SafeDownCast()

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

◆ PrintSelf()

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

◆ SetTetrahedraOnly()

void vtkVolumeRepresentationPreprocessor::SetTetrahedraOnly ( int  )

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

The default is Off.

◆ GetTetrahedraOnly()

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.

◆ SetExtractedBlockIndex()

void vtkVolumeRepresentationPreprocessor::SetExtractedBlockIndex ( int  )

Sets which block will be extracted for volume rendering.

Ignored if input is not multiblock. Default is 0.

◆ GetExtractedBlockIndex()

virtual int vtkVolumeRepresentationPreprocessor::GetExtractedBlockIndex ( )
virtual

Sets which block will be extracted for volume rendering.

Ignored if input is not multiblock. Default is 0.

◆ TriangulateDataSet()

vtkUnstructuredGrid* vtkVolumeRepresentationPreprocessor::TriangulateDataSet ( vtkDataSet *  )
protected

◆ MultiBlockToDataSet()

vtkDataSet* vtkVolumeRepresentationPreprocessor::MultiBlockToDataSet ( vtkMultiBlockDataSet *  )
protected

◆ RequestData()

virtual int vtkVolumeRepresentationPreprocessor::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

◆ FillInputPortInformation()

virtual int vtkVolumeRepresentationPreprocessor::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Member Data Documentation

◆ TetrahedraOnly

int vtkVolumeRepresentationPreprocessor::TetrahedraOnly
protected

Definition at line 78 of file vtkVolumeRepresentationPreprocessor.h.

◆ ExtractedBlockIndex

int vtkVolumeRepresentationPreprocessor::ExtractedBlockIndex
protected

Definition at line 79 of file vtkVolumeRepresentationPreprocessor.h.

◆ DataSetTriangleFilter

vtkDataSetTriangleFilter* vtkVolumeRepresentationPreprocessor::DataSetTriangleFilter
protected

Definition at line 81 of file vtkVolumeRepresentationPreprocessor.h.

◆ ExtractBlockFilter

vtkExtractBlock* vtkVolumeRepresentationPreprocessor::ExtractBlockFilter
protected

Definition at line 82 of file vtkVolumeRepresentationPreprocessor.h.


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