IGSTK
|
Provides the functionality of rendering a scene in a 3D window. More...
#include <igstkView3D.h>
Public Member Functions | |
igstkStandardClassTraitsMacro (View3D, View) | |
void | PrintSelf (std::ostream &os,::itk::Indent indent) const |
Print the object information in a stream. More... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
LoggerType * | GetLogger () 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... | |
![]() | |
LoggerType * | GetLogger () 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 | |
![]() | |
typedef Object | Self |
General Typedefs. More... | |
typedef ::itk::Object | Superclass |
typedef ::itk::SmartPointer< Self > | Pointer |
typedef ::itk::SmartPointer < const Self > | ConstPointer |
typedef igstk::Logger | LoggerType |
![]() | |
static Pointer | New (void) |
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.
Definition at line 43 of file igstkView3D.h.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
void igstk::View3D::PrintSelf | ( | std::ostream & | os, |
::itk::Indent | indent | ||
) | const |
Print the object information in a stream.