#include <gls_multi_view.h>
|
class | GlsMultiView |
|
class | GlsMultiViewEditor |
|
The ViewData class. Describes a single view within GlsMultiView.
◆ AbsolutePixels() [1/2]
bool AbsolutePixels |
( |
| ) |
const |
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.
- Returns
- the current absolute pixels flag
◆ AbsolutePixels() [2/2]
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.
◆ Attributes()
- Returns
- The attribute dictionary for this view.
◆ Bottom()
◆ ClearBackground() [1/2]
int ClearBackground |
( |
| ) |
const |
- Returns
- The clear background mode.
◆ ClearBackground() [2/2]
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
◆ CopyBaseData()
void CopyBaseData |
( |
const ViewData & |
other | ) |
|
Copies the baseline data from the other view object. This does not include derived or cached values (like matrices / object pointers).
- Parameters
-
other | The object to copy from. |
◆ DesiredEyePoint()
- Returns
- The name of the view's eyepoint.
◆ GetEyePoint()
Finds the eyepoint or returns a previously found one. It will be based on the _desiredEyePoint.
- Parameters
-
heirarchiedObject | The point in the hierarchy to start searching for the eyepoint. |
- Returns
- A pointer to the found eyepoint, else NULL.
◆ GetScreenRect()
void GetScreenRect |
( |
float * |
bottom, |
|
|
float * |
left, |
|
|
float * |
top, |
|
|
float * |
right |
|
) |
| const |
Returns the current screen rectangle.
- Parameters
-
bottom | The returned bottom corner of the view rectangle. |
left | The returned left corner of the view rectangle. |
top | The returned top corner of the view rectangle. |
right | The returned right corner of the view rectangle. |
◆ Left()
◆ NotifyAttributeChanged()
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
-
name | the name of the attribute |
Implements AttributeChangedNotifier.
◆ operator=()
Assignment operator
- Returns
- The resulting object (this).
◆ Pickable() [1/2]
- Returns
- The pickability of this view.
◆ Pickable() [2/2]
Set if this view is pickable. If true, and PickGeometry() is false, the view area will be picked.
◆ PickGeometry() [1/2]
bool PickGeometry |
( |
| ) |
const |
- Returns
- The pick geometry flag.
◆ PickGeometry() [2/2]
void PickGeometry |
( |
const bool & |
| ) |
|
Sets the pick geometry flag When true, the geometry will be traversed with Pick3D in this view.
◆ Right()
◆ SavedMatrices()
- Returns
- the cached OpenGL matrices from the previous frame's draw
◆ SetScreenRect()
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.
- Parameters
-
bottom | The bottom corner of the view rectangle. |
left | The left corner of the view rectangle. |
top | The top corner of the view rectangle. |
right | The right corner of the view rectangle. |
◆ Top()
◆ Visible()
- Returns
- The visibility of this view.
The documentation for this class was generated from the following file: