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
vtkHyperOctreeClipCutPointsGrabber Class Reference

A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctreeCutter. More...

#include <vtkHyperOctreeClipCutPointsGrabber.h>

Inheritance diagram for vtkHyperOctreeClipCutPointsGrabber:
[legend]
Collaboration diagram for vtkHyperOctreeClipCutPointsGrabber:
[legend]

Public Types

typedef vtkHyperOctreePointsGrabber Superclass
 
- Public Types inherited from vtkHyperOctreePointsGrabber
typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkHyperOctreeClipCutPointsGrabberNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetDimension (int dim)
 
virtual void InitPointInsertion ()
 
vtkOrderedTriangulator * GetTriangulator ()
 
vtkPolygon * GetPolygon ()
 
virtual void InsertPoint (vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])
 
virtual void InsertPointWithMerge (vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])
 
virtual void InsertPoint2D (double pt[3], int ijk[3])
 
- Public Member Functions inherited from vtkHyperOctreePointsGrabber
vtkHyperOctreePointsGrabberNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int GetDimension ()
 

Static Public Member Functions

static
vtkHyperOctreeClipCutPointsGrabber
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkHyperOctreeClipCutPointsGrabber
SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkHyperOctreePointsGrabber
static int IsTypeOf (const char *type)
 
static
vtkHyperOctreePointsGrabber
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkHyperOctreeClipCutPointsGrabber ()
 
 ~vtkHyperOctreeClipCutPointsGrabber ()
 
- Protected Member Functions inherited from vtkHyperOctreePointsGrabber
 vtkHyperOctreePointsGrabber ()
 
virtual ~vtkHyperOctreePointsGrabber ()
 

Protected Attributes

vtkOrderedTriangulator * Triangulator
 
vtkPolygon * Polygon
 
vtkHyperOctreeIdSet * IdSet
 
- Protected Attributes inherited from vtkHyperOctreePointsGrabber
int Dimension
 

Detailed Description

A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctreeCutter.

See Also
vtkHyperOctreeClipCut, vtkHyperOctreeClipCutClipCutPointsGrabber, vtkClipHyperOctree, vtkHyperOctreeClipCutCutter

Definition at line 35 of file vtkHyperOctreeClipCutPointsGrabber.h.

Member Typedef Documentation

Definition at line 40 of file vtkHyperOctreeClipCutPointsGrabber.h.

Constructor & Destructor Documentation

vtkHyperOctreeClipCutPointsGrabber::vtkHyperOctreeClipCutPointsGrabber ( )
protected
vtkHyperOctreeClipCutPointsGrabber::~vtkHyperOctreeClipCutPointsGrabber ( )
protected

Member Function Documentation

static vtkHyperOctreeClipCutPointsGrabber* vtkHyperOctreeClipCutPointsGrabber::New ( )
static
static int vtkHyperOctreeClipCutPointsGrabber::IsTypeOf ( const char *  type)
static
virtual int vtkHyperOctreeClipCutPointsGrabber::IsA ( const char *  type)
virtual

Reimplemented from vtkHyperOctreePointsGrabber.

static vtkHyperOctreeClipCutPointsGrabber* vtkHyperOctreeClipCutPointsGrabber::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkHyperOctreeClipCutPointsGrabber::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkHyperOctreePointsGrabber.

vtkHyperOctreeClipCutPointsGrabber* vtkHyperOctreeClipCutPointsGrabber::NewInstance ( ) const
void vtkHyperOctreeClipCutPointsGrabber::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkHyperOctreeClipCutPointsGrabber::SetDimension ( int  dim)
virtual

Set the dimension of the hyperoctree.

Precondition
valid_dim: (dim==2 || dim==3)
Postcondition
is_set: GetDimension()==dim

Implements vtkHyperOctreePointsGrabber.

virtual void vtkHyperOctreeClipCutPointsGrabber::InitPointInsertion ( )
virtual

Initialize the points insertion scheme. Actually, it is just a trick to initialize the IdSet from the filter. The IdSet class cannot be shared with the filter because it is a Pimpl. It is used by clip,cut and contour filters to build the points that lie on an hyperoctant.

Precondition
only_in_3d: GetDimension()==3

Implements vtkHyperOctreePointsGrabber.

virtual void vtkHyperOctreeClipCutPointsGrabber::InsertPoint ( vtkIdType  ptId,
double  pt[3],
double  pcoords[3],
int  ijk[3] 
)
virtual

Insert a point, assuming the point is unique and does not require a locator. Tt does not mean it does not use a locator. It just mean that some implementation may skip the use of a locator.

Implements vtkHyperOctreePointsGrabber.

virtual void vtkHyperOctreeClipCutPointsGrabber::InsertPointWithMerge ( vtkIdType  ptId,
double  pt[3],
double  pcoords[3],
int  ijk[3] 
)
virtual

Insert a point using a locator.

Implements vtkHyperOctreePointsGrabber.

virtual void vtkHyperOctreeClipCutPointsGrabber::InsertPoint2D ( double  pt[3],
int  ijk[3] 
)
virtual

Insert a point in the quadtree case.

Implements vtkHyperOctreePointsGrabber.

vtkOrderedTriangulator* vtkHyperOctreeClipCutPointsGrabber::GetTriangulator ( )

Return the ordered triangulator.

vtkPolygon* vtkHyperOctreeClipCutPointsGrabber::GetPolygon ( )

Return the polygon.

Member Data Documentation

vtkOrderedTriangulator* vtkHyperOctreeClipCutPointsGrabber::Triangulator
protected

Definition at line 91 of file vtkHyperOctreeClipCutPointsGrabber.h.

vtkPolygon* vtkHyperOctreeClipCutPointsGrabber::Polygon
protected

Definition at line 92 of file vtkHyperOctreeClipCutPointsGrabber.h.

vtkHyperOctreeIdSet* vtkHyperOctreeClipCutPointsGrabber::IdSet
protected

Definition at line 93 of file vtkHyperOctreeClipCutPointsGrabber.h.


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