vtkHyperOctreeLimiter Class Reference

#include <vtkHyperOctreeLimiter.h>

Inheritance diagram for vtkHyperOctreeLimiter:

Inheritance graph
[legend]
Collaboration diagram for vtkHyperOctreeLimiter:

Collaboration graph
[legend]

List of all members.


Detailed Description

Limit the tree's depth, averaging data from lower level branches into the new leaves at the cut points.

This filter returns a lower resolution copy of its input vtkHyperOctree. It does a length/area/volume weighted averaging to obtain data at each cut point. Above the cut level, leaf attribute data is simply copied.

See also:
vtkHyperOctree

Definition at line 35 of file vtkHyperOctreeLimiter.h.


Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
int GetMaximumLevel ()
void SetMaximumLevel (int levels)

Static Public Member Functions

static vtkHyperOctreeLimiterNew ()
static int IsTypeOf (const char *type)
static vtkHyperOctreeLimiterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkHyperOctreeLimiter ()
 ~vtkHyperOctreeLimiter ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int FillOutputPortInformation (int port, vtkInformation *info)
void BuildNextCell (vtkHyperOctreeCursor *, vtkHyperOctreeCursor *, int)
void AddInteriorAttributes (vtkHyperOctreeCursor *, int)
double MeasureCell (int)

Protected Attributes

vtkHyperOctreeInput
vtkHyperOctreeOutput
int MaximumLevel
double TopSize
int Dimension
int NumChildren
double SizeAtPrunePoint
double * AccumScratch
int AccumSize

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 39 of file vtkHyperOctreeLimiter.h.


Constructor & Destructor Documentation

vtkHyperOctreeLimiter::vtkHyperOctreeLimiter (  )  [protected]

vtkHyperOctreeLimiter::~vtkHyperOctreeLimiter (  )  [protected]


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataSetAlgorithm.

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

Reimplemented from vtkDataSetAlgorithm.

static int vtkHyperOctreeLimiter::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 vtkDataSetAlgorithm.

virtual int vtkHyperOctreeLimiter::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 vtkDataSetAlgorithm.

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

Reimplemented from vtkDataSetAlgorithm.

int vtkHyperOctreeLimiter::GetMaximumLevel (  ) 

Return the maximum number of levels of the hyperoctree.

void vtkHyperOctreeLimiter::SetMaximumLevel ( int  levels  ) 

Set the maximum number of levels of the hyperoctree.

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

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkDataSetAlgorithm.

virtual int vtkHyperOctreeLimiter::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 vtkDataSetAlgorithm.

virtual int vtkHyperOctreeLimiter::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

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

Reimplemented from vtkDataSetAlgorithm.

void vtkHyperOctreeLimiter::BuildNextCell ( vtkHyperOctreeCursor ,
vtkHyperOctreeCursor ,
int   
) [protected]

void vtkHyperOctreeLimiter::AddInteriorAttributes ( vtkHyperOctreeCursor ,
int   
) [protected]

double vtkHyperOctreeLimiter::MeasureCell ( int   )  [protected]


Member Data Documentation

Definition at line 55 of file vtkHyperOctreeLimiter.h.

Definition at line 56 of file vtkHyperOctreeLimiter.h.

Definition at line 63 of file vtkHyperOctreeLimiter.h.

double vtkHyperOctreeLimiter::TopSize [protected]

Definition at line 64 of file vtkHyperOctreeLimiter.h.

Definition at line 65 of file vtkHyperOctreeLimiter.h.

Definition at line 66 of file vtkHyperOctreeLimiter.h.

Definition at line 67 of file vtkHyperOctreeLimiter.h.

Definition at line 69 of file vtkHyperOctreeLimiter.h.

Definition at line 70 of file vtkHyperOctreeLimiter.h.


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

Generated on Sat Dec 27 13:28:29 2008 for VTK by  doxygen 1.5.6