VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkFocalPlanePointPlacer Class Reference

#include <vtkFocalPlanePointPlacer.h>

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

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])
 
- Public Member Functions inherited from vtkPointPlacer
virtual int ValidateDisplayPosition (vtkRenderer *, double displayPos[2])
 
virtual int UpdateInternalState ()
 
virtual int UpdateWorldPosition (vtkRenderer *ren, double worldPos[3], double worldOrient[9])
 
virtual int UpdateNodeWorldPosition (double worldPos[3], vtkIdType nodePointId)
 
virtual void SetPixelTolerance (int)
 
virtual int GetPixelTolerance ()
 
virtual void SetWorldTolerance (double)
 
virtual double GetWorldTolerance ()
 
vtkPointPlacerNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkFocalPlanePointPlacerNew ()
 
- Static Public Member Functions inherited from vtkPointPlacer
static vtkPointPlacerNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPointPlacerSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

 vtkFocalPlanePointPlacer ()
 
 ~vtkFocalPlanePointPlacer ()
 
void GetCurrentOrientation (double worldOrient[9])
 
- Protected Member Functions inherited from vtkPointPlacer
 vtkPointPlacer ()
 
 ~vtkPointPlacer ()
 

Protected Attributes

double PointBounds [6]
 
double Offset
 
- Protected Attributes inherited from vtkPointPlacer
int PixelTolerance
 
double WorldTolerance
 
typedef vtkPointPlacer Superclass
 
static int IsTypeOf (const char *type)
 
static vtkFocalPlanePointPlacerSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkFocalPlanePointPlacerNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

Detailed Description

Definition at line 28 of file vtkFocalPlanePointPlacer.h.

Member Typedef Documentation

Standard methods for instances of this class.

Definition at line 36 of file vtkFocalPlanePointPlacer.h.

Constructor & Destructor Documentation

vtkFocalPlanePointPlacer::vtkFocalPlanePointPlacer ( )
protected
vtkFocalPlanePointPlacer::~vtkFocalPlanePointPlacer ( )
protected

Member Function Documentation

static vtkFocalPlanePointPlacer* vtkFocalPlanePointPlacer::New ( )
static

Instantiate this class.

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

Standard methods for instances of this class.

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

Standard methods for instances of this class.

Reimplemented from vtkPointPlacer.

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

Standard methods for instances of this class.

virtual vtkObjectBase* vtkFocalPlanePointPlacer::NewInstanceInternal ( ) const
protectedvirtual

Standard methods for instances of this class.

Reimplemented from vtkPointPlacer.

vtkFocalPlanePointPlacer* vtkFocalPlanePointPlacer::NewInstance ( ) const

Standard methods for instances of this class.

void vtkFocalPlanePointPlacer::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Standard methods for instances of this class.

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

Member Data Documentation

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.


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