OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
osgWidget::GeometryHints Struct Reference

#include <PdfReader.h>

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.

Definition at line 26 of file PdfReader.h.

Member Enumeration Documentation

Enumerator
RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO 
RESIZE_WIDTH_TO_MAINTAINCE_ASPECT_RATIO 
IGNORE_DOCUMENT_ASPECT_RATIO 

Definition at line 28 of file PdfReader.h.

Constructor & Destructor Documentation

osgWidget::GeometryHints::GeometryHints ( )
inline

Definition at line 35 of file PdfReader.h.

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

Definition at line 44 of file PdfReader.h.

Member Data Documentation

AspectRatioPolicy osgWidget::GeometryHints::aspectRatioPolicy

Definition at line 65 of file PdfReader.h.

osg::Vec4 osgWidget::GeometryHints::backgroundColor

Definition at line 63 of file PdfReader.h.

unsigned int osgWidget::GeometryHints::heightResolution

Definition at line 68 of file PdfReader.h.

osg::Vec3 osgWidget::GeometryHints::heightVec

Definition at line 61 of file PdfReader.h.

osg::Vec3 osgWidget::GeometryHints::position

Definition at line 59 of file PdfReader.h.

unsigned int osgWidget::GeometryHints::widthResolution

Definition at line 67 of file PdfReader.h.

osg::Vec3 osgWidget::GeometryHints::widthVec

Definition at line 60 of file PdfReader.h.


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