VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPolygonalSurfacePointPlacer Class Reference

#include <vtkPolygonalSurfacePointPlacer.h>

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

Public Member Functions

virtual void AddProp (vtkProp *)
 
virtual void RemoveViewProp (vtkProp *prop)
 
virtual void RemoveAllProps ()
 
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 UpdateNodeWorldPosition (double worldPos[3], vtkIdType nodePointId)
 
virtual int ValidateWorldPosition (double worldPos[3], double worldOrient[9])
 
virtual vtkCellPickerGetCellPicker ()
 
virtual vtkPolyDataCollectionGetPolys ()
 
virtual void SetDistanceOffset (double)
 
virtual double GetDistanceOffset ()
 
virtual void SetSnapToClosestPoint (int)
 
virtual int GetSnapToClosestPoint ()
 
virtual void SnapToClosestPointOn ()
 
virtual void SnapToClosestPointOff ()
 
- Public Member Functions inherited from vtkPolyDataPointPlacer
int HasProp (vtkProp *)
 
int GetNumberOfProps ()
 
virtual vtkPropPickerGetPropPicker ()
 
vtkPolyDataPointPlacerNewInstance () const
 
- Public Member Functions inherited from vtkPointPlacer
virtual int UpdateInternalState ()
 
virtual int UpdateWorldPosition (vtkRenderer *ren, double worldPos[3], double worldOrient[9])
 
virtual void SetPixelTolerance (int)
 
virtual int GetPixelTolerance ()
 
virtual void SetWorldTolerance (double)
 
virtual double GetWorldTolerance ()
 
vtkPointPlacerNewInstance () const
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkPolygonalSurfacePointPlacerNew ()
 
- Static Public Member Functions inherited from vtkPolyDataPointPlacer
static vtkPolyDataPointPlacerNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPolyDataPointPlacerSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkPointPlacer
static vtkPointPlacerNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPointPlacerSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkPolygonalSurfacePointPlacer ()
 
 ~vtkPolygonalSurfacePointPlacer ()
 
- Protected Member Functions inherited from vtkPolyDataPointPlacer
 vtkPolyDataPointPlacer ()
 
 ~vtkPolyDataPointPlacer ()
 
- Protected Member Functions inherited from vtkPointPlacer
 vtkPointPlacer ()
 
 ~vtkPointPlacer ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkCellPickerCellPicker
 
vtkPolyDataCollectionPolys
 
vtkPolygonalSurfacePointPlacerInternals * Internals
 
double DistanceOffset
 
int SnapToClosestPoint
 
- Protected Attributes inherited from vtkPolyDataPointPlacer
vtkPropCollectionSurfaceProps
 
vtkPropPickerPropPicker
 
- Protected Attributes inherited from vtkPointPlacer
int PixelTolerance
 
double WorldTolerance
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
typedef vtkPolyDataPointPlacer Superclass
 
static int IsTypeOf (const char *type)
 
static vtkPolygonalSurfacePointPlacerSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkPolygonalSurfacePointPlacerNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBaseNewInstanceInternal () const
 
typedef vtkPolygonalSurfacePointPlacerNode Node
 
NodeGetNodeAtWorldPosition (double worldPos[3])
 

Additional Inherited Members

- Public Types inherited from vtkPolyDataPointPlacer
typedef vtkPointPlacer Superclass
 
- Public Types inherited from vtkPointPlacer
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Detailed Description

Definition at line 57 of file vtkPolygonalSurfacePointPlacer.h.

Member Typedef Documentation

Standard methods for instances of this class.

Definition at line 66 of file vtkPolygonalSurfacePointPlacer.h.

Internally used by the interpolator.

Definition at line 144 of file vtkPolygonalSurfacePointPlacer.h.

Constructor & Destructor Documentation

vtkPolygonalSurfacePointPlacer::vtkPolygonalSurfacePointPlacer ( )
protected
vtkPolygonalSurfacePointPlacer::~vtkPolygonalSurfacePointPlacer ( )
protected

Member Function Documentation

static vtkPolygonalSurfacePointPlacer* vtkPolygonalSurfacePointPlacer::New ( )
static

Instantiate this class.

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

Standard methods for instances of this class.

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

Standard methods for instances of this class.

Reimplemented from vtkPolyDataPointPlacer.

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

Standard methods for instances of this class.

virtual vtkObjectBase* vtkPolygonalSurfacePointPlacer::NewInstanceInternal ( ) const
protectedvirtual

Standard methods for instances of this class.

Reimplemented from vtkPolyDataPointPlacer.

