vtkSynchronizedRenderers subclass that handles adjusting of camera for cave configurations. More...
#include <vtkCaveSynchronizedRenderers.h>
Public Types | |
typedef vtkSynchronizedRenderers | Superclass |
Public Types inherited from vtkSynchronizedRenderers | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Public Member Functions inherited from vtkSynchronizedRenderers | |
vtkSynchronizedRenderers * | NewInstance () const |
void | CollectiveExpandForVisiblePropBounds (double bounds[6]) |
virtual vtkRenderer * | GetRenderer () |
virtual void | SetParallelController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetParallelController () |
virtual void | SetParallelRendering (bool) |
virtual bool | GetParallelRendering () |
virtual void | ParallelRenderingOn () |
virtual void | ParallelRenderingOff () |
virtual void | SetImageReductionFactor (int) |
virtual int | GetImageReductionFactor () |
virtual void | SetWriteBackImages (bool) |
virtual bool | GetWriteBackImages () |
virtual void | WriteBackImagesOn () |
virtual void | WriteBackImagesOff () |
virtual void | SetRootProcessId (int) |
virtual int | GetRootProcessId () |
virtual void | SetCaptureDelegate (vtkSynchronizedRenderers *) |
virtual vtkSynchronizedRenderers * | GetCaptureDelegate () |
virtual void | SetAutomaticEventHandling (bool) |
virtual bool | GetAutomaticEventHandling () |
virtual void | AutomaticEventHandlingOn () |
virtual void | AutomaticEventHandlingOff () |
virtual vtkRenderer * | GetRenderer () |
virtual void | SetParallelController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetParallelController () |
virtual void | SetParallelRendering (bool) |
virtual bool | GetParallelRendering () |
virtual void | ParallelRenderingOn () |
virtual void | ParallelRenderingOff () |
virtual void | SetImageReductionFactor (int) |
virtual int | GetImageReductionFactor () |
virtual void | SetWriteBackImages (bool) |
virtual bool | GetWriteBackImages () |
virtual void | WriteBackImagesOn () |
virtual void | WriteBackImagesOff () |
virtual void | SetRootProcessId (int) |
virtual int | GetRootProcessId () |
virtual void | SetCaptureDelegate (vtkSynchronizedRenderers *) |
virtual vtkSynchronizedRenderers * | GetCaptureDelegate () |
virtual void | SetAutomaticEventHandling (bool) |
virtual bool | GetAutomaticEventHandling () |
virtual void | AutomaticEventHandlingOn () |
virtual void | AutomaticEventHandlingOff () |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
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) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (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 *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (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 *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
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) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Static Public Member Functions | |
static vtkCaveSynchronizedRenderers * | New () |
static int | IsTypeOf (const char *type) |
static vtkCaveSynchronizedRenderers * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkSynchronizedRenderers | |
static vtkSynchronizedRenderers * | New () |
static int | IsTypeOf (const char *type) |
static vtkSynchronizedRenderers * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkCaveSynchronizedRenderers () | |
~vtkCaveSynchronizedRenderers () override | |
void | HandleStartRender () override |
Called at the start of each render. More... | |
void | ProcessCaveConfiguration () |
During constructor, processes the configuration file to setup the display information. More... | |
void | SetNumberOfDisplays (int numberOfDisplays) |
These are to initialize the displays. More... | |
void | SetEyeSeparation (double eyeSeparation) |
Set the eye separation for all the displays. More... | |
void | DefineDisplay (int idx, double origin[3], double x[3], double y[3]) |
void | ComputeCamera (vtkCamera *cam) |
Method to update the camera. More... | |
void | SetRenderer (vtkRenderer *renderer) override |
Override Superclass to compute Displays parameters in case of a single screen cave (e.g. More... | |
Protected Member Functions inherited from vtkSynchronizedRenderers | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkSynchronizedRenderers () | |
~vtkSynchronizedRenderers () | |
virtual void | HandleEndRender () |
virtual void | HandleAbortRender () |
virtual void | MasterStartRender () |
virtual void | SlaveStartRender () |
virtual void | MasterEndRender () |
virtual void | SlaveEndRender () |
virtual vtkRawImage & | CaptureRenderedImage () |
virtual void | PushImageToScreen () |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
double | EyeSeparation |
int | NumberOfDisplays |
double ** | Displays |
double | DisplayOrigin [3] |
double | DisplayX [3] |
double | DisplayY [3] |
int | once |
Protected Attributes inherited from vtkSynchronizedRenderers | |
vtkMultiProcessController * | ParallelController |
vtkOpenGLRenderer * | Renderer |
vtkSynchronizedRenderers * | CaptureDelegate |
vtkRawImage | ReducedImage |
vtkRawImage | FullImage |
bool | ParallelRendering |
int | ImageReductionFactor |
bool | WriteBackImages |
int | RootProcessId |
bool | AutomaticEventHandling |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
Public Attributes inherited from vtkSynchronizedRenderers | |
SYNC_RENDERER_TAG | |
RESET_CAMERA_TAG | |
COMPUTE_BOUNDS_TAG | |
vtkSynchronizedRenderers subclass that handles adjusting of camera for cave configurations.
vtkCaveSynchronizedRenderers is vtkSynchronizedRenderers used for in CAVE configuration. It is used on the render-server side. It ensures that the camera is transformed based on the orientations specified in the pvx configuration file. This code was previously in class vtkCaveRenderManager.
In case of a single display, if the cave bounds are not set, we compute these values from vtkDisplayConfiguration::Geometry and the client camera view angle.
Definition at line 27 of file vtkCaveSynchronizedRenderers.h.
Definition at line 31 of file vtkCaveSynchronizedRenderers.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkSynchronizedRenderers.
|
static |
|
overridevirtual |
Reimplemented from vtkSynchronizedRenderers.
|
overrideprotectedvirtual |
Called at the start of each render.
Overridden to ensure that the camera is updated based on the configuration.
Reimplemented from vtkSynchronizedRenderers.
|
protected |
During constructor, processes the configuration file to setup the display information.
|
protected |
These are to initialize the displays.
(This is directly copied from vtkCaveRenderManager).
|
protected |
Set the eye separation for all the displays.
|
protected |
|
protected |
Method to update the camera.
|
overrideprotectedvirtual |
Override Superclass to compute Displays parameters in case of a single screen cave (e.g.
zSpace)
Reimplemented from vtkSynchronizedRenderers.
|
protected |
Definition at line 74 of file vtkCaveSynchronizedRenderers.h.
|
protected |
Definition at line 75 of file vtkCaveSynchronizedRenderers.h.
|
protected |
Definition at line 76 of file vtkCaveSynchronizedRenderers.h.
|
protected |
Definition at line 77 of file vtkCaveSynchronizedRenderers.h.
|
protected |
Definition at line 78 of file vtkCaveSynchronizedRenderers.h.
|
protected |
Definition at line 79 of file vtkCaveSynchronizedRenderers.h.
|
protected |
Definition at line 80 of file vtkCaveSynchronizedRenderers.h.