AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxOSG::SceneDecorator Class Reference

Decorates a scene with a specific AGX Rendering Style. More...

#include <SceneDecorator.h>

+ Inheritance diagram for agxOSG::SceneDecorator:

Public Types

enum  Lights { LIGHT0 = 0x1, LIGHT1 = 0x2, LIGHT2 = 0x4, ALL = LIGHT0 | LIGHT1 | LIGHT2 }
 
enum  LogoLocation {
  UPPER_LEFT = 0x1, LOWER_LEFT = 0x2, UPPER_RIGHT = 0x3, LOWER_RIGHT = 0x4,
  FREE
}
 Specifies the location of the logo. More...
 
enum  ShadowMethod {
  SOFT_SHADOWMAP, SHADOWMAP, SHADOWVOLUME, PARALLELLSPLIT_SHADOWMAP,
  LIGHTSPACEPERSPECTIVE_SHADOWMAP, SHADOWTEXTURE, NO_SHADOWS
}
 

Public Member Functions

 SceneDecorator (int windowSizeX, int windowSizeY, int enabledLights=LIGHT0|LIGHT1)
 Constructor. More...
 
virtual bool addChild (osg::Node *child)
 
void calculateLightPositions (osg::Node *bound_node=nullptr)
 Calculate the positions of the light sources from the bound of either a specified node, or if bound_node == 0, the sub-graph of this Group. More...
 
void calculateLightPositions (const osg::BoundingBox &boundingBox)
 
void calculateLightPositions (const osg::BoundingSphere &boundingSphere)
 
void clearText ()
 Reset all text to empty strings. More...
 
osg::StateSet * getDecoratorStateSet ()
 
bool getEnable () const
 Return true if AGX rendering style is enabled. More...
 
bool getEnableCalculateLightPositions (Lights l) const
 
bool getEnableLogo () const
 
bool getEnableRenderedCursor () const
 
bool getEnableShaderState () const
 
bool getEnableShadows () const
 
std::string getFontName () const
 Returns the font name. More...
 
float getFontSize () const
 Returns the font Size. More...
 
osg::MatrixTransform * getHud ()
 Return a pointer to the hud group. More...
 
agxOSG::LightSource getLightSource (Lights l)
 Get a wrapper for a LightSource with only AGX types. More...
 
osg::Texture2D * getLogo ()
 
const osg::Vec2 & getLogoDimension ()
 
LogoLocation getLogoLocation () const
 
osg::Vec2 getMaximumLogoDimension ()
 
osg::Group * getNonShadowedScene () const
 
osg::LightSource * getOSGLight (Lights l)
 
osg::Group * getShadowedScene () const
 
osg::LightSource * getShadowLightSource ()
 Return a pointer to the light source used for calculating shadows. More...
 
ShadowMethod getShadowMethod () const
 
virtual bool insertChild (unsigned int index, osg::Node *child)
 
bool isEnabled () const
 Return true if AGX rendering style is enabled. More...
 
bool removeChild (osg::Node *child)
 
bool removeChild (unsigned int pos, unsigned int numChildrenToRemove=1)
 
virtual bool removeChildren (unsigned int pos, unsigned int numChildrenToRemove)
 
virtual bool replaceChild (osg::Node *origChild, osg::Node *newChild)
 
void resetHUD ()
 
void setBackgroundColor (const agx::Vec4f &color)
 Set a uniform background color using color. More...
 
void setBackgroundColor (const agx::Vec4f &color1, const agx::Vec4f &color2)
 Set a gradient two color background. More...
 
void setBackgroundColor (const agx::Vec4f &colorUL, const agx::Vec4f &colorUR, const agx::Vec4f &colorLL, const agx::Vec4f &colorLR)
 Set a gradient four color background (each corner) colorUL - Upper left color colorUR - Upper right color colorLL - Lower left color colorLR - Lower right color. More...
 
void setBackgroundColor (agx::Vec3 color)
 Set a uniform background color using color. More...
 
void setBackgroundColor (agx::Vec3 upper, agx::Vec3 lower)
 Set a gradient two color background. More...
 
void setBackgroundColor (agx::Vec3 colorUL, agx::Vec3 colorUR, agx::Vec3 colorLL, agx::Vec3 colorLR)
 Set a gradient four color background (each corner) colorUL - Upper left color colorUR - Upper right color colorLL - Lower left color colorLR - Lower right color. More...
 
