VTK
|
Base class to place points given constraints on polygonal data. More...
#include <vtkPolyDataPointPlacer.h>
Base class to place points given constraints on polygonal data.
vtkPolyDataPointPlacer is a base class to place points on the surface of polygonal data.
placer->AddProp( polyDataActor );
Definition at line 44 of file vtkPolyDataPointPlacer.h.
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
Definition at line 52 of file vtkPolyDataPointPlacer.h.
vtkPolyDataPointPlacer::vtkPolyDataPointPlacer | ( | ) | [protected] |
vtkPolyDataPointPlacer::~vtkPolyDataPointPlacer | ( | ) | [protected] |
static vtkPolyDataPointPlacer* vtkPolyDataPointPlacer::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
static int vtkPolyDataPointPlacer::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
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.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
virtual vtkObjectBase* vtkPolyDataPointPlacer::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
void vtkPolyDataPointPlacer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
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.
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.
vtkPropCollection* vtkPolyDataPointPlacer::SurfaceProps [protected] |
Definition at line 113 of file vtkPolyDataPointPlacer.h.
vtkPropPicker* vtkPolyDataPointPlacer::PropPicker [protected] |
Definition at line 114 of file vtkPolyDataPointPlacer.h.