#include <v2oAppearanceFactory.h>
Public Member Functions | |
v2oAppearanceFactory () | |
virtual | ~v2oAppearanceFactory () |
void | createosgAppearanceComponent (Node *_appearance, osgStateSetRef osgAppearance, osgMaterialRef gpMaterial) |
void | createosgImageTexture (Node *texture, osgStateSetRef osgAppearance, osgMaterialRef gpMaterial, Node *textureTrans) |
Private Attributes | |
Node * | _nodeAppearance |
FieldValue * | _valueMat |
FieldValue * | _valueTexture |
FieldValue * | _valueTextureTrans |
FieldValue * | _valueCenter |
FieldValue * | _valueRotation |
FieldValue * | _valueScale |
FieldValue * | _valueTranslation |
osg::Matrixf | _texTransMat |
v2oAppearanceFactory::v2oAppearanceFactory | ( | ) |
v2oAppearanceFactory::~v2oAppearanceFactory | ( | ) | [virtual] |
void v2oAppearanceFactory::createosgAppearanceComponent | ( | Node * | _appearance, | |
osgStateSetRef | osgAppearance, | |||
osgMaterialRef | gpMaterial | |||
) |
Sets the current Node's appearance and material fields
void v2oAppearanceFactory::createosgImageTexture | ( | Node * | texture, | |
osgStateSetRef | osgAppearance, | |||
osgMaterialRef | gpMaterial, | |||
Node * | textureTrans | |||
) |
Sets the current Node's ImageTexture field
Node* v2o::v2oAppearanceFactory::_nodeAppearance [private] |
FieldValue* v2o::v2oAppearanceFactory::_valueMat [private] |
FieldValue * v2o::v2oAppearanceFactory::_valueTexture [private] |
FieldValue * v2o::v2oAppearanceFactory::_valueCenter [private] |
FieldValue * v2o::v2oAppearanceFactory::_valueRotation [private] |
FieldValue * v2o::v2oAppearanceFactory::_valueScale [private] |
osg::Matrixf v2o::v2oAppearanceFactory::_texTransMat [private] |