bool setBaseTexture (const std::string &imagePath)
 Specif the path to the base texture on all decorated objects. More...
 
virtual bool setChild (unsigned int i, osg::Node *node)
 
void setEnable (bool flag)
 Enable/disable AGX rendering style for sub-graph. More...
 
void setEnableCalculateLightPositions (Lights l, bool f)
 
void setEnableLights (int lightMask=ALL)
 Reset and enable the specified lights. More...
 
void setEnableLogo (bool flag)
 Enable/disable the rendering of the logo. More...
 
void setEnableRenderedCursor (bool enable)
 Enable/disable the mouse cursor. More...
 
void setEnableShaderState (bool flag, bool lock=false)
 Enable/disable the use of a shader based default render state. More...
 
void setEnableShadows (bool flag)
 Enable/disable shadows for the sub-graph. More...
 
void setFontName (const std::string &fontName)
 Sets the font name. More...
 
void setFontSize (const float &fontSize)
 Sets the font Size. More...
 
void setLogo (osg::Texture2D *logo)
 Might want to call updateLogo afterwards. More...
 
bool setLogoFile (const std::string &filename)
 Specify a path to the image with the logo. More...
 
void setLogoLocation (LogoLocation l)
 Set the position of the logo from a list of predefined positions. More...
 
void setLogoPosition (float x, float y)
 Set the position of logo into [x, y] if setLogoLocation(FREE) has been previously called Valid range is [0,1] where 0,0 is lower left corner. More...
 
void setMaximumLogoDimension (float x, float y)
 Set the maximum logo dimension. More...
 
bool setShadowLightSource (Lights l)
 Specify which light source is used for calculating shadows. More...
 
void setShadowMethod (ShadowMethod m)
 Specify which method is used for generating shadows,. More...
 
void setText (int row, const agx::String &text)
 Print a row of text. More...
 
void setText (int row, const agx::String &text, const agx::Vec4f &color)
 
void updateCursorPosition (float x, float y)
 
void updateWindowSize (int sizeX, int sizeY)
 Updates information about the window size in x and y (for logo scaling). More...
 

Static Public Member Functions

static const osg::Material * getDefaultDecoratorMaterial ()
 
static osg::Vec2 getDefaultLogoPosition ()
 
static size_t lightToIndex (Lights l)
 

Protected Member Functions

virtual ~SceneDecorator ()
 
void createBackground ()
 
void createDecoratorState ()
 
void createHUD ()
 
void createLogo ()
 
void init (Lights l)
 
void updateLogo ()
 Updates the logo scale and position, depending on logo size, and window width and height. More...
 

Protected Attributes

osg::ref_ptr< osg::Vec3Array > m_backgroundColors
 
osg::observer_ptr< osg::Geometry > m_backgroundQuad
 
osg::ref_ptr< osg::Switch > m_backgroundRoot
 
std::string m_baseTexturePath
 
bool m_calculateLightPosition [3]
 
osg::ref_ptr< osg::Group > m_currentRoot
 
osg::ref_ptr< osg::Node > m_cursorTransform
 
osg::ref_ptr< osg::StateSet > m_decoratorStateSet
 
osg::ref_ptr< osg::Group > m_disabledNonShadowRoot
 
osg::ref_ptr< osg::Group > m_disabledRoot
 
bool m_enabled
 
osg::ref_ptr< osg::Group > m_enabledNonShadowRoot
 
osg::ref_ptr< osg::Group > m_enabledRoot
 
bool m_enabledShadows
 
std::string m_fontName
 
float m_fontSize
 
osg::ref_ptr< osg::Camera > m_hudCamera
 
osg::ref_ptr< osg::Projection > m_hudProjection
 
osg::ref_ptr
< osg::MatrixTransform > 
m_hudRoot
 
agx::Vector< osg::ref_ptr
< osg::LightSource > > 
m_lightSources
 
bool m_logoEnabled
 
LogoLocation m_logoLocation
 
osg::Vec2 m_logoPosition
 
osg::Vec2 m_logoSize
 
osg::ref_ptr< osg::StateSet > m_logoStateSet
 
osg::ref_ptr< osg::Switch > m_logoSwitch
 
osg::ref_ptr< osg::Texture2D > m_logoTexture
 
osg::ref_ptr
< osg::PositionAttitudeTransform > 
m_logoTransform
 
float m_maximumLogoDimensionX
 