vtkPolygonalSurfacePointPlacer* vtkPolygonalSurfacePointPlacer::NewInstance ( ) const

Standard methods for instances of this class.

void vtkPolygonalSurfacePointPlacer::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Standard methods for instances of this class.

Reimplemented from vtkPolyDataPointPlacer.

virtual void vtkPolygonalSurfacePointPlacer::AddProp ( vtkProp )
virtual

Reimplemented from vtkPolyDataPointPlacer.

virtual void vtkPolygonalSurfacePointPlacer::RemoveViewProp ( vtkProp prop)
virtual

Reimplemented from vtkPolyDataPointPlacer.

virtual void vtkPolygonalSurfacePointPlacer::RemoveAllProps ( )
virtual

Reimplemented from vtkPolyDataPointPlacer.

virtual int vtkPolygonalSurfacePointPlacer::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 vtkPolyDataPointPlacer.

virtual int vtkPolygonalSurfacePointPlacer::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 vtkPolyDataPointPlacer.

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

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

Reimplemented from vtkPolyDataPointPlacer.

virtual int vtkPolygonalSurfacePointPlacer::UpdateNodeWorldPosition ( double  worldPos[3],
vtkIdType  nodePointId 
)
virtual

Give the node a chance to update its auxiliary point id.

Reimplemented from vtkPointPlacer.

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

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

Reimplemented from vtkPolyDataPointPlacer.

virtual int vtkPolygonalSurfacePointPlacer::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 vtkPolyDataPointPlacer.

virtual vtkCellPicker* vtkPolygonalSurfacePointPlacer::GetCellPicker ( )
virtual

Get the Prop picker.

virtual vtkPolyDataCollection* vtkPolygonalSurfacePointPlacer::GetPolys ( )
virtual

Be sure to add polydata on which you wish to place points to this list or they will not be considered for placement.

virtual void vtkPolygonalSurfacePointPlacer::SetDistanceOffset ( double  )
virtual

Height offset at which points may be placed on the polygonal surface. If you specify a non-zero value here, be sure to compute cell normals on your input polygonal data (easily done with vtkPolyDataNormals).

virtual double vtkPolygonalSurfacePointPlacer::GetDistanceOffset ( )
virtual

Height offset at which points may be placed on the polygonal surface. If you specify a non-zero value here, be sure to compute cell normals on your input polygonal data (easily done with vtkPolyDataNormals).

virtual void vtkPolygonalSurfacePointPlacer::SetSnapToClosestPoint ( int  )
virtual

Snap to the closest point on the surface ? This is useful for the vtkPolygonalSurfaceContourLineInterpolator, when drawing contours along the edges of a surface mesh. OFF by default.

virtual int vtkPolygonalSurfacePointPlacer::GetSnapToClosestPoint ( )
virtual

Snap to the closest point on the surface ? This is useful for the vtkPolygonalSurfaceContourLineInterpolator, when drawing contours along the edges of a surface mesh. OFF by default.

virtual void vtkPolygonalSurfacePointPlacer::SnapToClosestPointOn ( )
virtual

Snap to the closest point on the surface ? This is useful for the vtkPolygonalSurfaceContourLineInterpolator, when drawing contours along the edges of a surface mesh. OFF by default.

virtual void vtkPolygonalSurfacePointPlacer::SnapToClosestPointOff ( )
virtual

Snap to the closest point on the surface ? This is useful for the vtkPolygonalSurfaceContourLineInterpolator, when drawing contours along the edges of a surface mesh. OFF by default.

Node* vtkPolygonalSurfacePointPlacer::GetNodeAtWorldPosition ( double  worldPos[3])

Internally used by the interpolator.

Member Data Documentation

vtkCellPicker* vtkPolygonalSurfacePointPlacer::CellPicker
protected

Definition at line 161 of file vtkPolygonalSurfacePointPlacer.h.

vtkPolyDataCollection* vtkPolygonalSurfacePointPlacer::Polys
protected

Definition at line 162 of file vtkPolygonalSurfacePointPlacer.h.

vtkPolygonalSurfacePointPlacerInternals* vtkPolygonalSurfacePointPlacer::Internals
protected

Definition at line 163 of file vtkPolygonalSurfacePointPlacer.h.

double vtkPolygonalSurfacePointPlacer::DistanceOffset
protected

Definition at line 164 of file vtkPolygonalSurfacePointPlacer.h.

int vtkPolygonalSurfacePointPlacer::SnapToClosestPoint
protected

Definition at line 165 of file vtkPolygonalSurfacePointPlacer.h.


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