#include <vtkPolygonalSurfacePointPlacer.h>
Definition at line 55 of file vtkPolygonalSurfacePointPlacer.h.
typedef vtkPolyDataPointPlacer | Superclass |
static int | IsTypeOf (const char *type) |
static vtkPolygonalSurfacePointPlacer * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
typedef vtkPolygonalSurfacePointPlacerNode | Node |
Node * | GetNodeAtWorldPosition (double worldPos[3]) |
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 | ValidateWorldPosition (double worldPos[3], double worldOrient[9]) |
virtual vtkCellPicker * | GetCellPicker () |
virtual vtkPolyDataCollection * | GetPolys () |
virtual void | SetDistanceOffset (double) |
virtual double | GetDistanceOffset () |
Static Public Member Functions | |
static vtkPolygonalSurfacePointPlacer * | New () |
Protected Member Functions | |
vtkPolygonalSurfacePointPlacer () | |
~vtkPolygonalSurfacePointPlacer () | |
Protected Attributes | |
vtkCellPicker * | CellPicker |
vtkPolyDataCollection * | Polys |
vtkPolygonalSurfacePointPlacerInternals * | Internals |
double | DistanceOffset |
Standard methods for instances of this class.
Reimplemented from vtkPolyDataPointPlacer.
Definition at line 64 of file vtkPolygonalSurfacePointPlacer.h.
Internally used by the interpolator.
Definition at line 127 of file vtkPolygonalSurfacePointPlacer.h.
vtkPolygonalSurfacePointPlacer::vtkPolygonalSurfacePointPlacer | ( | ) | [protected] |
vtkPolygonalSurfacePointPlacer::~vtkPolygonalSurfacePointPlacer | ( | ) | [protected] |
static vtkPolygonalSurfacePointPlacer* vtkPolygonalSurfacePointPlacer::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkPolyDataPointPlacer.
virtual const char* vtkPolygonalSurfacePointPlacer::GetClassName | ( | ) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkPolyDataPointPlacer.
static int vtkPolygonalSurfacePointPlacer::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for instances of this class.
Reimplemented from vtkPolyDataPointPlacer.
virtual int vtkPolygonalSurfacePointPlacer::IsA | ( | const char * | type | ) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkPolyDataPointPlacer.
static vtkPolygonalSurfacePointPlacer* vtkPolygonalSurfacePointPlacer::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard methods for instances of this class.
Reimplemented from vtkPolyDataPointPlacer.
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::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).
Node* vtkPolygonalSurfacePointPlacer::GetNodeAtWorldPosition | ( | double | worldPos[3] | ) |
Internally used by the interpolator.
vtkCellPicker* vtkPolygonalSurfacePointPlacer::CellPicker [protected] |
Definition at line 144 of file vtkPolygonalSurfacePointPlacer.h.
Definition at line 145 of file vtkPolygonalSurfacePointPlacer.h.
vtkPolygonalSurfacePointPlacerInternals* vtkPolygonalSurfacePointPlacer::Internals [protected] |
Definition at line 146 of file vtkPolygonalSurfacePointPlacer.h.
double vtkPolygonalSurfacePointPlacer::DistanceOffset [protected] |
Definition at line 147 of file vtkPolygonalSurfacePointPlacer.h.