float m_maximumLogoDimensionY
 
bool m_shaderSupportAvailable
 
osg::ref_ptr
< osgShadow::ShadowedScene > 
m_shadowedScene
 
osg::ref_ptr< osg::LightSource > m_ShadowlightSource
 
ShadowMethod m_shadowMethod
 
osg::ref_ptr
< osgShadow::ShadowTechnique > 
m_shadowTechnique
 
agx::Vector< osgText::Text * > m_text
 
bool m_useShaderState
 
int m_windowSizeX
 
int m_windowSizeY
 

Static Protected Attributes

static osg::ref_ptr
< osg::Material > 
s_decoratorMaterial
 

Detailed Description

Decorates a scene with a specific AGX Rendering Style.

SceneDecorator is a class that inherits from osg::Group and will decorate the sub-graph with a specific rendering style and a logo.

Definition at line 62 of file SceneDecorator.h.

Member Enumeration Documentation

Enumerator
LIGHT0 
LIGHT1 
LIGHT2 
ALL 

Definition at line 208 of file SceneDecorator.h.

Specifies the location of the logo.

Enumerator
UPPER_LEFT 
LOWER_LEFT 
UPPER_RIGHT 
LOWER_RIGHT 
FREE 

Any position can be specified with the setLogoPosition() method.

Definition at line 90 of file SceneDecorator.h.

Enumerator
SOFT_SHADOWMAP 
SHADOWMAP 
SHADOWVOLUME 
PARALLELLSPLIT_SHADOWMAP 

Deprecated.

LIGHTSPACEPERSPECTIVE_SHADOWMAP 
SHADOWTEXTURE 
NO_SHADOWS 

Definition at line 232 of file SceneDecorator.h.

Constructor & Destructor Documentation

agxOSG::SceneDecorator::SceneDecorator ( int  windowSizeX,
int  windowSizeY,
int  enabledLights = LIGHT0|LIGHT1 
)

Constructor.

Parameters
windowSizeX- The size of the window in x coordinates.
windowSizeY- The size of the window in y coordinates.
enabledLights- Specifies (using the Lights enum) which light sources should be created and used
virtual agxOSG::SceneDecorator::~SceneDecorator ( )
protectedvirtual

Member Function Documentation

virtual bool agxOSG::SceneDecorator::addChild ( osg::Node *  child)
inlinevirtual

Definition at line 173 of file SceneDecorator.h.

void agxOSG::SceneDecorator::calculateLightPositions ( osg::Node *  bound_node = nullptr)

Calculate the positions of the light sources from the bound of either a specified node, or if bound_node == 0, the sub-graph of this Group.

void agxOSG::SceneDecorator::calculateLightPositions ( const osg::BoundingBox &  boundingBox)
void agxOSG::SceneDecorator::calculateLightPositions ( const osg::BoundingSphere &  boundingSphere)
void agxOSG::SceneDecorator::clearText ( )

Reset all text to empty strings.

void agxOSG::SceneDecorator::createBackground ( )
protected
void agxOSG::SceneDecorator::createDecoratorState ( )
protected
void agxOSG::SceneDecorator::createHUD ( )
protected
void agxOSG::SceneDecorator::createLogo ( )
protected
osg::StateSet* agxOSG::SceneDecorator::getDecoratorStateSet ( )
inline

Definition at line 225 of file SceneDecorator.h.

static const osg::Material* agxOSG::SceneDecorator::getDefaultDecoratorMaterial ( )
static
static osg::Vec2 agxOSG::SceneDecorator::getDefaultLogoPosition ( )
static
Returns
the default logo position
bool agxOSG::SceneDecorator::getEnable ( ) const

Return true if AGX rendering style is enabled.

bool agxOSG::SceneDecorator::getEnableCalculateLightPositions ( Lights  l) const
bool agxOSG::SceneDecorator::getEnableLogo ( ) const
Returns
true if rendering of logo is enabled
bool agxOSG::SceneDecorator::getEnableRenderedCursor ( ) const
bool agxOSG::SceneDecorator::getEnableShaderState ( ) const
Returns
true if shader based default render state is being activated
bool agxOSG::SceneDecorator::getEnableShadows ( ) const
Returns
true if shadowing is enabled for sub-graph
std::string agxOSG::SceneDecorator::getFontName ( ) const

Returns the font name.

float agxOSG::SceneDecorator::getFontSize ( ) const

Returns the font Size.

