C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
VSN::GraphicsScene Class Reference

GraphicsScene class represents the scene rendering implementation. More...

#include <vsn_graphicsscene.h>

+ Inheritance diagram for VSN::GraphicsScene:
+ Collaboration diagram for VSN::GraphicsScene:

Public Member Functions

 GraphicsScene (Object *pParent=nullptr)
 Default constructor.
 
 GraphicsScene (SceneContentPtr ptrContent, Object *pParent=nullptr)
 Default constructor.
 
virtual ~GraphicsScene ()
 Destructor.
 
void InitializeGL ()
 Initializes OpenGL.
 
void SetMultiSampleMode (bool mode)
 Sets (turn on/off) the mode of multisample anti-aliasing (MSAA).
 
SceneContentPtr GetSceneContent () const
 Returns a pointer to the scene content.
 
ViewportPtr GetViewport ()
 Returns pointer to Viewport.
 
void SetViewport (ViewportPtr ptrViewport)
 Sets pointer to Viewport.
 
LightGetMainLight () const
 Returns pointer to the main light source.
 
void SetDoubleSidedLighting (bool flag)
 Sets double-sided lighting.
 
std::list< Light * > GetExtraLights () const
 Returns the pointer list to additional lighting sources.
 
LightCreateExtraLight ()
 Creates an additional lighting source.
 
void DestroyExtraLight (Light *pLight)
 Destroys the additional lighting source.
 
MbCube GetGlobalBoundingBox ()
 Returns and updates the global bounding box.
 
CuttingToolGetCuttingTool ()
 Returns a reference to the dynamic section tool.
 
void SetRenderLayerSettings (uint32_t layer, const RenderLayerSettings &)
 Sets layer settings.
 
const RenderLayerSettingsGetRenderLayerSettings (uint32_t layer) const
 Returns layer settings.
 
void SetPostProcess (RenderPostProcess *postProcess=nullptr)
 Set custom post processing shader.
 
void RemovePostProcess ()
 Remove custom post processing shader.
 
- Public Member Functions inherited from VSN::AbsVisionComponent
 AbsVisionComponent (Object *pParent=nullptr)
 Default constructor.
 
virtual ~AbsVisionComponent ()
 Destructor.
 
- Public Member Functions inherited from VSN::Object
 Object (Object *pParent=nullptr)
 Default constructor. More...
 
virtual ~Object ()
 Destructor.
 
void SetParent (Object *pParent)
 NO TRANSLATION.
 
MutexGetMutex ()
 Object mutex.
 
String GetObjectName () const
 Returns name.
 
void SetObjectName (const String &name)
 Sets name.
 
bool IsControlType () const
 TRANSLATION.
 
ObjectGetParent () const
 NO TRANSLATION.
 
Variant GetProperty (const String &name) const
 NO TRANSLATION.
 
bool IsSignalsBlocked () const
 NO TRANSLATION.
 
bool SetBlockSignals (bool bBlock)
 NO TRANSLATION.
 
void AddEventListener (Object *pObject)
 NO TRANSLATION.
 
void RemoveEventListener (Object *pObject)
 NO TRANSLATION.
 
ObjectGetSender () const
 NO TRANSLATION.
 
Thread * GetThread () const
 NO TRANSLATION.
 
void BindWithThread (Thread *thread)
 NO TRANSLATION.
 
int StartTimer (int interval, TimerType timerType=tt_CoarseTimer)
 NO TRANSLATION.
 
void KillTimer (int id)
 NO TRANSLATION.
 
const ObjectList< Object * > & GetChildren () const
 NO TRANSLATION.
 
template<typename T >
FindChild (const String &objName=String()) const
 NO TRANSLATION.
 
template<typename T >
ObjectList< T > FindChildren (const String &objName=String(), VSN::ChildFindingPolicies policies=VSN::FindAllNestedChildren) const
 NO TRANSLATION.
 
- Public Member Functions inherited from VSN::BasicObject
 BasicObject ()
 Default constructor.
 
virtual ~BasicObject ()
 Destructor.
 

Protected Member Functions

virtual void OnEngineStarting () override
 Called in Engine context.
 
- Protected Member Functions inherited from VSN::AbsVisionComponent
NodeKey GetTopEssenceKey () const
 Returns unique Essence key.
 
virtual void OnEngineClosing ()
 Called in Engine context.
 

Detailed Description

GraphicsScene class represents the scene rendering implementation.


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