14#ifndef OSGUTIL_TANGENTSPACEGENERATOR_
15#define OSGUTIL_TANGENTSPACEGENERATOR_
68 int iA,
int iB,
int iC);
Definition TangentSpaceGenerator:38
osg::ref_ptr< osg::Vec4Array > T_
Definition TangentSpaceGenerator:70
osg::Vec4Array * getTangentArray()
Definition TangentSpaceGenerator:45
void generate(osg::Geometry *geo, int normal_map_tex_unit=0)
osg::ref_ptr< osg::UIntArray > indices_
Definition TangentSpaceGenerator:73
const osg::Vec4Array * getBinormalArray() const
Definition TangentSpaceGenerator:54
osg::Vec4Array * getBinormalArray()
Definition TangentSpaceGenerator:53
virtual ~TangentSpaceGenerator()
Definition TangentSpaceGenerator:61
osg::IndexArray * getIndices()
Definition TangentSpaceGenerator:57
void setNormalArray(osg::Vec4Array *array)
Definition TangentSpaceGenerator:51
osg::Vec4Array * getNormalArray()
Definition TangentSpaceGenerator:49
osg::ref_ptr< osg::Vec4Array > N_
Definition TangentSpaceGenerator:72
void compute(osg::PrimitiveSet *pset, const osg::Array *vx, const osg::Array *nx, const osg::Array *tx, int iA, int iB, int iC)
TangentSpaceGenerator(const TangentSpaceGenerator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
void setTangentArray(osg::Vec4Array *array)
Definition TangentSpaceGenerator:47
void setBinormalArray(osg::Vec4Array *array)
Definition TangentSpaceGenerator:55
const osg::Vec4Array * getTangentArray() const
Definition TangentSpaceGenerator:46
osg::ref_ptr< osg::Vec4Array > B_
Definition TangentSpaceGenerator:71
const osg::Vec4Array * getNormalArray() const
Definition TangentSpaceGenerator:50
TangentSpaceGenerator & operator=(const TangentSpaceGenerator &)
Definition TangentSpaceGenerator:62
@ SHALLOW_COPY
Definition CopyOp:47
Definition PrimitiveSet:125
A concrete array holding elements of type T.
Definition Array:243
Shader generator framework.
Definition NodeVisitor:25
#define OSGUTIL_EXPORT
Definition osgUtil/Export:40