Inheritance diagram for osgUtil::RenderBin:
Public Types | |
typedef std::vector< RenderLeaf * > | RenderLeafList |
typedef std::vector< RenderGraph * > | RenderGraphList |
typedef std::map< int, osg::ref_ptr< RenderBin > > | RenderBinList |
typedef std::map< std::string, osg::ref_ptr< RenderBin > > | RenderBinPrototypeList |
enum | SortMode { SORT_BY_STATE, SORT_FRONT_TO_BACK, SORT_BACK_TO_FONT } |
Public Methods | |
RenderBin () | |
virtual osg::Object * | cloneType () const |
Clone the type of an object, with Object* return type. | |
virtual osg::Object * | clone (const osg::CopyOp &) const |
virtual bool | isSameKindAs (const osg::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. | |
virtual void | reset () |
RenderBin * | find_or_insert (int binNum, const std::string &binName) |
void | addRenderGraph (RenderGraph *rg) |
void | sort () |
void | setSortMode (SortMode mode) |
SortMode | getSortMode () const |
virtual void | sort_local () |
virtual void | sort_local_by_state () |
virtual void | sort_local_front_to_back () |
virtual void | sort_local_back_to_front () |
void | setSortLocalCallback (SortCallback *sortCallback) |
SortCallback * | getSortLocalCallback () |
const SortCallback * | getSortLocalCallback () const |
virtual void | draw (osg::State &state, RenderLeaf *&previous) |
virtual void | draw_local (osg::State &state, RenderLeaf *&previous) |
bool | getStats (osg::Statistics *primStats) |
extract stats for current draw list. | |
void | getPrims (osg::Statistics *primStats) |
bool | getPrims (osg::Statistics *primStats, const int nbin) |
void | copyLeavesFromRenderGraphListToRenderLeafList () |
Static Public Methods | |
RenderBin * | createRenderBin (const std::string &binName) |
void | addRenderBinPrototype (RenderBin *proto) |
void | removeRenderBinPrototype (RenderBin *proto) |
Public Attributes | |
int | _binNum |
RenderBin * | _parent |
RenderStage * | _stage |
RenderBinList | _bins |
RenderGraphList | _renderGraphList |
RenderLeafList | _renderLeafList |
SortMode | _sortMode |
osg::ref_ptr< SortCallback > | _sortLocalCallback |
Static Public Attributes | |
RenderBinPrototypeList | s_renderBinPrototypeList |
Protected Methods | |
virtual | ~RenderBin () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return the name of the object's class type. Must be defined by derived classes. Implements osg::Object. Reimplemented in osgUtil::DepthSortedBin, osgUtil::RenderStage, and osgUtil::RenderToTextureStage. |
|
Reimplemented in osgUtil::DepthSortedBin, osgUtil::RenderStage, and osgUtil::RenderToTextureStage. |
|
Clone the type of an object, with Object* return type. Must be defined by derived classes. Implements osg::Object. Reimplemented in osgUtil::DepthSortedBin, osgUtil::RenderStage, and osgUtil::RenderToTextureStage. |
|
|
|
|
|
Reimplemented in osgUtil::RenderStage, and osgUtil::RenderToTextureStage. |
|
Reimplemented in osgUtil::DepthSortedBin. |
|
|
|
|
|
|
|
|
|
|
|
|
|
extract stats for current draw list.
Reimplemented in osgUtil::RenderStage. |
|
Reimplemented in osgUtil::DepthSortedBin, osgUtil::RenderStage, and osgUtil::RenderToTextureStage. |
|
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. Implements osg::Object. Reimplemented in osgUtil::DepthSortedBin, and osgUtil::RenderToTextureStage. |
|
|
|
Reimplemented in osgUtil::DepthSortedBin, osgUtil::RenderStage, and osgUtil::RenderToTextureStage. |
|
|
|
|
|
|
|
Reimplemented in osgUtil::DepthSortedBin. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|