IGSTK
Public Member Functions | Protected Member Functions | List of all members
igstk::View3D Class Reference

Provides the functionality of rendering a scene in a 3D window. More...

#include <igstkView3D.h>

Inheritance diagram for igstk::View3D:
Inheritance graph
[legend]
Collaboration diagram for igstk::View3D:
Collaboration graph
[legend]

Public Member Functions

 igstkStandardClassTraitsMacro (View3D, View)
 
void PrintSelf (std::ostream &os,::itk::Indent indent) const
 Print the object information in a stream. More...
 
- Public Member Functions inherited from igstk::View
 igstkStandardClassTraitsMacro (View, Object)
 Macro with standard traits declarations. More...
 
void SetRefreshRate (double frequency)
 Set the desired frequency for refreshing the view. More...
 
void RequestAddObject (ObjectRepresentation *object)
 Add an object representation to the list of children and associate it with a specific view. More...
 
void RequestAddAnnotation2D (Annotation2D::Pointer annotation)
 Add annotation to the view. More...
 
void RequestRemoveObject (ObjectRepresentation *object)
 Remove the object passed as arguments from the list of children, only if it is associated to a particular view. More...
 
void RequestSaveScreenShot (const std::string &filename)
 Request to save a screen shot into a file. More...
 
void Print (std::ostream &os,::itk::Indent indent=0) const
 Print the object information in a stream. More...
 
void SetLogger (LoggerType *logger)
 
void RequestResetCamera ()
 Request to return the camera to a known position. More...
 
void RequestStart ()
 Request Start the periodic refreshing of the view. More...
 
void RequestStop ()
 Request Stopping the periodic refreshing of the view. More...
 
void SetCameraPosition (double x, double y, double z)
 Set Camera position. More...
 
void SetCameraFocalPoint (double x, double y, double z)
 Set camera focal point. More...
 
void SetCameraViewUp (double vx, double vy, double vz)
 Set Camera View Up vector. More...
 
void SetCameraClippingRange (double dNear, double dFar)
 Set Clipping range. More...
 
void SetCameraParallelProjection (bool flag)
 Turn on/off parallel projection. More...
 
void SetRendererBackgroundColor (double red, double green, double blue)
 Set renderer background color. More...
 
void SetCameraZoomFactor (double rate)
 Set camera zoom factor. More...
 
- Public Member Functions inherited from igstk::Object
virtual const char * GetNameOfClass () const
 
void SetLogger (LoggerType *logger)
 Connect the Logger for this class. More...
 
void RemoveObserver (unsigned long tag) const
 

Protected Member Functions

 View3D ()
 Constructor. More...
 
virtual ~View3D (void)
 Destructor. More...
 
- Protected Member Functions inherited from igstk::View
LoggerTypeGetLogger () const
 Set up variables, types and methods related to the Logger. More...
 
 View ()
 
virtual ~View (void)
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 Print the object information in a stream. More...
 
void SetInteractorStyle (vtkInteractorStyle *style)
 Set the interactor style in the derived classes. More...
 
void RequestSetRenderWindowSize (int width, int height)
 Set the size of the render window. More...
 
void RequestInitializeRenderWindowInteractor ()
 Request initialize the RenderWindow interactor. More...
 
void SetPickedPointCoordinates (double xPosition, double yPosition)
 Sets the coordinates of the point picked. More...
 
- Protected Member Functions inherited from igstk::Object
LoggerTypeGetLogger () const
 
 Object (void)
 Constructor is protected in order to enforce the use of the New() operator. More...
 
virtual ~Object (void)
 
void RegisterObservedObject (const ::igstk::Object *object, unsigned long tag)
 Register observed objects in an internal array so that they can be disconnected upon destruction. More...
 
void RemoveFromObservedObjects ()
 Remove observers that this object may have connected to other objects. More...
 

Additional Inherited Members

- Public Types inherited from igstk::Object
typedef Object Self
 General Typedefs. More...
 
typedef ::itk::Object Superclass
 
typedef ::itk::SmartPointer< SelfPointer
 
typedef ::itk::SmartPointer
< const Self
ConstPointer
 
typedef igstk::Logger LoggerType
 
- Static Public Member Functions inherited from igstk::Object
static Pointer New (void)
 

Detailed Description

Provides the functionality of rendering a scene in a 3D window.

This class derives from the View class, and represents the abstraction of a window in a GUI in which 3D objects will be displayed but from a point of view in which the camera can change its orientation and position.

igstkView3D.png
View3D State Machine Diagram
See Also
View
View2D

Definition at line 43 of file igstkView3D.h.

Constructor & Destructor Documentation

igstk::View3D::View3D ( )
protected

Constructor.

virtual igstk::View3D::~View3D ( void  )
protectedvirtual

Destructor.

Member Function Documentation

igstk::View3D::igstkStandardClassTraitsMacro ( View3D  ,
View   
)
void igstk::View3D::PrintSelf ( std::ostream &  os,
::itk::Indent  indent 
) const

Print the object information in a stream.


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