VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkFocalPlanePointPlacer Class Reference

#include <vtkFocalPlanePointPlacer.h>

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

List of all members.

- Public Types inherited from vtkObject

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 void SetPixelTolerance (int)
virtual int GetPixelTolerance ()
virtual void SetWorldTolerance (double)
virtual double GetWorldTolerance ()
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char debugFlag)
virtual void Modified ()
virtual unsigned long GetMTime ()
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
vtkCommandGetCommand (unsigned long tag)
void RemoveObserver (vtkCommand *)
void RemoveObservers (unsigned long event, vtkCommand *)
void RemoveObservers (const char *event, vtkCommand *)
int HasObserver (unsigned long event, vtkCommand *)
int HasObserver (const char *event, vtkCommand *)
void RemoveObserver (unsigned long tag)
void RemoveObservers (unsigned long event)
void RemoveObservers (const char *event)
void RemoveAllObservers ()
int HasObserver (unsigned long event)
int HasObserver (const char *event)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
int InvokeEvent (unsigned long event, void *callData)
int InvokeEvent (const char *event, void *callData)
int InvokeEvent (unsigned long event)
int InvokeEvent (const char *event)
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
virtual void Delete ()
virtual void FastDelete ()
void Print (ostream &os)
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)
void SetReferenceCount (int)
void PrintRevisions (ostream &os)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
int GetReferenceCount ()

Static Public Member Functions

static vtkFocalPlanePointPlacerNew ()
- Static Public Member Functions inherited from vtkObject
static void BreakOnError ()
static void SetGlobalWarningDisplay (int val)
static void GlobalWarningDisplayOn ()
static void GlobalWarningDisplayOff ()
static int GetGlobalWarningDisplay ()

Protected Member Functions

 vtkFocalPlanePointPlacer ()
 ~vtkFocalPlanePointPlacer ()
void GetCurrentOrientation (double worldOrient[9])
- Protected Member Functions inherited from vtkPointPlacer
 vtkPointPlacer ()
 ~vtkPointPlacer ()
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
virtual void ReportReferences (vtkGarbageCollector *)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Protected Attributes

double PointBounds [6]
double Offset
- Protected Attributes inherited from vtkPointPlacer
int PixelTolerance
double WorldTolerance
- Protected Attributes inherited from vtkObject
unsigned char Debug
vtkTimeStamp MTime
vtkSubjectHelper * SubjectHelper
- Protected Attributes inherited from vtkObjectBase
int ReferenceCount
vtkWeakPointerBase ** WeakPointers
typedef vtkPointPlacer Superclass
static int IsTypeOf (const char *type)
static vtkFocalPlanePointPlacerSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Additional Inherited Members


Detailed Description

Definition at line 28 of file vtkFocalPlanePointPlacer.h.


Member Typedef Documentation

Standard methods for instances of this class.

Reimplemented from vtkPointPlacer.

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.

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

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: