#include <vtkFocalPlanePointPlacer.h>
Definition at line 28 of file vtkFocalPlanePointPlacer.h.
typedef vtkPointPlacer | Superclass |
static int | IsTypeOf (const char *type) |
static vtkFocalPlanePointPlacer * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Public Member Functions | |
int | ComputeWorldPosition (vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9]) |
int | ComputeWorldPosition (vtkRenderer *ren, double displayPos[2], double refWorldPos[3], double worldPos[3], double worldOrient[9]) |
int | ValidateWorldPosition (double worldPos[3]) |
int | ValidateWorldPosition (double worldPos[3], double worldOrient[9]) |
virtual void | SetOffset (double) |
virtual double | GetOffset () |
virtual void | SetPointBounds (double, double, double, double, double, double) |
virtual void | SetPointBounds (double[6]) |
virtual double * | GetPointBounds () |
virtual void | GetPointBounds (double &, double &, double &, double &, double &, double &) |
virtual void | GetPointBounds (double[6]) |
Static Public Member Functions | |
static vtkFocalPlanePointPlacer * | New () |
Protected Member Functions | |
vtkFocalPlanePointPlacer () | |
~vtkFocalPlanePointPlacer () | |
void | GetCurrentOrientation (double worldOrient[9]) |
Protected Attributes | |
double | PointBounds [6] |
double | Offset |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
Definition at line 36 of file vtkFocalPlanePointPlacer.h.
vtkFocalPlanePointPlacer::vtkFocalPlanePointPlacer | ( | ) | [protected] |
vtkFocalPlanePointPlacer::~vtkFocalPlanePointPlacer | ( | ) | [protected] |
static vtkFocalPlanePointPlacer* vtkFocalPlanePointPlacer::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkPointPlacer.
virtual const char* vtkFocalPlanePointPlacer::GetClassName | ( | ) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
static int vtkFocalPlanePointPlacer::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
virtual int vtkFocalPlanePointPlacer::IsA | ( | const char * | type | ) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
static vtkFocalPlanePointPlacer* vtkFocalPlanePointPlacer::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
void vtkFocalPlanePointPlacer::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkPointPlacer.
int vtkFocalPlanePointPlacer::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. A return value of 1 indicates that constraints of the placer are met.
Reimplemented from vtkPointPlacer.
int vtkFocalPlanePointPlacer::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 a new world position. The orientation will be the standard coordinate axes, and the computed world position will be created by projecting the display point onto a plane that is parallel to the focal plane and runs through the reference world position. This method is typically used to move existing points.
Reimplemented from vtkPointPlacer.
int vtkFocalPlanePointPlacer::ValidateWorldPosition | ( | double | worldPos[3] | ) | [virtual] |
Validate a world position. All world positions are valid so these methods always return 1.
Reimplemented from vtkPointPlacer.
int vtkFocalPlanePointPlacer::ValidateWorldPosition | ( | double | worldPos[3], | |
double | worldOrient[9] | |||
) | [virtual] |
Validate a world position. All world positions are valid so these methods always return 1.
Reimplemented from vtkPointPlacer.
virtual void vtkFocalPlanePointPlacer::SetOffset | ( | double | ) | [virtual] |
Optionally specify a signed offset from the focal plane for the points to be placed at. If negative, the constraint plane is offset closer to the camera. If positive, its further away from the camera.
virtual double vtkFocalPlanePointPlacer::GetOffset | ( | ) | [virtual] |
Optionally specify a signed offset from the focal plane for the points to be placed at. If negative, the constraint plane is offset closer to the camera. If positive, its further away from the camera.
virtual void vtkFocalPlanePointPlacer::SetPointBounds | ( | double | , | |
double | , | |||
double | , | |||
double | , | |||
double | , | |||
double | ||||
) | [virtual] |
Optionally Restrict the points to a set of bounds. The placer will invalidate points outside these bounds.
virtual void vtkFocalPlanePointPlacer::SetPointBounds | ( | double | [6] | ) | [virtual] |
Optionally Restrict the points to a set of bounds. The placer will invalidate points outside these bounds.
virtual double* vtkFocalPlanePointPlacer::GetPointBounds | ( | ) | [virtual] |
Optionally Restrict the points to a set of bounds. The placer will invalidate points outside these bounds.
virtual void vtkFocalPlanePointPlacer::GetPointBounds | ( | double & | , | |
double & | , | |||
double & | , | |||
double & | , | |||
double & | , | |||
double & | ||||
) | [virtual] |
Optionally Restrict the points to a set of bounds. The placer will invalidate points outside these bounds.
virtual void vtkFocalPlanePointPlacer::GetPointBounds | ( | double | [6] | ) | [virtual] |
Optionally Restrict the points to a set of bounds. The placer will invalidate points outside these bounds.
void vtkFocalPlanePointPlacer::GetCurrentOrientation | ( | double | worldOrient[9] | ) | [protected] |
double vtkFocalPlanePointPlacer::PointBounds[6] [protected] |
Definition at line 96 of file vtkFocalPlanePointPlacer.h.
double vtkFocalPlanePointPlacer::Offset [protected] |
Definition at line 97 of file vtkFocalPlanePointPlacer.h.