OpenSceneGraph  3.5.1
Public Types | Public Member Functions | Public Attributes | List of all members
osgWidget::GeometryHints Struct Reference

Hints structure that can be passed to PdfReader and VncClient classes to help guide them on what geometry to build. More...

Public Types

enum  AspectRatioPolicy { RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO, RESIZE_WIDTH_TO_MAINTAINCE_ASPECT_RATIO, IGNORE_DOCUMENT_ASPECT_RATIO }
 

Public Member Functions

 GeometryHints ()
 
 GeometryHints (const osg::Vec3 &pos, const osg::Vec3 &wVec, const osg::Vec3 &hVec, const osg::Vec4 &bColor, AspectRatioPolicy asp=RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO, unsigned int wRes=1024, unsigned int hRes=1024)
 

Public Attributes

osg::Vec3 position
 
osg::Vec3 widthVec
 
osg::Vec3 heightVec
 
osg::Vec4 backgroundColor
 
AspectRatioPolicy aspectRatioPolicy
 
unsigned int widthResolution
 
unsigned int heightResolution
 

Detailed Description

Hints structure that can be passed to PdfReader and VncClient classes to help guide them on what geometry to build.

Member Enumeration Documentation

Enumerator
RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO 
RESIZE_WIDTH_TO_MAINTAINCE_ASPECT_RATIO 
IGNORE_DOCUMENT_ASPECT_RATIO 

Constructor & Destructor Documentation

osgWidget::GeometryHints::GeometryHints ( )
inline
osgWidget::GeometryHints::GeometryHints ( const osg::Vec3 pos,
const osg::Vec3 wVec,
const osg::Vec3 hVec,
const osg::Vec4 bColor,
AspectRatioPolicy  asp = RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO,
unsigned int  wRes = 1024,
unsigned int  hRes = 1024 
)
inline

Member Data Documentation

AspectRatioPolicy osgWidget::GeometryHints::aspectRatioPolicy
osg::Vec4 osgWidget::GeometryHints::backgroundColor
unsigned int osgWidget::GeometryHints::heightResolution
osg::Vec3 osgWidget::GeometryHints::heightVec
osg::Vec3 osgWidget::GeometryHints::position
unsigned int osgWidget::GeometryHints::widthResolution
osg::Vec3 osgWidget::GeometryHints::widthVec

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

osg logo
Generated at Wed Nov 11 2015 22:15:26 for the OpenSceneGraph by doxygen 1.8.10.