OpenFrames
Classes | Typedefs | Functions
OpenFrames Namespace Reference

Classes

class  CoordinateAxes
 A type of ReferenceFrame that displays X, Y, and Z axes. More...
 
class  CurveArtist
 This class draws Trajectory points connected by lines. More...
 
class  DepthPartitionCallback
 This class analyzes and partitions a scene for rendering. More...
 
class  DepthPartitioner
 This class sets up depth partitioning. More...
 
class  DescendantTracker
 This class stores the path from the tracked frame. More...
 
class  DistanceAccumulator
 This class computes distances to drawables and splits the scene if necessary. More...
 
class  DrawableTrajectory
 This class provides a ReferenceFrame for TrajectoryArtists. More...
 
class  EmbeddedGraphics
 The class of GraphicsWindow used for embedded graphics. More...
 
class  FollowingTrackball
 Defines transforms that can perform complex view transformations. More...
 
class  FrameManager
 This class allows priority access to a ReferenceFrame heirarchy. More...
 
class  FramePathVerifier
 This class determines whether a FramePath is valid. More...
 
class  FramerateLimiter
 This class implements a framerate-limiting algorithm. More...
 
class  FrameTracker
 This class tracks children of a reference frame. More...
 
class  FrameTransform
 This class transforms from local to world coordinates or vice versa. More...
 
class  LatLonGrid
 This class draws a spherical lat-lon grid. More...
 
class  MarkerArtist
 This class draws markers at trajectory points. More...
 
class  Model
 A Reference Frame that contains a 3D model. More...
 
class  ModelDraggerTransformCallback
 This class enables dragging of a model. More...
 
class  OpenVRDevice
 Represents data needed to use an OpenVR-supported HMD. More...
 
class  OpenVREvent
 An OSG-compatible event adapter for OpenVR. More...
 
class  OpenVREventDevice
 Polls for OpenVR events and stores them in its OSG event queue. More...
 
class  OpenVRImageHandler
 Event handler that enables clicking on an image using VR controllers. More...
 
class  OpenVRSlaveCallback
 This class computes per-eye view matrices. More...
 
class  OpenVRSwapBuffers
 This class submits eye textures to OpenVR. More...
 
class  OpenVRTrackball
 This class extends FollowingTrackball to include the OpenVR HMD transform. More...
 
class  QGraphicsViewAdapter
 
class  QWidgetImage
 
class  QWidgetPanel
 ReferenceFrame with Qt control panel on plane. More...
 
class  RadialPlane
 ReferenceFrame for drawing radial plane. More...
 
class  ReferenceFrame
 
class  RenderRectangle
 Encapsulates a rectangle in which a scene can be rendered. More...
 
class  SegmentArtist
 
class  SkySphere
 Extends OpenFrames::Sphere. More...
 
class  Sphere
 A ReferenceFrame with a sphere at the origin. More...
 
class  SubtreeTracker
 Remembers each frame of a tracked frame. More...
 
class  Trajectory
 Holds a collection of data vectors. More...
 
class  TrajectoryArtist
 Abstract class for Trajectory objects. More...
 
class  TrajectoryFollower
 Updates FrameTransform objects from Trajectory objects. More...
 
class  TrajectorySubscriber
 Abstract base class that is informed of changes to Trajectory objects. More...
 
class  TransformAccumulator
 Computes the transformation of a ReferenceFrame wrt an ancestor. More...
 
class  TransformVisitor
 Accumulates the transform along a path. More...
 
class  Vector
 This class defines an actual drawable Vector of variable geometry. More...
 
class  View
 Encapsulates variables needed for a view. More...
 
class  VRCamera
 Encapsulates cameras used for VR stereo rendering. More...
 
class  VRCameraManager
 Creates and manages VR cameras for the depth partitioner. More...
 
class  VRTextureBuffer
 Encapsulates textures used for VR offscreen rendering. More...
 
class  WindowEventHandler
 This class handles incoming events. More...
 
class  WindowProxy
 Defines an interface that can draw a scene onto any window. More...
 

Typedefs

typedef std::vector< ReferenceFrame * > FramePath
 

Functions

QCoreApplication * getOrCreateQApplication ()
 
void updateProjectionMatrix (osg::Matrix &proj, const double &zNear, const double &zfar)
 
osg::Viewport * getMainViewport (osg::View *view)
 
osg::GraphicsContext * getMainGraphicsContext (osg::View *view)
 

Detailed Description

This namespace contains all OpenFrames code/functionality.

Function Documentation

◆ getMainGraphicsContext()

osg::GraphicsContext* OpenFrames::getMainGraphicsContext ( osg::View *  view)

Get the osg::View's graphics context by searching its master camera then slave cameras

◆ getMainViewport()

osg::Viewport* OpenFrames::getMainViewport ( osg::View *  view)

Get the osg::View's viewport by searching its master camera then slave cameras

◆ updateProjectionMatrix()

void OpenFrames::updateProjectionMatrix ( osg::Matrix &  proj,
const double &  zNear,
const double &  zfar 
)

OpenFrames function that updates a projection matrix with specified near/far plane