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

Base class to place points given constraints on polygonal data. More...

#include <vtkPolyDataPointPlacer.h>

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

Public Member Functions

virtual void AddProp (vtkProp *)
 
virtual void RemoveViewProp (vtkProp *prop)
 
virtual void RemoveAllProps ()
 
int HasProp (vtkProp *)
 
int GetNumberOfProps ()
 
virtual int ValidateWorldPosition (double worldPos[3])
 
virtual int ValidateDisplayPosition (vtkRenderer *, double displayPos[2])
 
virtual int ComputeWorldPosition (vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9])
 
virtual int ComputeWorldPosition (vtkRenderer *ren, double displayPos[2], double refWorldPos[3], double worldPos[3], double worldOrient[9])
 
virtual int ValidateWorldPosition (double worldPos[3], double worldOrient[9])
 
virtual vtkPropPicker * GetPropPicker ()
 
- Public Member Functions inherited from vtkPointPlacer
virtual int UpdateInternalState ()
 
virtual int UpdateWorldPosition (vtkRenderer *ren, double worldPos[3], double worldOrient[9])
 
virtual int UpdateNodeWorldPosition (double worldPos[3], vtkIdType nodePointId)
 
virtual void SetPixelTolerance (int)
 
virtual int GetPixelTolerance ()
 
virtual void SetWorldTolerance (double)
 
virtual double GetWorldTolerance ()
 
vtkPointPlacerNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkPolyDataPointPlacerNew ()
 
- Static Public Member Functions inherited from vtkPointPlacer
static vtkPointPlacerNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPointPlacerSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

 vtkPolyDataPointPlacer ()
 
 ~vtkPolyDataPointPlacer ()
 
- Protected Member Functions inherited from vtkPointPlacer
 vtkPointPlacer ()
 
 ~vtkPointPlacer ()
 

Protected Attributes

vtkPropCollection * SurfaceProps
 
vtkPropPicker * PropPicker
 
- Protected Attributes inherited from vtkPointPlacer
int PixelTolerance
 
double WorldTolerance
 
typedef vtkPointPlacer Superclass
 
static int IsTypeOf (const char *type)
 
static vtkPolyDataPointPlacerSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkPolyDataPointPlacerNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

Detailed Description

Base class to place points given constraints on polygonal data.

vtkPolyDataPointPlacer is a base class to place points on the surface of polygonal data.

Usage:
The actors that render polygonal data and wish to be considered for placement by this placer are added to the list as
placer->AddProp( polyDataActor );
See Also
vtkPolygonalSurfacePointPlacer

Definition at line 44 of file vtkPolyDataPointPlacer.h.

Member Typedef Documentation

Standard methods for instances of this class.

Definition at line 52 of file vtkPolyDataPointPlacer.h.

Constructor & Destructor Documentation

vtkPolyDataPointPlacer::vtkPolyDataPointPlacer ( )
protected
vtkPolyDataPointPlacer::~vtkPolyDataPointPlacer ( )
protected

Member Function Documentation

static vtkPolyDataPointPlacer* vtkPolyDataPointPlacer::New ( )
static

Instantiate this class.

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

Standard methods for instances of this class.

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

Standard methods for instances of this class.

Reimplemented from vtkPointPlacer.

Reimplemented in vtkPolygonalSurfacePointPlacer.

static vtkPolyDataPointPlacer* vtkPolyDataPointPlacer::SafeDownCast ( vtkObjectBase *  o)
static

Standard methods for instances of this class.

virtual vtkObjectBase* vtkPolyDataPointPlacer::NewInstanceInternal ( ) const
protectedvirtual

Standard methods for instances of this class.

Reimplemented from vtkPointPlacer.

Reimplemented in vtkPolygonalSurfacePointPlacer.

vtkPolyDataPointPlacer* vtkPolyDataPointPlacer::NewInstance ( ) const

Standard methods for instances of this class.

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

Standard methods for instances of this class.

virtual void vtkPolyDataPointPlacer::AddProp ( vtkProp *  )
virtual

Reimplemented in vtkPolygonalSurfacePointPlacer.

virtual void vtkPolyDataPointPlacer::RemoveViewProp ( vtkProp *  prop)
virtual

Reimplemented in vtkPolygonalSurfacePointPlacer.

virtual void vtkPolyDataPointPlacer::RemoveAllProps ( )
virtual

Reimplemented in vtkPolygonalSurfacePointPlacer.

int vtkPolyDataPointPlacer::HasProp ( vtkProp *  )
int vtkPolyDataPointPlacer::GetNumberOfProps ( )
virtual int vtkPolyDataPointPlacer::ComputeWorldPosition ( vtkRenderer *  ren,
double  displayPos[2],
double  worldPos[3],
double  worldOrient[9] 
)
virtual

Given a renderer and a display position in pixel coordinates, compute the world position and orientation where this point will be placed. This method is typically used by the representation to place the point initially. For the Terrain point placer this computes world points that lie at the specified height above the terrain.

Reimplemented from vtkPointPlacer.

Reimplemented in vtkPolygonalSurfacePointPlacer.

virtual int vtkPolyDataPointPlacer::ComputeWorldPosition ( vtkRenderer *  ren,
double  displayPos[2],
double  refWorldPos[3],
double  worldPos[3],
double  worldOrient[9] 
)
virtual

Given a renderer, a display position, and a reference world position, compute the new world position and orientation of this point. This method is typically used by the representation to move the point.

Reimplemented from vtkPointPlacer.

Reimplemented in vtkPolygonalSurfacePointPlacer.

virtual int vtkPolyDataPointPlacer::ValidateWorldPosition ( double  worldPos[3])
virtual

Given a world position check the validity of this position according to the constraints of the placer

Reimplemented from vtkPointPlacer.

Reimplemented in vtkPolygonalSurfacePointPlacer.

virtual int vtkPolyDataPointPlacer::ValidateDisplayPosition ( vtkRenderer *  ,
double  displayPos[2] 
)
virtual

Given a display position, check the validity of this position.

Reimplemented from vtkPointPlacer.

Reimplemented in vtkPolygonalSurfacePointPlacer.

virtual int vtkPolyDataPointPlacer::ValidateWorldPosition ( double  worldPos[3],
double  worldOrient[9] 
)
virtual

Given a world position and a world orientation, validate it according to the constraints of the placer.

Reimplemented from vtkPointPlacer.

Reimplemented in vtkPolygonalSurfacePointPlacer.

virtual vtkPropPicker* vtkPolyDataPointPlacer::GetPropPicker ( )
virtual

Get the Prop picker.

Member Data Documentation

vtkPropCollection* vtkPolyDataPointPlacer::SurfaceProps
protected

Definition at line 113 of file vtkPolyDataPointPlacer.h.

vtkPropPicker* vtkPolyDataPointPlacer::PropPicker
protected

Definition at line 114 of file vtkPolyDataPointPlacer.h.


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