#include <NodeImageTexture.h>
Inheritance diagram for NodeImageTexture:
Public Member Functions | |
NodeImageTexture (Scene *scene, Proto *proto) | |
NodeImageTexture (const NodeImageTexture &node) | |
virtual int | getType () const |
virtual Node * | copy () const |
virtual int | getNodeClass () const |
virtual void | setField (int field, FieldValue *value) |
void | load () |
int | isLoaded () |
virtual void | bind () |
virtual void | unbind () |
void | setPath (const std::string newpath) |
const std::string | getPath () |
Protected Member Functions | |
virtual | ~NodeImageTexture () |
Protected Attributes | |
unsigned char * | _image |
int | _imageStatus |
int | _textureWidth |
int | _textureHeight |
int | _components |
int | _textureName |
std::string | _texturePath |
ImageTexture { exposedField MFString url [] field SFBool repeatS TRUE field SFBool repeatT TRUE }
NodeImageTexture::NodeImageTexture | ( | const NodeImageTexture & | node | ) |
NodeImageTexture::~NodeImageTexture | ( | ) | [protected, virtual] |
virtual int NodeImageTexture::getType | ( | ) | const [inline, virtual] |
virtual Node* NodeImageTexture::copy | ( | ) | const [inline, virtual] |
virtual int NodeImageTexture::getNodeClass | ( | ) | const [inline, virtual] |
Returns a NODE_CHILD as a node class (used to validate the scene)
Reimplemented from Node.
void NodeImageTexture::setField | ( | int | field, | |
FieldValue * | value | |||
) | [virtual] |
Sets the Field at that index with the specified FieldValue value. Special care is taken if the field is SF-MFNode.
Reimplemented from Node.
void NodeImageTexture::load | ( | ) |
int NodeImageTexture::isLoaded | ( | ) |
void NodeImageTexture::bind | ( | ) | [virtual] |
To be overriden by the subclasses
Reimplemented from Node.
void NodeImageTexture::unbind | ( | ) | [virtual] |
To be overriden by the subclasses
Reimplemented from Node.
void NodeImageTexture::setPath | ( | const std::string | newpath | ) | [inline] |
const std::string NodeImageTexture::getPath | ( | ) | [inline] |
unsigned char* NodeImageTexture::_image [protected] |
int NodeImageTexture::_imageStatus [protected] |
int NodeImageTexture::_textureWidth [protected] |
int NodeImageTexture::_textureHeight [protected] |
int NodeImageTexture::_components [protected] |
int NodeImageTexture::_textureName [protected] |
std::string NodeImageTexture::_texturePath [protected] |