osg::MatrixTransform* agxOSG::SceneDecorator::getHud ( )
inline

Return a pointer to the hud group.

Any node added here will be rendered in the same coordinate system as the logo. Good for example console text. Calls to resetHUD will invalidate earlier returned HUDs.

Definition at line 169 of file SceneDecorator.h.

agxOSG::LightSource agxOSG::SceneDecorator::getLightSource ( Lights  l)

Get a wrapper for a LightSource with only AGX types.

Referenced by agxOSG::LightsSynchronization::operator()().

osg::Texture2D* agxOSG::SceneDecorator::getLogo ( )
const osg::Vec2& agxOSG::SceneDecorator::getLogoDimension ( )
Returns
the current logo dimension
LogoLocation agxOSG::SceneDecorator::getLogoLocation ( ) const
Returns
the specified logo position
osg::Vec2 agxOSG::SceneDecorator::getMaximumLogoDimension ( )
Returns
the maximum logo dimension
osg::Group* agxOSG::SceneDecorator::getNonShadowedScene ( ) const
Returns
the scene not casting nor receiving shadows
osg::LightSource* agxOSG::SceneDecorator::getOSGLight ( Lights  l)
osg::Group* agxOSG::SceneDecorator::getShadowedScene ( ) const
Returns
the scene casting and receiving shadows
osg::LightSource* agxOSG::SceneDecorator::getShadowLightSource ( )

Return a pointer to the light source used for calculating shadows.

ShadowMethod agxOSG::SceneDecorator::getShadowMethod ( ) const
inline
Returns
the current shadow method

Definition at line 246 of file SceneDecorator.h.

void agxOSG::SceneDecorator::init ( Lights  l)
protected
virtual bool agxOSG::SceneDecorator::insertChild ( unsigned int  index,
osg::Node *  child 
)
inlinevirtual

Definition at line 172 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::isEnabled ( ) const

Return true if AGX rendering style is enabled.

static size_t agxOSG::SceneDecorator::lightToIndex ( Lights  l)
static
bool agxOSG::SceneDecorator::removeChild ( osg::Node *  child)
inline

Definition at line 174 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::removeChild ( unsigned int  pos,
unsigned int  numChildrenToRemove = 1 
)
inline

Definition at line 175 of file SceneDecorator.h.

virtual bool agxOSG::SceneDecorator::removeChildren ( unsigned int  pos,
unsigned int  numChildrenToRemove 
)
inlinevirtual

Definition at line 178 of file SceneDecorator.h.

virtual bool agxOSG::SceneDecorator::replaceChild ( osg::Node *  origChild,
osg::Node *  newChild 
)
inlinevirtual

Definition at line 176 of file SceneDecorator.h.

void agxOSG::SceneDecorator::resetHUD ( )
void agxOSG::SceneDecorator::setBackgroundColor ( const agx::Vec4f &  color)

Set a uniform background color using color.

void agxOSG::SceneDecorator::setBackgroundColor ( const agx::Vec4f &  color1,
const agx::Vec4f &  color2 
)

Set a gradient two color background.

upper - Top color of the gradient color lower - Lower color of the gradient color

void agxOSG::SceneDecorator::setBackgroundColor ( const agx::Vec4f &  colorUL,
const agx::Vec4f &  colorUR,
const agx::Vec4f &  colorLL,
const agx::Vec4f &  colorLR 
)

Set a gradient four color background (each corner) colorUL - Upper left color colorUR - Upper right color colorLL - Lower left color colorLR - Lower right color.

void agxOSG::SceneDecorator::setBackgroundColor ( agx::Vec3  color)

Set a uniform background color using color.

void agxOSG::SceneDecorator::setBackgroundColor ( agx::Vec3  upper,
agx::Vec3  lower 
)

Set a gradient two color background.

upper - Top color of the gradient color lower - Lower color of the gradient color

void agxOSG::SceneDecorator::setBackgroundColor ( agx::Vec3  colorUL,
agx::Vec3  colorUR,
agx::Vec3  colorLL,
agx::Vec3  colorLR 
)

Set a gradient four color background (each corner) colorUL - Upper left color colorUR - Upper right color colorLL - Lower left color colorLR - Lower right color.

bool agxOSG::SceneDecorator::setBaseTexture ( const std::string &  imagePath)

Specif the path to the base texture on all decorated objects.

