Inheritance diagram for osg::DrawPixels:
Public Methods | |
DrawPixels () | |
DrawPixels (const DrawPixels &drawimage, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
virtual Object * | cloneType () const |
Clone the type of an object, with Object* return type. | |
virtual Object * | clone (const CopyOp ©op) const |
Clone the an object, with Object* return type. | |
virtual bool | isSameKindAs (const Object *obj) const |
virtual const char * | libraryName () const |
return the name of the object's library. | |
virtual const char * | className () const |
return the name of the object's class type. | |
void | setPosition (const osg::Vec3 &position) |
osg::Vec3 & | getPosition () |
const osg::Vec3 & | getPosition () const |
void | setImage (osg::Image *image) |
osg::Image * | getImage () |
const osg::Image * | getImage () const |
void | setUseCompleteImage () |
void | setSubImageDimensions (unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) |
void | getSubImageDimensions (unsigned int &offsetX, unsigned int &offsetY, unsigned int &width, unsigned int &height) const |
const bool | getUseSubImage () const |
virtual void | drawImmediateMode (State &state) |
draw directly ignoring an OpenGL display list which could be attached. | |
Protected Methods | |
DrawPixels & | operator= (const DrawPixels &) |
virtual | ~DrawPixels () |
virtual const bool | computeBound () const |
compute the bounding box of the drawable. | |
Protected Attributes | |
Vec3 | _position |
ref_ptr< Image > | _image |
bool | _useSubImage |
unsigned int | _offsetX |
unsigned int | _offsetY |
unsigned int | _width |
unsigned int | _height |
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
return the name of the object's class type. Must be defined by derived classes. Reimplemented from osg::Drawable. |
|
Clone the an object, with Object* return type. Must be defined by derived classes. Implements osg::Object. |
|
Clone the type of an object, with Object* return type. Must be defined by derived classes. Implements osg::Object. |
|
compute the bounding box of the drawable. Method must be implemented by subclasses. Reimplemented from osg::Drawable. |
|
draw directly ignoring an OpenGL display list which could be attached. This is the internal draw method which does the drawing itself, and is the method to override when deriving from Drawable. Implements osg::Drawable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from osg::Drawable. |
|
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention the is that the namspace of a library is the same as the library name. Reimplemented from osg::Drawable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|