OpenSceneGraph  3.4.0
Public Types | Public Member Functions
deprecated_osg::Geometry Class Reference

Geometry class contaning deprecated features. More...

Inheritance diagram for deprecated_osg::Geometry:
Inheritance graph
[legend]

List of all members.

Public Types

enum  AttributeBinding {
  BIND_OFF = 0, BIND_OVERALL = 1, BIND_PER_PRIMITIVE_SET = 2, BIND_PER_PRIMITIVE = 3,
  BIND_PER_VERTEX = 4
}
 Same values as Array::Binding. More...

Public Member Functions

 Geometry ()
 Geometry (const Geometry &geometry, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
void setNormalBinding (AttributeBinding ab)
 deprecated, use array->set*Binding(..).
AttributeBinding getNormalBinding () const
 deprecated, use array->get*Binding(..).
void setColorBinding (AttributeBinding ab)
AttributeBinding getColorBinding () const
void setSecondaryColorBinding (AttributeBinding ab)
AttributeBinding getSecondaryColorBinding () const
void setFogCoordBinding (AttributeBinding ab)
AttributeBinding getFogCoordBinding () const
void setVertexAttribBinding (unsigned int index, AttributeBinding ab)
AttributeBinding getVertexAttribBinding (unsigned int index) const
void setVertexAttribNormalize (unsigned int index, GLboolean norm)
 deprecated, use array->set*Normalize(..).
GLboolean getVertexAttribNormalize (unsigned int index) const
 deprecated, use array->get*Normalize(..).
void setVertexIndices (osg::IndexArray *array)
const osg::IndexArraygetVertexIndices () const
void setNormalIndices (osg::IndexArray *array)
const osg::IndexArraygetNormalIndices () const
void setColorIndices (osg::IndexArray *array)
const osg::IndexArraygetColorIndices () const
void setSecondaryColorIndices (osg::IndexArray *array)
const osg::IndexArraygetSecondaryColorIndices () const
void setFogCoordIndices (osg::IndexArray *array)
const osg::IndexArraygetFogCoordIndices () const
void setTexCoordIndices (unsigned int unit, osg::IndexArray *array)
const osg::IndexArraygetTexCoordIndices (unsigned int unit) const
void setVertexAttribIndices (unsigned int index, osg::IndexArray *array)
const osg::IndexArraygetVertexAttribIndices (unsigned int index) const

Detailed Description

Geometry class contaning deprecated features.

Users should only use deprecated_osg::Geometry when absolutely necessary for keeping things compiling, it is recommended that you should migrate your code to work just with osg::Geometry as existing deprecated_osg::Geometry will be removed in future release.


Member Enumeration Documentation

Same values as Array::Binding.

Enumerator:
BIND_OFF 
BIND_OVERALL 
BIND_PER_PRIMITIVE_SET 
BIND_PER_PRIMITIVE 
BIND_PER_VERTEX 

Reimplemented from osg::Geometry.


Constructor & Destructor Documentation

Reimplemented from osg::Geometry.

deprecated_osg::Geometry::Geometry ( const Geometry geometry,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
) [inline]

Member Function Documentation

Reimplemented from osg::Geometry.

Reimplemented from osg::Geometry.

deprecated, use array->get*Binding(..).

Reimplemented from osg::Geometry.

Reimplemented from osg::Geometry.

Reimplemented from osg::Geometry.

GLboolean deprecated_osg::Geometry::getVertexAttribNormalize ( unsigned int  index) const

deprecated, use array->get*Normalize(..).

Reimplemented from osg::Geometry.

Reimplemented from osg::Geometry.

Reimplemented from osg::Geometry.

deprecated, use array->set*Binding(..).

Reimplemented from osg::Geometry.

Reimplemented from osg::Geometry.

void deprecated_osg::Geometry::setTexCoordIndices ( unsigned int  unit,
osg::IndexArray array 
)

Reimplemented from osg::Geometry.

void deprecated_osg::Geometry::setVertexAttribIndices ( unsigned int  index,
osg::IndexArray array 
)
void deprecated_osg::Geometry::setVertexAttribNormalize ( unsigned int  index,
GLboolean  norm 
)

deprecated, use array->set*Normalize(..).

Reimplemented from osg::Geometry.


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

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