GL Studio C++ Runtime API
GlsMultiView::ViewData Class Reference
Inheritance diagram for GlsMultiView::ViewData:
AttributeChangedNotifier

Public Member Functions

const ViewDataoperator= (const ViewData &)
 
virtual void NotifyAttributeChanged (const AttributeName &name)
 
void SetScreenRect (float bottom, float left, float top, float right)
 
void GetScreenRect (float *bottom, float *left, float *top, float *right)
 
void Bottom (const float &)
 
float Bottom ()
 
void Left (const float &)
 
float Left ()
 
void Top (const float &)
 
float Top ()
 
void Right (const float &)
 
float Right ()
 
void AbsolutePixels (const bool &)
 
bool AbsolutePixels ()
 
void EyePoint (GlsEyePoint *)
 
void ClearBackground (const int &)
 
int ClearBackground ()
 
void PickGeometry (const bool &)
 
bool PickGeometry ()
 
void Visible (const bool &)
 
bool Visible ()
 
void Pickable (const bool &)
 
bool Pickable ()
 
GlsEyePointGetEyePoint (const DisplayObject *heirarchiedObject)
 
void ForceEyePointReload ()
 
- Public Member Functions inherited from AttributeChangedNotifier
virtual ~AttributeChangedNotifier ()
 

Member Function Documentation

void AbsolutePixels ( const bool &  )

Set the absolute pixels flag When true, the Left-Right-Top-Bottom values are interpreted as pixel coordinates, otherwise they are percentage of screen space

bool AbsolutePixels ( )

Get the absolute pixels flag When true, the Left-Right-Top-Bottom values are interpreted as pixel coordinates, otherwise they are percentage of screen space

void Bottom ( const float &  )

Set the bottom value

float Bottom ( )

Gets the bottom value

void ClearBackground ( const int &  )

Sets the clear background mode 0 == Don't Clear; 1 == Clear both; 2 == Depth only; 3 == Color only

See also
ClearBackgroundEnum
int ClearBackground ( )

Gets the clear background mode

void EyePoint ( GlsEyePoint )

Sets the eyepoint to view from When NULL, the parent view is used

void ForceEyePointReload ( )

Forces eyepoint reload

GlsEyePoint* GetEyePoint ( const DisplayObject heirarchiedObject)

Finds the eyepoint or returns a previously found one. It will be based on the _desiredEyePoint.

void GetScreenRect ( float *  bottom,
float *  left,
float *  top,
float *  right 
)

Gets the current screen rectangle

void Left ( const float &  )

Sets the left value

float Left ( )

Gets the left value

virtual void NotifyAttributeChanged ( const AttributeName name)
virtual

Notify the class that the attribute has changed. Observers of the attribute will have their callbacks called

Parameters
namethe name of the attribute

Implements AttributeChangedNotifier.

const ViewData& operator= ( const ViewData )

Assignment operator

void Pickable ( const bool &  )

Sets if this view is pickable If true, and PickGeometry() is false, the view area will be picked

bool Pickable ( )

Gets the pickability of this view

void PickGeometry ( const bool &  )

Sets the pick geometry bool When true, the geometry will be traversed with Pick3D in this view.

bool PickGeometry ( )

Gets the pick geometry bool

void Right ( const float &  )

Sets the right value

float Right ( )

Gets the right value

void SetScreenRect ( float  bottom,
float  left,
float  top,
float  right 
)

Sets the Screen Rectangle The screen rect is specified in 0.0-1.0 as a ratio of the available viewport e.g. 0.0, 0.0, 1.0, 1.0 uses the full screen

void Top ( const float &  )

Sets the top value

float Top ( )

Gets the top value

void Visible ( const bool &  )

Sets the visibility of this view

bool Visible ( )

Gets the visibility of this view


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