Returns
true if loading and creation of texture was successful.
virtual bool agxOSG::SceneDecorator::setChild ( unsigned int  i,
osg::Node *  node 
)
inlinevirtual

Definition at line 177 of file SceneDecorator.h.

void agxOSG::SceneDecorator::setEnable ( bool  flag)

Enable/disable AGX rendering style for sub-graph.

void agxOSG::SceneDecorator::setEnableCalculateLightPositions ( Lights  l,
bool  f 
)
void agxOSG::SceneDecorator::setEnableLights ( int  lightMask = ALL)

Reset and enable the specified lights.

Parameters
lightMask- Bit mask from the Light enum
void agxOSG::SceneDecorator::setEnableLogo ( bool  flag)

Enable/disable the rendering of the logo.

void agxOSG::SceneDecorator::setEnableRenderedCursor ( bool  enable)

Enable/disable the mouse cursor.

Parameters
enable- If true the cursor will be visible
void agxOSG::SceneDecorator::setEnableShaderState ( bool  flag,
bool  lock = false 
)

Enable/disable the use of a shader based default render state.

void agxOSG::SceneDecorator::setEnableShadows ( bool  flag)

Enable/disable shadows for the sub-graph.

void agxOSG::SceneDecorator::setFontName ( const std::string &  fontName)

Sets the font name.

void agxOSG::SceneDecorator::setFontSize ( const float &  fontSize)

Sets the font Size.

void agxOSG::SceneDecorator::setLogo ( osg::Texture2D *  logo)

Might want to call updateLogo afterwards.

bool agxOSG::SceneDecorator::setLogoFile ( const std::string &  filename)

Specify a path to the image with the logo.

void agxOSG::SceneDecorator::setLogoLocation ( LogoLocation  l)

Set the position of the logo from a list of predefined positions.

Parameters
l- An enum specifying the position. FREE to make it possible to set any position with setLogoPosition()
void agxOSG::SceneDecorator::setLogoPosition ( float  x,
float  y 
)

Set the position of logo into [x, y] if setLogoLocation(FREE) has been previously called Valid range is [0,1] where 0,0 is lower left corner.

void agxOSG::SceneDecorator::setMaximumLogoDimension ( float  x,
float  y 
)

Set the maximum logo dimension.

Values between 0.0f and 1.0f.

bool agxOSG::SceneDecorator::setShadowLightSource ( Lights  l)

Specify which light source is used for calculating shadows.

void agxOSG::SceneDecorator::setShadowMethod ( ShadowMethod  m)

Specify which method is used for generating shadows,.

void agxOSG::SceneDecorator::setText ( int  row,
const agx::String &  text 
)

Print a row of text.

void agxOSG::SceneDecorator::setText ( int  row,
const agx::String &  text,
const agx::Vec4f &  color 
)
void agxOSG::SceneDecorator::updateCursorPosition ( float  x,
float  y 
)
void agxOSG::SceneDecorator::updateLogo ( )
protected

Updates the logo scale and position, depending on logo size, and window width and height.

void agxOSG::SceneDecorator::updateWindowSize ( int  sizeX,
int  sizeY 
)

Updates information about the window size in x and y (for logo scaling).

Member Data Documentation

osg::ref_ptr<osg::Vec3Array> agxOSG::SceneDecorator::m_backgroundColors
protected

Definition at line 368 of file SceneDecorator.h.

osg::observer_ptr<osg::Geometry> agxOSG::SceneDecorator::m_backgroundQuad
protected

Definition at line 339 of file SceneDecorator.h.

osg::ref_ptr<osg::Switch> agxOSG::SceneDecorator::m_backgroundRoot
protected

Definition at line 338 of file SceneDecorator.h.

std::string agxOSG::SceneDecorator::m_baseTexturePath
protected

Definition at line 351 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::m_calculateLightPosition[3]
protected

Definition at line 374 of file SceneDecorator.h.

osg::ref_ptr<osg::Group> agxOSG::SceneDecorator::m_currentRoot
protected

Definition at line 335 of file SceneDecorator.h.

osg::ref_ptr<osg::Node> agxOSG::SceneDecorator::m_cursorTransform
protected

Definition at line 376 of file SceneDecorator.h.

osg::ref_ptr<osg::StateSet> agxOSG::SceneDecorator::m_decoratorStateSet
protected

Definition at line 364 of file SceneDecorator.h.

osg::ref_ptr<osg::Group> agxOSG::SceneDecorator::m_disabledNonShadowRoot
protected

