Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::DriverEvent Class Reference

The DriverEvent class is the common base class of all driver events. More...

#include <hps.h>

Inheritance diagram for HPS::DriverEvent:
Collaboration diagram for HPS::DriverEvent:

Public Types

enum  StereoMatrix {
  StereoMatrix::ViewLeft,
  StereoMatrix::ViewRight,
  StereoMatrix::ProjectionLeft,
  StereoMatrix::ProjectionRight
}
 

Public Member Functions

virtual ~DriverEvent ()
 
intptr_t GetClassID () const
 Returns a unique identifier that is shared by all objects of the same class. More...
 
void SetStereoMatrix (StereoMatrix id, HPS::MatrixKit const &in_matrix) const
 
OpaqueHandle GetSurface (int index) const
 
OpaqueHandle GetGraphicsContext () const
 

Protected Member Functions

 DriverEvent (OpaqueHandle in_nr)
 

Protected Attributes

OpaqueHandle nr
 

Detailed Description

The DriverEvent class is the common base class of all driver events.

A driver event represents a specific action the driver performs during an update. DriverEvents occur on the driver updater thread.

Member Enumeration Documentation

◆ StereoMatrix

Enumerator
ViewLeft 
ViewRight 
ProjectionLeft 
ProjectionRight 

Constructor & Destructor Documentation

◆ ~DriverEvent()

virtual HPS::DriverEvent::~DriverEvent ( )
virtual

◆ DriverEvent()

HPS::DriverEvent::DriverEvent ( OpaqueHandle  in_nr)
inlineprotected

Member Function Documentation

◆ GetClassID()

intptr_t HPS::DriverEvent::GetClassID ( ) const

Returns a unique identifier that is shared by all objects of the same class.

◆ GetGraphicsContext()

OpaqueHandle HPS::DriverEvent::GetGraphicsContext ( ) const

◆ GetSurface()

OpaqueHandle HPS::DriverEvent::GetSurface ( int  index) const

◆ SetStereoMatrix()

void HPS::DriverEvent::SetStereoMatrix ( StereoMatrix  id,
HPS::MatrixKit const &  in_matrix 
) const

Member Data Documentation

◆ nr

OpaqueHandle HPS::DriverEvent::nr
protected

The documentation for this class was generated from the following file: