2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class osg::CompositeShape< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.10" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class < A HREF = "#DOC.DOCU" > osg::CompositeShape< / A > < / H2 > < / H2 > < HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 125 >
< param name = classes value = "CReferenced,MReferenced.html,CObject,MObject.html,CShape,MShape.html,CCompositeShape,MCompositeShape.html" >
< param name = before value = "M,M,M,M" >
< param name = after value = "Md_SPSP,Md_SP,Md_,M" >
< param name = indent value = "0,1,2,3" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.183.2" > CompositeShape< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.183.3" > CompositeShape< / A > < / B > (const <!1> < A HREF = "CompositeShape.html#DOC.2.183.3" > CompositeShape< / A > & cs, const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & copyop=CopyOp::SHALLOW_COPY)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.183.4" > META_Shape< / A > < / B > (<!1> < A HREF = "osg.html" > osg< / A > , <!1> < A HREF = "CompositeShape.html" > CompositeShape< / A > )
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.183.5" > setShape< / A > < / B > (<!1> < A HREF = "Shape.html" > Shape< / A > * shape)
2003-07-23 19:27:31 +08:00
< DD > < I > Set the shape that encloses all of the children< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Shape.html" > Shape< / A > * < B > < A HREF = "#DOC.2.183.6" > getShape< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DD > < I > Get the shape that encloses all of the children< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const <!1> < A HREF = "Shape.html" > Shape< / A > * < B > < A HREF = "#DOC.2.183.7" > getShape< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > Get the const shape that encloses all of the children< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > unsigned int < B > < A HREF = "#DOC.2.183.8" > getNumChildren< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > Get the number of children of this composite shape< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Shape.html" > Shape< / A > * < B > < A HREF = "#DOC.2.183.9" > getChild< / A > < / B > (unsigned int i)
2003-04-18 00:22:51 +08:00
< DD > < I > Get a child< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const <!1> < A HREF = "Shape.html" > Shape< / A > * < B > < A HREF = "#DOC.2.183.10" > getChild< / A > < / B > (unsigned int i) const
2003-04-18 00:22:51 +08:00
< DD > < I > Get a const child< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.183.11" > addChild< / A > < / B > (<!1> < A HREF = "Shape.html" > Shape< / A > * shape)
2003-04-18 00:22:51 +08:00
< DD > < I > Add a child to the list< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.183.12" > removeChild< / A > < / B > (unsigned int i)
2003-04-18 00:22:51 +08:00
< DD > < I > remove a child from the list< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > unsigned int < B > < A HREF = "#DOC.2.183.13" > findChildNo< / A > < / B > (<!1> < A HREF = "Shape.html" > Shape< / A > * shape) const
2003-04-18 00:22:51 +08:00
< DD > < I > find the index number of child, if child is not found then it returns getNumChildren(), so should be used in similar sytle of STL's result!=end()< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::vector< <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "Shape.html" > Shape< / A > > > < B > < A HREF = "#DOC.2.183.1" > ChildList< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "Shape.html" > Shape< / A > > < B > < A HREF = "#DOC.2.183.15" > _shape< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CompositeShape.html#DOC.2.183.1" > ChildList< / A > < B > < A HREF = "#DOC.2.183.16" > _children< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.183.14" > ~CompositeShape< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Shape.html" > Shape< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Object.html" > Object< / A > * < B > cloneType< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Object.html" > Object< / A > * < B > clone< / B > (const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & ) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > isSameKindAs< / B > (const <!1> < A HREF = "Object.html" > Object< / A > * obj) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > libraryName< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const char* < B > className< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (<!1> < A HREF = "ShapeVisitor.html" > ShapeVisitor< / A > & )
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (<!1> < A HREF = "ConstShapeVisitor.html" > ConstShapeVisitor< / A > & ) const
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Object.html" > Object< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setDataVariance< / B > (<!1> < A HREF = "Object.html#DOC.2.136.8" > DataVariance< / A > dv)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Object.html#DOC.2.136.8" > DataVariance< / A > < B > getDataVariance< / B > () const
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setUserData< / B > (<!1> < A HREF = "Referenced.html" > Referenced< / A > * obj)
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Referenced.html" > Referenced< / A > * < B > getUserData< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Referenced.html" > Referenced< / A > * < B > getUserData< / B > () const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > enum < B > DataVariance< / B >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Object.html#DOC.2.136.8" > DataVariance< / A > < B > _dataVariance< / B >
2003-04-18 00:22:51 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "Referenced.html" > Referenced< / A > > < B > _userData< / B >
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Referenced.html" > Referenced< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > inline <!1> < A HREF = "Referenced.html" > Referenced< / A > & < B > operator = < / B > (<!1> < A HREF = "Referenced.html" > Referenced< / A > & )
< DT >
< IMG ALT = "o" SRC = icon2.gif > static void < B > setDeleteHandler< / B > (<!1> < A HREF = "DeleteHandler.html" > DeleteHandler< / A > * handler)
< DT >
< IMG ALT = "o" SRC = icon2.gif > static <!1> < A HREF = "DeleteHandler.html" > DeleteHandler< / A > * < B > getDeleteHandler< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > ref< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > unref_nodelete< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline int < B > referenceCount< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline void < B > unref< / B > () const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > mutable int < B > _refCount< / B >
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< DL >
< A NAME = "ChildList" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.1" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef std::vector< <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "Shape.html" > Shape< / A > > > ChildList< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "CompositeShape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.2" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > CompositeShape()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "CompositeShape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > CompositeShape(const <!1> < A HREF = "CompositeShape.html#DOC.2.183.3" > CompositeShape< / A > & cs, const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & copyop=CopyOp::SHALLOW_COPY)< / B > < / TT >
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "META_Shape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.4" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > META_Shape(<!1> < A HREF = "osg.html" > osg< / A > , <!1> < A HREF = "CompositeShape.html" > CompositeShape< / A > )< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
2003-07-23 19:27:31 +08:00
< A NAME = "setShape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.5" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setShape(<!1> < A HREF = "Shape.html" > Shape< / A > * shape)< / B > < / TT >
< DD > Set the shape that encloses all of the children
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getShape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.6" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Shape.html" > Shape< / A > * getShape()< / B > < / TT >
< DD > Get the shape that encloses all of the children
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getShape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.7" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const <!1> < A HREF = "Shape.html" > Shape< / A > * getShape() const < / B > < / TT >
< DD > Get the const shape that encloses all of the children
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNumChildren" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.8" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > unsigned int getNumChildren() const < / B > < / TT >
< DD > Get the number of children of this composite shape
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getChild" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.9" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Shape.html" > Shape< / A > * getChild(unsigned int i)< / B > < / TT >
< DD > Get a child
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getChild" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.10" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const <!1> < A HREF = "Shape.html" > Shape< / A > * getChild(unsigned int i) const < / B > < / TT >
< DD > Get a const child
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addChild" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.11" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void addChild(<!1> < A HREF = "Shape.html" > Shape< / A > * shape)< / B > < / TT >
< DD > Add a child to the list
< DL > < DT > < DD > < / DL > < P >
< A NAME = "removeChild" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.12" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void removeChild(unsigned int i)< / B > < / TT >
< DD > remove a child from the list
< DL > < DT > < DD > < / DL > < P >
< A NAME = "findChildNo" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.13" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > unsigned int findChildNo(<!1> < A HREF = "Shape.html" > Shape< / A > * shape) const < / B > < / TT >
< DD > find the index number of child, if child is not found then it returns getNumChildren(),
so should be used in similar sytle of STL's result!=end()
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~CompositeShape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.14" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ~CompositeShape()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_shape" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.15" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "Shape.html" > Shape< / A > > _shape< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_children" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.183.16" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "CompositeShape.html#DOC.2.183.1" > ChildList< / A > _children< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >