7 #ifndef __viewer_QuickViewer_h__ 8 #define __viewer_QuickViewer_h__ 27 void initialize(
void);
31 {
return m_spObjectViewer->frameRate(); }
33 { m_spWindowI=spWindowI; }
36 {
return m_spObjectViewer->getCameraControllerI(); }
38 {
return m_spObjectViewer->getDrawI(); }
40 {
return m_spWindowI; }
42 {
return m_spInterestHandler->m_spCameraControllerI
43 ->interestMatrix().translation(); }
45 {
return m_spInterestHandler->m_spCameraControllerI
46 ->auxillaryMatrix().translation(); }
48 virtual void insertEventHandler(
sp<HandlerI> spHandlerI);
50 virtual void open(
void);
51 virtual void reopen(
void);
52 virtual void run(U32 frames);
56 class InterestHandler:
61 InterestHandler(
void) {}
64 { m_spDrawI=spDrawI; }
66 { m_spCameraControllerI=spCameraControllerI; }
71 virtual void handle(
Record& render);
virtual Real frameRate(void) const
Returns frames per seconds.
Definition: QuickViewer.h:30
Self-configuring delegate for ObjectViewer.
Definition: QuickViewer.h:20
virtual sp< WindowI > getWindowI(void) const
Returns the internally-created WindowI.
Definition: QuickViewer.h:39
virtual SpatialVector auxilliaryPoint(void) const
Returns the secondary point.
Definition: QuickViewer.h:44
kernel
Definition: namespace.dox:3
virtual sp< CameraControllerI > getCameraControllerI(void) const
Returns the current CameraControllerI.
Definition: QuickViewer.h:35
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Self-configuring Viewer.
Definition: QuickViewerI.h:20
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
virtual SpatialVector interestPoint(void) const
Returns the center of attention.
Definition: QuickViewer.h:41
SignalerViewerI attributes.
Definition: SignalerViewerI.h:37
virtual sp< DrawI > getDrawI(void) const
Returns the current DrawI.
Definition: QuickViewer.h:37
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192