Definition at line 337 of file SceneDecorator.h.

osg::ref_ptr<osg::Group> agxOSG::SceneDecorator::m_disabledRoot
protected

Definition at line 336 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::m_enabled
protected

Definition at line 348 of file SceneDecorator.h.

osg::ref_ptr<osg::Group> agxOSG::SceneDecorator::m_enabledNonShadowRoot
protected

Definition at line 334 of file SceneDecorator.h.

osg::ref_ptr<osg::Group> agxOSG::SceneDecorator::m_enabledRoot
protected

Definition at line 333 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::m_enabledShadows
protected

Definition at line 347 of file SceneDecorator.h.

std::string agxOSG::SceneDecorator::m_fontName
protected

Definition at line 353 of file SceneDecorator.h.

float agxOSG::SceneDecorator::m_fontSize
protected

Definition at line 354 of file SceneDecorator.h.

osg::ref_ptr<osg::Camera> agxOSG::SceneDecorator::m_hudCamera
protected

Definition at line 377 of file SceneDecorator.h.

osg::ref_ptr<osg::Projection> agxOSG::SceneDecorator::m_hudProjection
protected

Definition at line 378 of file SceneDecorator.h.

osg::ref_ptr<osg::MatrixTransform> agxOSG::SceneDecorator::m_hudRoot
protected

Definition at line 344 of file SceneDecorator.h.

agx::Vector<osg::ref_ptr<osg::LightSource> > agxOSG::SceneDecorator::m_lightSources
protected

Definition at line 366 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::m_logoEnabled
protected

Definition at line 349 of file SceneDecorator.h.

LogoLocation agxOSG::SceneDecorator::m_logoLocation
protected

Definition at line 340 of file SceneDecorator.h.

osg::Vec2 agxOSG::SceneDecorator::m_logoPosition
protected

Definition at line 346 of file SceneDecorator.h.

osg::Vec2 agxOSG::SceneDecorator::m_logoSize
protected

Definition at line 359 of file SceneDecorator.h.

osg::ref_ptr<osg::StateSet> agxOSG::SceneDecorator::m_logoStateSet
protected

Definition at line 345 of file SceneDecorator.h.

osg::ref_ptr<osg::Switch> agxOSG::SceneDecorator::m_logoSwitch
protected

Definition at line 343 of file SceneDecorator.h.

osg::ref_ptr<osg::Texture2D> agxOSG::SceneDecorator::m_logoTexture
protected

Definition at line 341 of file SceneDecorator.h.

osg::ref_ptr<osg::PositionAttitudeTransform> agxOSG::SceneDecorator::m_logoTransform
protected

Definition at line 342 of file SceneDecorator.h.

float agxOSG::SceneDecorator::m_maximumLogoDimensionX
protected

Definition at line 357 of file SceneDecorator.h.

float agxOSG::SceneDecorator::m_maximumLogoDimensionY
protected

Definition at line 358 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::m_shaderSupportAvailable
protected

Definition at line 381 of file SceneDecorator.h.

osg::ref_ptr<osgShadow::ShadowedScene> agxOSG::SceneDecorator::m_shadowedScene
protected

Definition at line 361 of file SceneDecorator.h.

osg::ref_ptr<osg::LightSource> agxOSG::SceneDecorator::m_ShadowlightSource
protected

Definition at line 367 of file SceneDecorator.h.

ShadowMethod agxOSG::SceneDecorator::m_shadowMethod
protected

Definition at line 350 of file SceneDecorator.h.

osg::ref_ptr<osgShadow::ShadowTechnique> agxOSG::SceneDecorator::m_shadowTechnique
protected

Definition at line 362 of file SceneDecorator.h.

agx::Vector<osgText::Text *> agxOSG::SceneDecorator::m_text
protected

Definition at line 352 of file SceneDecorator.h.

bool agxOSG::SceneDecorator::m_useShaderState
protected

Definition at line 380 of file SceneDecorator.h.

int agxOSG::SceneDecorator::m_windowSizeX
protected

Definition at line 355 of file SceneDecorator.h.

int agxOSG::SceneDecorator::m_windowSizeY
protected

Definition at line 356 of file SceneDecorator.h.

osg::ref_ptr<osg::Material> agxOSG::SceneDecorator::s_decoratorMaterial
staticprotected

Definition at line 383 of file SceneDecorator.h.


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