#include <vtkPolyDataPointPlacer.h>
vtkPolyDataPointPlacer is a base class to place points on the surface of polygonal data.
placer->AddProp( polyDataActor );
Definition at line 43 of file vtkPolyDataPointPlacer.h.
typedef vtkPointPlacer | Superclass |
static int | IsTypeOf (const char *type) |
static vtkPolyDataPointPlacer * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
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 () |
Static Public Member Functions | |
static vtkPolyDataPointPlacer * | New () |
Protected Member Functions | |
vtkPolyDataPointPlacer () | |
~vtkPolyDataPointPlacer () | |
Protected Attributes | |
vtkPropCollection * | SurfaceProps |
vtkPropPicker * | PropPicker |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
Definition at line 51 of file vtkPolyDataPointPlacer.h.
vtkPolyDataPointPlacer::vtkPolyDataPointPlacer | ( | ) | [protected] |
vtkPolyDataPointPlacer::~vtkPolyDataPointPlacer | ( | ) | [protected] |
static vtkPolyDataPointPlacer* vtkPolyDataPointPlacer::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkPointPlacer.
Reimplemented in vtkPolygonalSurfacePointPlacer.
virtual const char* vtkPolyDataPointPlacer::GetClassName | ( | ) | [virtual] |
Standard methods for instances of 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 | ( | vtkObject * | o | ) | [static] |
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.
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.
vtkPropCollection* vtkPolyDataPointPlacer::SurfaceProps [protected] |
Definition at line 112 of file vtkPolyDataPointPlacer.h.
vtkPropPicker* vtkPolyDataPointPlacer::PropPicker [protected] |
Definition at line 113 of file vtkPolyDataPointPlacer.h.