VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkVolumeContourSpectrumFilter Class Reference

compute an approximation of the volume contour signature (evolution of the volume of the input tet-mesh along an arc of the Reeb graph). More...

#include <vtkVolumeContourSpectrumFilter.h>

Inherits vtkDataObjectAlgorithm.

Public Types

typedef vtkDataObjectAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkVolumeContourSpectrumFilterNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkTable * GetOutput ()
 
virtual void SetArcId (vtkIdType)
 
virtual vtkIdType GetArcId ()
 
virtual void SetNumberOfSamples (int)
 
virtual int GetNumberOfSamples ()
 
virtual void SetFieldId (vtkIdType)
 
virtual vtkIdType GetFieldId ()
 

Static Public Member Functions

static
vtkVolumeContourSpectrumFilter
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkVolumeContourSpectrumFilter
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkVolumeContourSpectrumFilter ()
 
 ~vtkVolumeContourSpectrumFilter ()
 
int FillInputPortInformation (int portNumber, vtkInformation *)
 
int FillOutputPortInformation (int portNumber, vtkInformation *info)
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 

Protected Attributes

vtkIdType ArcId
 
vtkIdType FieldId
 
int NumberOfSamples
 

Detailed Description

compute an approximation of the volume contour signature (evolution of the volume of the input tet-mesh along an arc of the Reeb graph).

The filter takes a vtkUnstructuredGrid as an input (port 0), along with a vtkReebGraph (port 1). The Reeb graph arc to consider can be specified with SetArcId() (default: 0). The number of (evenly distributed) samples of the signature can be defined with SetNumberOfSamples() (default value: 100). The filter will first try to pull as a scalar field the vtkDataArray with Id 'FieldId' of the vtkUnstructuredGrid, see SetFieldId (default: 0). The filter will abort if this field does not exist.

The filter outputs a vtkTable with the volume contour signature approximation, each sample being evenly distributed in the function span of the arc.

This filter is a typical example for designing your own contour signature filter (with customized metrics). It also shows typical vtkReebGraph traversals.

Reference: C. Bajaj, V. Pascucci, D. Schikore, "The contour spectrum", IEEE Visualization, 167-174, 1997.

Tests:
vtkVolumeContourSpectrumFilter (Tests)

Definition at line 55 of file vtkVolumeContourSpectrumFilter.h.

Member Typedef Documentation

typedef vtkDataObjectAlgorithm vtkVolumeContourSpectrumFilter::Superclass

Definition at line 60 of file vtkVolumeContourSpectrumFilter.h.

Constructor & Destructor Documentation

vtkVolumeContourSpectrumFilter::vtkVolumeContourSpectrumFilter ( )
protected
vtkVolumeContourSpectrumFilter::~vtkVolumeContourSpectrumFilter ( )
protected

Member Function Documentation

static vtkVolumeContourSpectrumFilter* vtkVolumeContourSpectrumFilter::New ( )
static
static int vtkVolumeContourSpectrumFilter::IsTypeOf ( const char *  type)
static
virtual int vtkVolumeContourSpectrumFilter::IsA ( const char *  type)
virtual
static vtkVolumeContourSpectrumFilter* vtkVolumeContourSpectrumFilter::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkVolumeContourSpectrumFilter::NewInstanceInternal ( ) const
protectedvirtual
vtkVolumeContourSpectrumFilter* vtkVolumeContourSpectrumFilter::NewInstance ( ) const
void vtkVolumeContourSpectrumFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkVolumeContourSpectrumFilter::SetArcId ( vtkIdType  )
virtual

Set the arc Id for which the contour signature has to be computed. Default value: 0

virtual vtkIdType vtkVolumeContourSpectrumFilter::GetArcId ( )
virtual

Set the arc Id for which the contour signature has to be computed. Default value: 0

virtual void vtkVolumeContourSpectrumFilter::SetNumberOfSamples ( int  )
virtual

Set the number of samples in the output signature Default value: 100

virtual int vtkVolumeContourSpectrumFilter::GetNumberOfSamples ( )
virtual

Set the number of samples in the output signature Default value: 100

virtual void vtkVolumeContourSpectrumFilter::SetFieldId ( vtkIdType  )
virtual

Set the scalar field Id Default value: 0

virtual vtkIdType vtkVolumeContourSpectrumFilter::GetFieldId ( )
virtual

Set the scalar field Id Default value: 0

vtkTable* vtkVolumeContourSpectrumFilter::GetOutput ( )
int vtkVolumeContourSpectrumFilter::FillInputPortInformation ( int  portNumber,
vtkInformation *   
)
protected
int vtkVolumeContourSpectrumFilter::FillOutputPortInformation ( int  portNumber,
vtkInformation *  info 
)
protected
int vtkVolumeContourSpectrumFilter::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protected

Member Data Documentation

vtkIdType vtkVolumeContourSpectrumFilter::ArcId
protected

Definition at line 88 of file vtkVolumeContourSpectrumFilter.h.

vtkIdType vtkVolumeContourSpectrumFilter::FieldId
protected

Definition at line 88 of file vtkVolumeContourSpectrumFilter.h.

int vtkVolumeContourSpectrumFilter::NumberOfSamples
protected

Definition at line 89 of file vtkVolumeContourSpectrumFilter.h.


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