#include <viewport.h>
Public Member Functions | |
vtkSmartPointer< vtkRenderer > | getRenderer () const |
void | setCamera (Camera *camera) |
Viewport (vtkSmartPointer< vtkRenderWindow > window, double xmin=0.0, double ymin=0.0, double xmax=1.0, double ymax=1.0) | |
Private Member Functions | |
void | viewportActorUpdate () |
void | viewportHudUpdate () |
void | viewportModified () |
Static Private Member Functions | |
static void | viewportActorUpdateCallback (vtkObject *caller, unsigned long int vtkNotUsed(eventId), void *vtkNotUsed(clientData), void *vtkNotUsed(callData)) |
static void | viewportHudUpdateCallback (vtkObject *caller, unsigned long int vtkNotUsed(eventId), void *vtkNotUsed(clientData), void *vtkNotUsed(callData)) |
static void | viewportModifiedCallback (vtkObject *caller, unsigned long int vtkNotUsed(eventId), void *vtkNotUsed(clientData), void *vtkNotUsed(callData)) |
Private Attributes | |
vtkSmartPointer< vtkTextActor > | camera_hud_actor_ |
vtkSmartPointer< vtkTextActor > | fps_hud_actor_ |
vtkSmartPointer< vtkTextActor > | points_hud_actor_ |
vtkSmartPointer< vtkRenderer > | renderer_ |
vtkSmartPointer < vtkCallbackCommand > | viewport_actor_update_callback_ |
vtkSmartPointer < vtkCallbackCommand > | viewport_hud_callback_ |
vtkSmartPointer < vtkCallbackCommand > | viewport_modified_callback_ |
Definition at line 20 of file viewport.h.
Viewport::Viewport | ( | vtkSmartPointer< vtkRenderWindow > | window, |
double | xmin = 0.0 , |
||
double | ymin = 0.0 , |
||
double | xmax = 1.0 , |
||
double | ymax = 1.0 |
||
) |
Definition at line 36 of file viewport.cpp.
vtkSmartPointer<vtkRenderer> Viewport::getRenderer | ( | ) | const [inline] |
Definition at line 32 of file viewport.h.
void Viewport::setCamera | ( | Camera * | camera | ) | [inline] |
Definition at line 38 of file viewport.h.
void Viewport::viewportActorUpdate | ( | ) | [private] |
Definition at line 141 of file viewport.cpp.
void Viewport::viewportActorUpdateCallback | ( | vtkObject * | caller, |
unsigned long int | vtkNotUsedeventId, | ||
void * | vtkNotUsedclientData, | ||
void * | vtkNotUsedcallData | ||
) | [static, private] |
Definition at line 133 of file viewport.cpp.
void Viewport::viewportHudUpdate | ( | ) | [private] |
Definition at line 178 of file viewport.cpp.
void Viewport::viewportHudUpdateCallback | ( | vtkObject * | caller, |
unsigned long int | vtkNotUsedeventId, | ||
void * | vtkNotUsedclientData, | ||
void * | vtkNotUsedcallData | ||
) | [static, private] |
Definition at line 170 of file viewport.cpp.
void Viewport::viewportModified | ( | ) | [private] |
Definition at line 117 of file viewport.cpp.
void Viewport::viewportModifiedCallback | ( | vtkObject * | caller, |
unsigned long int | vtkNotUsedeventId, | ||
void * | vtkNotUsedclientData, | ||
void * | vtkNotUsedcallData | ||
) | [static, private] |
Definition at line 109 of file viewport.cpp.
vtkSmartPointer<vtkTextActor> Viewport::camera_hud_actor_ [private] |
Definition at line 77 of file viewport.h.
vtkSmartPointer<vtkTextActor> Viewport::fps_hud_actor_ [private] |
Definition at line 78 of file viewport.h.
vtkSmartPointer<vtkTextActor> Viewport::points_hud_actor_ [private] |
Definition at line 79 of file viewport.h.
vtkSmartPointer<vtkRenderer> Viewport::renderer_ [private] |
Definition at line 72 of file viewport.h.
vtkSmartPointer<vtkCallbackCommand> Viewport::viewport_actor_update_callback_ [private] |
Definition at line 74 of file viewport.h.
vtkSmartPointer<vtkCallbackCommand> Viewport::viewport_hud_callback_ [private] |
Definition at line 75 of file viewport.h.
vtkSmartPointer<vtkCallbackCommand> Viewport::viewport_modified_callback_ [private] |
Definition at line 73 of file viewport.h.