DrawPixels is an osg::Drawable subclass which encapsulates the drawing of images using glDrawPixels
Inheritance:
Public Methods
-
DrawPixels()
-
DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
-
virtual Object* cloneType() const
-
virtual Object* clone(const CopyOp& copyop) 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
-
const bool getUseSubImage() const
-
virtual void drawImmediateMode(State& state)
Protected Fields
-
Vec3 _position
-
ref_ptr<Image> _image
-
bool _useSubImage
-
unsigned int _offsetX
-
unsigned int _offsetY
-
unsigned int _width
-
unsigned int _height
Protected Methods
-
DrawPixels& operator = (const DrawPixels&)
-
virtual ~DrawPixels()
-
virtual const bool computeBound() const
Public Methods
-
inline const ParentList& getParents() const
-
inline ParentList getParents()
-
inline Node* getParent(const unsigned int i)
-
inline const Node* getParent(const unsigned int i) const
-
inline const unsigned int getNumParents() const
-
inline void setStateSet(StateSet* state)
-
inline StateSet* getStateSet()
-
inline const StateSet* getStateSet() const
-
void setSupportsDisplayList(const bool flag)
-
inline const bool getSupportsDisplayList() const
-
void setUseDisplayList(const bool flag)
-
inline const bool getUseDisplayList() const
-
void dirtyDisplayList()
-
void dirtyBound()
-
inline const BoundingBox& getBound() const
-
void compile(State& state)
-
void setAppCallback(AppCallback* ac)
-
AppCallback* getAppCallback()
-
const AppCallback* getAppCallback() const
-
void setCullCallback(CullCallback* cc)
-
CullCallback* getCullCallback()
-
const CullCallback* getCullCallback() const
-
void setDrawCallback(DrawCallback* dc)
-
DrawCallback* getDrawCallback()
-
const DrawCallback* getDrawCallback() const
-
static void deleteDisplayList(uint contextID, uint globj)
-
static void flushDeletedDisplayLists(uint contextID)
-
virtual bool getStats(Statistics&)
-
virtual AttributeBitMask suppportsAttributeOperation() const
-
virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
-
virtual void applyPrimitiveOperation(PrimitiveFunctor&)
-
inline void draw(State& state)
Public Members
-
typedef std::vector<Node*> ParentList
-
struct AppCallback: public osg::Referenced
-
struct CullCallback: public osg::Referenced
-
struct DrawCallback: public osg::Referenced
-
typedef uint AttributeBitMaskenum AttributeBitMaskValues
-
class AttributeFunctor
-
class PrimitiveFunctor
Protected Fields
-
ParentList _parents
-
ref_ptr<StateSet> _dstate
-
bool _supportsDisplayList
-
bool _useDisplayList
-
mutable BoundingBox _bbox
-
mutable bool _bbox_computed
-
ref_ptr<AppCallback> _appCallback
-
ref_ptr<DrawCallback> _drawCallback
-
ref_ptr<CullCallback> _cullCallback
Protected Methods
-
void addParent(osg::Node* node)
-
void removeParent(osg::Node* node)
Protected Members
-
typedef std::vector<uint> GLObjectList mutable GLObjectList _globjList
-
typedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache
Inherited from Object:
Public Methods
-
inline void setDataVariance(const DataVariance dv)
-
inline const DataVariance getDataVariance() const
Public Members
-
enum DataVariance
Protected Fields
-
DataVariance _dataVariance
Public Methods
-
inline void ref() const
-
inline void unref() const
-
inline void unref_nodelete() const
-
inline const int referenceCount() const
Protected Fields
-
mutable int _refCount
Documentation
DrawPixels is an osg::Drawable subclass which encapsulates the drawing of
images using glDrawPixels
- DrawPixels()
- DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
- virtual Object* cloneType() const
- virtual Object* clone(const CopyOp& copyop) 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
- const bool getUseSubImage() const
- virtual void drawImmediateMode(State& state)
- DrawPixels& operator = (const DrawPixels&)
- virtual ~DrawPixels()
- virtual const bool computeBound() const
- Vec3 _position
- ref_ptr<Image> _image
- bool _useSubImage
- unsigned int _offsetX
- unsigned int _offsetY
- unsigned int _width
- unsigned int _height
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.