GL Studio C++ Runtime API
gls_multi_view.h
Go to the documentation of this file.
1/// \file gls_multi_view.h
2/// \brief The disti::GlsMultiView class.
3///
4/// \par Copyright Information
5///
6/// Copyright (c) 2017 by The DiSTI Corporation.<br>
7/// 12249 Science Drive; Suite 300<br>
8/// Orlando, Florida 32826<br>
9/// USA<br>
10/// <br>
11/// All rights reserved.<br>
12///
13/// This Software contains proprietary trade secrets of DiSTI and may not be
14/// reproduced, in whole or part, in any form, or by any means of electronic,
15/// mechanical, or otherwise, without the written permission of DiSTI. Said
16/// permission may be derived through the purchase of applicable DiSTI product
17/// licenses which detail the distribution rights of this content and any
18/// Derivative Works based on this or other copyrighted DiSTI Software.
19///
20/// NO WARRANTY. THE SOFTWARE IS PROVIDED "AS-IS," WITHOUT WARRANTY OF ANY KIND,
21/// AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT
22/// PERMITTED BY APPLICABLE LAW, DISTI AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES
23/// AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
24/// IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A
25/// PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE.
26///
27/// LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
28/// IN NO EVENT SHALL DISTI OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
29/// INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
30/// DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
31/// INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
32/// INABILITY TO USE THE SOFTWARE, EVEN IF DISTI HAS BEEN ADVISED OF THE POSSIBILITY
33/// OF SUCH DAMAGES. DISTI'S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY SHALL NOT
34/// EXCEED FIVE DOLLARS (US$5.00).
35///
36/// The aforementioned terms and restrictions are governed by the laws of the
37/// State of Florida and the United States of America.
38
39#ifndef INCLUDED_DISTI_GLS_MULTI_VIEW_H
40#define INCLUDED_DISTI_GLS_MULTI_VIEW_H
41
42#include "display_types.h"
43#include "gls_eyepoint.h"
44#include "group.h"
45
46/// Automatically link the runtime library plugin (on Windows).
47#define LIB_BASE_NAME "gls_multi_view"
48#include "gls_auto_lib.h"
49#undef LIB_BASE_NAME
50
51/// Provides support for creating DLLs.
52#if( defined( GLSGEN_EXPORT_GlsMultiView ) || defined( GLSGEN_IMPORT_GlsMultiView ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
53 && defined( _MSC_VER )
54# if defined( GLSGEN_EXPORT_GlsMultiView ) || defined( GLS_EXPORT_GENERATED )
55# define GLSGEN_GlsMultiView_EXPORT __declspec( dllexport )
56# else
57# define GLSGEN_GlsMultiView_EXPORT __declspec( dllimport )
58# endif
59#else
60# define GLSGEN_GlsMultiView_EXPORT
61#endif
62///////////////////////////////////////////////////////////////////////////////
63
64namespace disti
65{
66// SetValue enumerations
67enum
68{
69 GLS_GLSMULTIVIEW_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
70 GLS_GLSMULTIVIEW_VIEW_DATA,
71 GLS_GLSMULTIVIEW_VIEW_DRAWING_STATE
72};
73class ComponentLightMgr;
74
75/** Runtime implementation of GlsMultiView */
76class GlsMultiView : public Group
77{
78 friend class GlsMultiViewEditor;
79
80public:
81 DISTI_DEPRECATED( "This identifier is forbidden by the C++ standard. Use BaseClass instead." )
82 typedef Group _BaseClass; ///< Deprecated typedef for the base class.
83 typedef Group BaseClass; ///< Typedef for the base class.
84
85 /** Create a new GlsMultiView.
86 * \param generateInstance Whether or not to generate an instance name
87 * for this inputdevice */
89
90 /// Copy constructor
91 /// \param that The object to copy from.
92 /// \param generateNames Whether or not to generate an instance name.
93 GLSGEN_GlsMultiView_EXPORT GlsMultiView( const GlsMultiView& that, const bool generateNames );
94
95 /** GlsMultiView deconstructor */
97
98 /// \return A pointer to a new GlsMultiView object.
100
106
107#ifndef GLES
110#endif
111
113 const Vector& logicalCoords,
114 float scale,
115 const Vector& directionVector,
116 Vector& collisionWinLoc, /*Returned*/
117 const OpenGLMatrices& drawnMatrices ) DISTI_METHOD_OVERRIDE;
118
123
124 //////////////////////////////////////////////////
125 // Object specific operations
126 //////////////////////////////////////////////////
127
128 /// \details The ClearBackgroundEnum enumeration. Describes how the background for a given view will be cleared.
129 enum
130 {
131 CLEAR_BG_OFF = 0,
132 CLEAR_BG_DEPTH_AND_COLOR = 1,
133 CLEAR_BG_DEPTH = 2,
134 CLEAR_BG_COLOR = 3
136
137 /// \details The ViewData class. Describes a single view within GlsMultiView.
138 class ViewData : virtual public AttributeChangedNotifier
139 {
140 friend class GlsMultiView;
141 friend class GlsMultiViewEditor;
142
143 float _bottom; ///< The bottom edge of the view from 0.0 to 1.0, or in pixels if _absolutePixels is true.
144 float _left; ///< The left edge of the view from 0.0 to 1.0, or in pixels if _absolutePixels is true.
145 float _top; ///< The top edge of the view from 0.0 to 1.0, or in pixels if _absolutePixels is true.
146 float _right; ///< The right edge of the view from 0.0 to 1.0, or in pixels if _absolutePixels is true.
147 bool _absolutePixels; ///< If true, the corners are defined in screen space pixels, otherwise is the portion of the screen from 0.0 to 1.0.
148 GlsEyePoint* _eyepoint; ///< The associated eyepoint for this view, can be NULL. In this case the parent's view is used.
149 std::string _desiredEyePoint; ///< The optional name of the eyepoint to associate to this view.
150 int _clearBackground; ///< Defines the clear behavior for this view, \see ClearBackgroundEnum.
151 bool _pickGeometry; ///< If true, allows the view itself to be picked.
152 bool _visible; ///< If true, this view will be drawn.
153 bool _pickable; ///< If true, geometry within the view can be picked.
154
155 DistiAttribDict _attribDict; ///< The attribute dictionary holding the members of this class.
156 GlsMatrixType* _modelMatrix; ///< The modelview matrix associated with this view.
157 GlsMatrixType* _projMatrix; ///< The projection matrix associated with this view.
158 int* _viewPort; ///< The viewport associated with this view.
159 bool _cullerVal; ///< The state of the incoming Culler object, used in PreDraw.
160
161 GlsMultiView* _multiView; ///< Parent pointer, back to the associated GlsMultiView object.
162
163 /// \note For public access, use GetEyePoint(). It requires an object pointer.
164 /// \return The pointer to the eyepoint for this view.
165 GlsEyePoint* EyePoint();
166
167 /// Set the associated parent GlsMultiView for this view.
168 /// \param view The new parent object to set.
169 void SetMultiview( GlsMultiView* view );
170
171 /// Initializes the attribute dictionary for this object, associating member variables.
172 void InitAttributes();
173
174 public:
176
177 /// Copy constructor
179
181
182 /// Assignment operator
183 /// \return The resulting object (this).
185
186 /// Copies the baseline data from the other view object.
187 /// This does not include derived or cached values (like matrices / object pointers).
188 /// \param other The object to copy from.
190
191 /// \return The attribute dictionary for this view.
192 DistiAttribDict& Attributes() { return _attribDict; };
193
195
196 /// Sets the Screen Rectangle
197 /// The screen rect is specified in 0.0-1.0 as a ratio of the available viewport
198 /// e.g. 0.0, 0.0, 1.0, 1.0 uses the full screen.
199 /// \param bottom The bottom corner of the view rectangle.
200 /// \param left The left corner of the view rectangle.
201 /// \param top The top corner of the view rectangle.
202 /// \param right The right corner of the view rectangle.
203 GLSGEN_GlsMultiView_EXPORT void SetScreenRect( float bottom, float left, float top, float right );
204
205 /// Returns the current screen rectangle.
206 /// \param bottom The returned bottom corner of the view rectangle.
207 /// \param left The returned left corner of the view rectangle.
208 /// \param top The returned top corner of the view rectangle.
209 /// \param right The returned right corner of the view rectangle.
210 GLSGEN_GlsMultiView_EXPORT void GetScreenRect( float* bottom, float* left, float* top, float* right ) const;
211
212 /// Set the bottom value.
213 GLSGEN_GlsMultiView_EXPORT void Bottom( const float& );
214
215 /// \return The bottom value.
217
218 /// Set the left value.
219 GLSGEN_GlsMultiView_EXPORT void Left( const float& );
220
221 /// \return The left value.
223
224 /// Set the top value.
225 GLSGEN_GlsMultiView_EXPORT void Top( const float& );
226
227 /// \return The top value.
229
230 /// Set the right value.
231 GLSGEN_GlsMultiView_EXPORT void Right( const float& );
232
233 /// \return The right value.
235
236 /// Set the absolute pixels flag.
237 /// When true, the Left-Right-Top-Bottom values are interpreted
238 /// as pixel coordinates, otherwise they are percentage of screen space.
240
241 /// Get the absolute pixels flag.
242 /// When true, the Left-Right-Top-Bottom values are interpreted
243 /// as pixel coordinates, otherwise they are percentage of screen space.
244 /// \return the current absolute pixels flag
246
247 /// Sets the eyepoint to view from. When NULL, the parent view is used.
249
250 /// Sets the clear background mode
251 /// 0 == Don't Clear; 1 == Clear both; 2 == Depth only; 3 == Color only
252 /// \sa ClearBackgroundEnum
254
255 /// \return The clear background mode.
257
258 /// Sets the pick geometry flag
259 /// When true, the geometry will be traversed with Pick3D in this view.
261
262 /// \return The pick geometry flag.
264
265 /// Set the visibility of this view .
267
268 /// \return The visibility of this view.
270
271 /// Set if this view is pickable.
272 /// If true, and PickGeometry() is false, the view area will be picked.
274
275 /// \return The pickability of this view.
277
278 /// Set the name of the view's eyepoint.
280
281 /// \return The name of the view's eyepoint.
283
284 /// Finds the eyepoint or returns a previously found one.
285 /// It will be based on the _desiredEyePoint.
286 /// \param heirarchiedObject The point in the hierarchy to start searching for the eyepoint.
287 /// \return A pointer to the found eyepoint, else NULL.
289
290 /// Forces eyepoint reload, causes the multi view to trigger a redraw.
292
293 /// \return the cached OpenGL matrices from the previous frame's draw
295 };
296
297 typedef DynamicArray<ViewData> ViewDataArray; ///< Shorthand typedef for a list of views.
298
299 /// \details The ViewDrawStateEnum enumeration. Describes the drawing behavior for the multi view.
300 typedef enum
301 {
302 GEOMETRY_ONLY = 0,
303 GEOMETRY_AND_VIEWS,
304 VIEWS_ONLY
306
307 /// Set the ViewDrawingState.
309
310 /// \return the ViewDrawingState
312
313 /** Returns the number of views
314 * \return The view count
315 */
317
318 /// Returns a reference to the specified View object
319 /// Creates it (and all views with a lower id) if it doesn't exist
320 /// \param viewNumber The index of the view to return.
321 /// \return The associated view.
322 GLSGEN_GlsMultiView_EXPORT ViewData& View( unsigned int viewNumber );
323
324 /// \return A reference to the array containing the Views.
326
327 /// Return the integer id of the last view that was picked or
328 /// -1 if no view has been picked yet or if the GlsMultiview
329 /// was picked because it is set to PICK_ALWAYS.
330 /// \return The id of the last view that was picked.
332
333 /** Set the value for _emitViewDrawEvents
334 * When true, an object event is emitted at the start and
335 * end the draw of each view.
336 * VIEW_DRAW_BEGIN and VIEW_DRAW_END
337 * The data of the event is the view index.
338 *
339 * These events are currently EXPERIMENTAL and may be removed or
340 * changed in a future release. They are not accessable from the
341 * plugin GUI for this reason.
342 */
344
345 /// \return The value for _emitViewDrawEvents.
347
348 /// Draws the given view.
349 /// \note Not normally called by users.
350 /// \param viewNumber The index of the view to draw.
351 /// \param view The view data of the view to draw.
352 GLSGEN_GlsMultiView_EXPORT void DrawView( unsigned int viewNumber, ViewData* view );
353
354protected:
355 /// Calculate the matrices that are used for drawing the given view.
356 /// This method is called during the PreDraw, then the matrices
357 /// are used to setup the geometry for the Draw and Pick3D later.
358 /// \note Not normally called by users.
359 /// \param parentMatrices The initial matrix state at the parent view.
360 /// \param culler The intial culler state at the parent view.
361 /// \param view The view to calculate matrices for.
363
364 /// Applies the matrices for the given view to the geometry in preparation for a pick or draw.
365 /// \note Not normally called by users.
366 /// \param viewNumber The number of the last view predraw or -1 if predraw used parent's view.
367 /// \param view The view data to predraw for.
368 /// \return True if the predraw was successful (view data is valid).
370
371 /// Forces a recalculation of parent lighting based on the current view.
372 /// \note Not normally called by users.
373 /// \param view The view to be used when calling ComponentLightMgr::ReapplyLightsForEyePoint().
375
376#ifdef GLES
377 /** Set a single attribute from the GLO file.
378 * \param data The attribute to set and its associated data.
379 */
381#endif
382
383 ViewDrawStateEnum _viewDrawingState; ///< The drawing behavior for the multi view, generally VIEWS_ONLY.
384 ViewDataArray _viewArray; ///< The list of all views associated with this multi view.
385 ViewData _mainViewData; ///< The main (parent) view used for drawing geometry based views.
386 int _lastViewPicked; ///< The index of the last view picked, or -1 if the main view.
387 int _lastViewPredraw; ///< The index of the last view predraw or -1 if predraw used parent's view.
388
389 bool _showHighlights; ///< Used by the editor to turn on and off highlights.
390 int _highlightView; ///< Used by the editor to highlight a specific view. -1 is none.
391
392 bool _emitViewDrawEvents; ///< If true, will emit VIEW_DRAW_BEGIN / VIEW_DRAW_END object events on draw.
393
394 ComponentLightMgr* _multiViewLightMgr; ///< Our very own light manager.
395 bool _childLightsAffectGlobal; ///< Calculated internally based on if geometry is drawn.
396
397 GlsMatrixType _savedProjectionMatrix; ///< Stores the projection matrix from PreDraw for restoring after DrawView
398
399private:
400 void OnViewDataChanged();
401 void OnViewDrawingStateChanged();
402 void OnViewArrayChange();
403
406};
407
408/// \details The DistiAttributeViewDataArray class. Allows access to GlsMultiView::ViewData through the resource interface.
410{
411 GlsMultiView::ViewDataArray& _array; ///< Observing reference to underlying view data storage.
412
413public:
414 /// Constructor, uses existing storage
415 /// \param caller The callback to call when this attribute changes.
416 /// \param name The name of the attribute.
417 /// \param array The existing view data storage.
419 : DistiAttributeBase( caller, name, false )
420 , _array( array )
421 {
422 }
423
424 /// Assignment operator
425 /// \param oldClass The object to copy from.
426 /// \return The resulting object (this).
428 {
430 if( ( ptr = dynamic_cast<const DistiAttributeViewDataArray*>( &oldClass ) ) )
431 {
432 // Copy array contents directly
433 _array = ptr->_array;
434 CallCallback();
435 }
436 else
437 {
438 // Copy by string value
439 return DistiAttributeBase::operator=( oldClass );
440 }
441 return *this;
442 }
443
444 std::istream& ReadValue( std::istream& instr ) DISTI_METHOD_OVERRIDE
445 {
446 // Scan through the token including the ':'
447 std::string buf;
448
449 // read through opening brace
450 instr.ignore( 1024, '{' );
451
452 // Clear the array before reading
453 _array.Clear();
454
455 while( DistiAttribDict::ScanToken( instr, buf ) )
456 {
457 if( buf.length() )
458 {
459 int index;
460 index = atoi( buf.c_str() );
461
462 // Eat the space between the : and the data
463 instr.get();
464 instr.ignore( 1024, '{' );
465
466 // This eats the closing brace
467 _array[ index ].Attributes().Read( instr );
468 }
469 }
470 CallCallback();
471
472 return instr;
473 }
474
475 std::ostream& WriteValue( std::ostream& outstr ) DISTI_METHOD_OVERRIDE
476 {
477 outstr << "\n"
479 << "\n";
481
482 for( unsigned int i = 0; i < _array.Count(); ++i )
483 {
484 outstr << DistiAttribDict::SpacingString() << i << ":\n";
485 outstr << DistiAttribDict::SpacingString() << "{\n";
487
488 _array[ i ].Attributes().Write( outstr );
489
491 outstr << DistiAttribDict::SpacingString() << "}\n";
492 }
494 outstr << DistiAttribDict::SpacingString() << "}";
495 return outstr;
496 }
497
498 std::string Type() const DISTI_METHOD_OVERRIDE
499 {
500 return Demangle<GlsMultiView::ViewDataArray>();
501 }
502};
503
504} // namespace disti
505
506#endif
Definition: disti_metadata.h:521
Definition: disti_metadata.h:87
Definition: callback_caller_base.h:55
Definition: component_light_mgr.h:55
Definition: cull.h:49
Definition: events.h:111
Definition: display.h:95
Definition: disti_metadata.h:750
static bool ScanToken(std::istream &instr, std::string &result)
static void SpacingInc()
static void SpacingDec()
static std::string SpacingString()
Definition: disti_metadata.h:220
virtual void CallCallback()
Calls callback CallType3 if it has been set.
virtual DistiAttributeBase & operator=(const DistiAttributeBase &oldClass)
Definition: gls_multi_view.h:410
std::ostream & WriteValue(std::ostream &outstr) DISTI_METHOD_OVERRIDE
Definition: gls_multi_view.h:475
DistiAttributeViewDataArray(CallbackMethodCallerBase *caller, AttributeName name, GlsMultiView::ViewDataArray &array)
Definition: gls_multi_view.h:418
DistiAttributeBase & operator=(const DistiAttributeBase &oldClass) DISTI_METHOD_OVERRIDE
Definition: gls_multi_view.h:427
std::istream & ReadValue(std::istream &instr) DISTI_METHOD_OVERRIDE
Definition: gls_multi_view.h:444
std::string Type() const DISTI_METHOD_OVERRIDE
Definition: gls_multi_view.h:498
Definition: dynamic_array.h:79
unsigned Count() const
Definition: dynamic_array.h:218
void Clear()
Definition: dynamic_array.h:253
Definition: gls_eyepoint.h:116
Definition: gls_glo_file.h:1241
Definition: gls_multi_view.h:139
void EyePoint(GlsEyePoint *)
Sets the eyepoint to view from. When NULL, the parent view is used.
void ForceEyePointReload()
Forces eyepoint reload, causes the multi view to trigger a redraw.
void Bottom(const float &)
Set the bottom value.
OpenGLMatrices SavedMatrices() const
void SetScreenRect(float bottom, float left, float top, float right)
void ClearBackground(const int &)
const ViewData & operator=(const ViewData &)
void Right(const float &)
Set the right value.
ViewData(const ViewData &)
Copy constructor.
void Left(const float &)
Set the left value.
GlsPropString DesiredEyePoint() const
void Visible(bool)
Set the visibility of this view .
void DesiredEyePoint(const GlsPropString &)
Set the name of the view's eyepoint.
void AbsolutePixels(const bool &)
DistiAttribDict & Attributes()
Definition: gls_multi_view.h:192
void Top(const float &)
Set the top value.
void GetScreenRect(float *bottom, float *left, float *top, float *right) const
void PickGeometry(const bool &)
void NotifyAttributeChanged(const AttributeName &name) DISTI_METHOD_OVERRIDE
void CopyBaseData(const ViewData &other)
GlsEyePoint * GetEyePoint(const DisplayObject *heirarchiedObject)
Definition: gls_multi_view.h:77
DisplayObject * CloneObject(bool generateNames=FALSE) DISTI_METHOD_OVERRIDE
GlsMultiView(int generateInstance=FALSE)
void ReapplyGlobalLightsForView(ViewData *view)
void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
GlsMatrixType _savedProjectionMatrix
Stores the projection matrix from PreDraw for restoring after DrawView.
Definition: gls_multi_view.h:397
DistiAttributeBase & Resource(const char *name) DISTI_METHOD_OVERRIDE
bool PreDrawGeometryForView(int viewNumber, ViewData *view)
void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
enum disti::GlsMultiView::@22 ClearBackgroundEnum
ViewData _mainViewData
The main (parent) view used for drawing geometry based views.
Definition: gls_multi_view.h:385
ViewDrawStateEnum ViewDrawingState()
void EmitViewDrawEvents(const bool &)
void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
bool _emitViewDrawEvents
If true, will emit VIEW_DRAW_BEGIN / VIEW_DRAW_END object events on draw.
Definition: gls_multi_view.h:392
bool EmitViewDrawEvents() const
int _lastViewPredraw
The index of the last view predraw or -1 if predraw used parent's view.
Definition: gls_multi_view.h:387
ComponentLightMgr * _multiViewLightMgr
Our very own light manager.
Definition: gls_multi_view.h:394
ViewDataArray _viewArray
The list of all views associated with this multi view.
Definition: gls_multi_view.h:384
int _highlightView
Used by the editor to highlight a specific view. -1 is none.
Definition: gls_multi_view.h:390
unsigned int ViewCount() const
int LastViewPicked() const
DisplayObject * handle(DisplayEvent *ev) DISTI_METHOD_OVERRIDE
int _lastViewPicked
The index of the last view picked, or -1 if the main view.
Definition: gls_multi_view.h:386
void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
static DisplayObject * CreateInstance()
void Draw() DISTI_METHOD_OVERRIDE
ViewDrawStateEnum
Definition: gls_multi_view.h:301
DynamicArray< ViewData > ViewDataArray
Shorthand typedef for a list of views.
Definition: gls_multi_view.h:297
ViewData & View(unsigned int viewNumber)
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) DISTI_METHOD_OVERRIDE
void DrawView(unsigned int viewNumber, ViewData *view)
ViewDrawStateEnum _viewDrawingState
The drawing behavior for the multi view, generally VIEWS_ONLY.
Definition: gls_multi_view.h:383
void GetResources(std::ostream &outstr, GlsResourceFilter *filter=NULL) DISTI_METHOD_OVERRIDE
bool _showHighlights
Used by the editor to turn on and off highlights.
Definition: gls_multi_view.h:389
bool _childLightsAffectGlobal
Calculated internally based on if geometry is drawn.
Definition: gls_multi_view.h:395
void ViewDrawingState(ViewDrawStateEnum)
Set the ViewDrawingState.
ViewDataArray & ViewArray()
InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
void CalculateViewMatrices(const OpenGLMatrices &parentMatrices, Culler &culler, GlsMultiView::ViewData *view) const
Definition: util.h:1603
Definition: gls_resources.h:49
Definition: group.h:52
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:540
Definition: vertex.h:84
GL Studio Enumerations and constants.
The gls_auto_lib.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:245
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:487
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:221
The disti::GlsEyePoint class. Implements eyepoints.
#define GLSGEN_GlsMultiView_EXPORT
Provides support for creating DLLs.
Definition: gls_multi_view.h:60
The disti::Group class. Implements groups of objects.
Definition: bmpimage.h:46
#define FALSE
False macro, for backward compatibility purposes.
Definition: util.h:104