OpenSceneGraph  3.4.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
osgViewer::Keystone Class Reference
Inheritance diagram for osgViewer::Keystone:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Keystone ()
 Keystone (const Keystone &rhs, const osg::CopyOp &copop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgViewer, Keystone) void reset()
Keystoneoperator= (const Keystone &rhs)
void setKeystoneEditingEnabled (bool flag)
bool getKeystoneEditingEnabled () const
void setGridColor (const osg::Vec4 &color)
osg::Vec4getGridColor ()
const osg::Vec4getGridColor () const
void setBottomLeft (const osg::Vec2d &v)
osg::Vec2dgetBottomLeft ()
const osg::Vec2dgetBottomLeft () const
void setBottomRight (const osg::Vec2d &v)
osg::Vec2dgetBottomRight ()
const osg::Vec2dgetBottomRight () const
void setTopLeft (const osg::Vec2d &v)
osg::Vec2dgetTopLeft ()
const osg::Vec2dgetTopLeft () const
void setTopRight (const osg::Vec2d &v)
osg::Vec2dgetTopRight ()
const osg::Vec2dgetTopRight () const
void compute3DPositions (osg::DisplaySettings *ds, osg::Vec3 &tl, osg::Vec3 &tr, osg::Vec3 &br, osg::Vec3 &bl) const
osg::GeodecreateKeystoneDistortionMesh ()
osg::NodecreateGrid ()
bool writeToFile ()
 Write the file specified by the "filename" user value field.

Static Public Member Functions

static bool loadKeystoneFiles (osg::DisplaySettings *ds)
 Convenience function that loads and assigns any keystone files specified in the DisplaySettings::KeystoneFileNames list, return true if Keystone's assigned to DisplaySettings.

Protected Member Functions

virtual ~Keystone ()

Protected Attributes

bool keystoneEditingEnabled
osg::Vec4 gridColour
osg::Vec2d bottom_left
osg::Vec2d bottom_right
osg::Vec2d top_left
osg::Vec2d top_right

Constructor & Destructor Documentation

virtual osgViewer::Keystone::~Keystone ( ) [inline, protected, virtual]

Member Function Documentation

const osg::Vec4& osgViewer::Keystone::getGridColor ( ) const [inline]
const osg::Vec2d& osgViewer::Keystone::getTopLeft ( ) const [inline]
const osg::Vec2d& osgViewer::Keystone::getTopRight ( ) const [inline]

Convenience function that loads and assigns any keystone files specified in the DisplaySettings::KeystoneFileNames list, return true if Keystone's assigned to DisplaySettings.

Keystone& osgViewer::Keystone::operator= ( const Keystone rhs)
void osgViewer::Keystone::setBottomLeft ( const osg::Vec2d v) [inline]
void osgViewer::Keystone::setBottomRight ( const osg::Vec2d v) [inline]
void osgViewer::Keystone::setGridColor ( const osg::Vec4 color) [inline]
void osgViewer::Keystone::setKeystoneEditingEnabled ( bool  flag) [inline]
void osgViewer::Keystone::setTopLeft ( const osg::Vec2d v) [inline]
void osgViewer::Keystone::setTopRight ( const osg::Vec2d v) [inline]

Write the file specified by the "filename" user value field.

Return true if file successfully written.


Member Data Documentation


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

osg logo
Generated at Tue Dec 8 2015 00:16:51 for the OpenSceneGraph by doxygen 1.7.6.1.