osgTerrain::ProxyLayer Class Reference

Inheritance diagram for osgTerrain::ProxyLayer:

osgTerrain::Layer osg::Object osg::Referenced

List of all members.

Public Member Functions

 ProxyLayer ()
 ProxyLayer (const ProxyLayer &proxyLayer, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgTerrain, ProxyLayer)
void setImplementation (Layer *layer)
LayergetImplementation ()
const LayergetImplementation () const
virtual void setFileName (const std::string &filename)
virtual const std::string & getFileName () const
virtual unsigned int getNumColumns () const
virtual unsigned int getNumRows () const
virtual bool transform (float offset, float scale)
virtual bool getValue (unsigned int i, unsigned int j, float &value) const
virtual bool getValue (unsigned int i, unsigned int j, osg::Vec2 &value) const
virtual bool getValue (unsigned int i, unsigned int j, osg::Vec3 &value) const
virtual bool getValue (unsigned int i, unsigned int j, osg::Vec4 &value) const
virtual void dirty ()
virtual void setModifiedCount (unsigned int value)
virtual unsigned int getModifiedCount () const
virtual osg::BoundingSphere computeBound (bool treatAsElevationLayer) const

Protected Member Functions

virtual ~ProxyLayer ()

Protected Attributes

osg::ref_ptr< Layer_implementation


Constructor & Destructor Documentation

osgTerrain::ProxyLayer::ProxyLayer (  ) 

osgTerrain::ProxyLayer::ProxyLayer ( const ProxyLayer proxyLayer,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osgTerrain::ProxyLayer::~ProxyLayer (  )  [protected, virtual]


Member Function Documentation

osgTerrain::ProxyLayer::META_Object ( osgTerrain  ,
ProxyLayer   
)

void osgTerrain::ProxyLayer::setImplementation ( Layer layer  )  [inline]

Set the implementation layer that does the actual work.

Layer* osgTerrain::ProxyLayer::getImplementation (  )  [inline]

Get the implementation layer that does the actual work.

const Layer* osgTerrain::ProxyLayer::getImplementation (  )  const [inline]

Get the const implementation layer that does the actual work.

virtual void osgTerrain::ProxyLayer::setFileName ( const std::string &  filename  )  [virtual]

Set the file name of the data associated with this layer.

Reimplemented from osgTerrain::Layer.

virtual const std::string& osgTerrain::ProxyLayer::getFileName (  )  const [inline, virtual]

Get the file name of the layer.

Reimplemented from osgTerrain::Layer.

virtual unsigned int osgTerrain::ProxyLayer::getNumColumns (  )  const [virtual]

Reimplemented from osgTerrain::Layer.

virtual unsigned int osgTerrain::ProxyLayer::getNumRows (  )  const [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::ProxyLayer::transform ( float  offset,
float  scale 
) [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::ProxyLayer::getValue ( unsigned int  i,
unsigned int  j,
float &  value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::ProxyLayer::getValue ( unsigned int  i,
unsigned int  j,
osg::Vec2 value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::ProxyLayer::getValue ( unsigned int  i,
unsigned int  j,
osg::Vec3 value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual bool osgTerrain::ProxyLayer::getValue ( unsigned int  i,
unsigned int  j,
osg::Vec4 value 
) const [virtual]

Reimplemented from osgTerrain::Layer.

virtual void osgTerrain::ProxyLayer::dirty (  )  [virtual]

increment the modified count."

Reimplemented from osgTerrain::Layer.

virtual void osgTerrain::ProxyLayer::setModifiedCount ( unsigned int   )  [virtual]

Set the modified count value.

Reimplemented from osgTerrain::Layer.

virtual unsigned int osgTerrain::ProxyLayer::getModifiedCount (  )  const [virtual]

Get modified count value.

Reimplemented from osgTerrain::Layer.

virtual osg::BoundingSphere osgTerrain::ProxyLayer::computeBound ( bool  treatAsElevationLayer  )  const [virtual]

Reimplemented from osgTerrain::Layer.


Member Data Documentation


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

Generated on Wed Aug 13 17:03:41 2008 for openscenegraph by  doxygen 1.5.6