Inheritance diagram for osg::DrawPixels:
Public Member Functions | |
DrawPixels () | |
DrawPixels (const DrawPixels &drawimage, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
virtual Object * | cloneType () const |
virtual Object * | clone (const CopyOp ©op) const |
virtual bool | isSameKindAs (const Object *obj) const |
virtual const char * | libraryName () const |
virtual const char * | className () const |
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 |
bool | getUseSubImage () const |
virtual void | drawImplementation (State &state) const |
Protected Member Functions | |
DrawPixels & | operator= (const DrawPixels &) |
virtual | ~DrawPixels () |
virtual bool | computeBound () const |
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 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 is that the namespace of a library is the same as the library name. Reimplemented from osg::Drawable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|