2002-07-19 03:54:11 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class SG_EXPORT osg::ClipNode< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class SG_EXPORT < A HREF = "#DOC.DOCU" > osg::ClipNode< / A > < / H2 > < / H2 > < BLOCKQUOTE > Leaf Node for defining the position of ClipPlanes in the scene< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 95 >
< param name = classes value = "MNode,M,CGroup,MGroup.html,CClipNode,MClipNode.html" >
< param name = before value = "M,M,M" >
< param name = after value = "Md_SP,Md_,M" >
< param name = indent value = "0,1,2" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.44.2" > ClipNode< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.44.3" > ClipNode< / A > < / B > (const <!1> < A HREF = "ClipNode.html#DOC.2.44.3" > ClipNode< / A > & es, const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & copyop=CopyOp::SHALLOW_COPY)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.44.4" > META_Node< / A > < / B > (<!1> < A HREF = "osg.html" > osg< / A > , <!1> < A HREF = "ClipNode.html" > ClipNode< / A > )
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.44.5" > createClipBox< / A > < / B > (const <!1> < A HREF = "BoundingBox.html" > BoundingBox< / A > & bb, unsigned int clipPlaneNumberBase=0)
2002-07-19 03:54:11 +08:00
< DD > < I > Create a 6 clip planes to create a clip box< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.44.6" > addClipPlane< / A > < / B > (<!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * clipplane)
2002-07-19 03:54:11 +08:00
< DD > < I > Add a ClipPlane to a ClipNode.< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.44.7" > removeClipPlane< / A > < / B > (<!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * clipplane)
2002-07-19 03:54:11 +08:00
< DD > < I > Remove ClipPlane from a ClipNode.< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.44.8" > removeClipPlane< / A > < / B > (unsigned int pos)
2002-07-19 03:54:11 +08:00
< DD > < I > Remove ClipPlane, at specified index, from a ClipNode.< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline unsigned int < B > < A HREF = "#DOC.2.44.9" > getNumClipPlanes< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DD > < I > return the number of ClipPlanes< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * < B > < A HREF = "#DOC.2.44.10" > getClipPlane< / A > < / B > (unsigned int pos)
2002-07-19 03:54:11 +08:00
< DD > < I > Get ClipPlane at specificed index position< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * < B > < A HREF = "#DOC.2.44.11" > getClipPlane< / A > < / B > (unsigned int pos) const
2002-07-19 03:54:11 +08:00
< DD > < I > Get const ClipPlane at specificed index position< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "ClipNode.html#DOC.2.44.1" > ClipPlaneList< / A > & < B > < A HREF = "#DOC.2.44.12" > getClipPlaneList< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DD > < I > Get the ClipPlaneList< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "ClipNode.html#DOC.2.44.1" > ClipPlaneList< / A > & < B > < A HREF = "#DOC.2.44.13" > getClipPlaneList< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DD > < I > Get the const ClipPlaneList< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.44.14" > setStateSetModes< / A > < / B > (<!1> < A HREF = "StateSet.html" > StateSet< / A > & , StateAttribute::GLModeValue) const
2002-07-19 03:54:11 +08:00
< DD > < I > Set the GLModes on StateSet associated with the ClipPlanes< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.44.15" > setLocalStateSetModes< / A > < / B > (StateAttribute::GLModeValue=StateAttribute::ON)
2002-07-19 03:54:11 +08:00
< DD > < I > Set up the local StateSet < / I >
< / DL > < / P >
2002-11-08 22:15:17 +08:00
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::vector< <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < <!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > > > < B > < A HREF = "#DOC.2.44.1" > ClipPlaneList< / A > < / B >
< / DL > < / P >
2002-07-19 03:54:11 +08:00
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > StateAttribute::GLModeValue < B > < A HREF = "#DOC.2.44.18" > _value< / A > < / B >
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "ClipNode.html#DOC.2.44.1" > ClipPlaneList< / A > < B > < A HREF = "#DOC.2.44.19" > _planes< / A > < / B >
2002-07-19 03:54:11 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.44.16" > ~ClipNode< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual bool < B > < A HREF = "#DOC.2.44.17" > computeBound< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "Group.html" > Group< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "Group.html" > Group< / A > * < B > asGroup< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const <!1> < A HREF = "Group.html" > Group< / A > * < B > asGroup< / B > () const
< DT >
2002-07-19 03:54:11 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > traverse< / B > (<!1> < A HREF = "NodeVisitor.html" > NodeVisitor< / A > & nv)
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > addChild< / B > ( Node* child )
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > removeChild< / B > ( Node* child )
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual bool < B > replaceChild< / B > ( Node* origChild, Node* newChild )
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > getNumChildren< / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline Node* < B > getChild< / B > ( unsigned int i )
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline const Node* < B > getChild< / B > ( unsigned int i ) const
2002-07-19 03:54:11 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline bool < B > containsNode< / B > ( const Node* node ) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline ChildList::iterator < B > findNode< / B > ( const Node* node )
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline ChildList::const_iterator < B > findNode< / B > ( const Node* node ) const
2002-11-08 22:15:17 +08:00
< DT >
< IMG ALT = "o" SRC = icon2.gif > inline unsigned int < B > findChildNo< / B > ( const Node* node ) const
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > typedef std::vector< <!1> < A HREF = "ref_ptr.html" > ref_ptr< / A > < Node> > < B > ChildList< / B >
2002-07-19 03:54:11 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Group.html#DOC.2.74.1" > ChildList< / A > < B > _children< / B >
2002-07-19 03:54:11 +08:00
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > Leaf Node for defining the position of ClipPlanes in the scene< / BLOCKQUOTE >
< DL >
2002-11-08 22:15:17 +08:00
< A NAME = "ClipPlaneList" > < / A >
< A NAME = "DOC.2.44.1" > < / A >
< 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 = "ClipPlane.html" > ClipPlane< / A > > > ClipPlaneList< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2002-07-19 03:54:11 +08:00
< A NAME = "ClipNode" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ClipNode()< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "ClipNode" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ClipNode(const <!1> < A HREF = "ClipNode.html#DOC.2.44.3" > ClipNode< / A > & es, const <!1> < A HREF = "CopyOp.html" > CopyOp< / A > & copyop=CopyOp::SHALLOW_COPY)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "META_Node" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.4" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > META_Node(<!1> < A HREF = "osg.html" > osg< / A > , <!1> < A HREF = "ClipNode.html" > ClipNode< / A > )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "createClipBox" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.5" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void createClipBox(const <!1> < A HREF = "BoundingBox.html" > BoundingBox< / A > & bb, unsigned int clipPlaneNumberBase=0)< / B > < / TT >
< DD > Create a 6 clip planes to create a clip box
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addClipPlane" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.6" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool addClipPlane(<!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * clipplane)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Add a ClipPlane to a ClipNode. Return true if plane is added,
return false if plane already exists in ClipNode, or clipplane is false.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "removeClipPlane" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.7" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool removeClipPlane(<!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * clipplane)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Remove ClipPlane from a ClipNode. Return true if plane is removed,
return false if plane does not exists in ClipNode.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "removeClipPlane" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.8" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool removeClipPlane(unsigned int pos)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Remove ClipPlane, at specified index, from a ClipNode. Return true if plane is removed,
return false if plane does not exists in ClipNode.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNumClipPlanes" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.9" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline unsigned int getNumClipPlanes() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > return the number of ClipPlanes
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getClipPlane" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.10" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * getClipPlane(unsigned int pos)< / B > < / TT >
< DD > Get ClipPlane at specificed index position
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getClipPlane" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.11" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "ClipPlane.html" > ClipPlane< / A > * getClipPlane(unsigned int pos) const < / B > < / TT >
< DD > Get const ClipPlane at specificed index position
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getClipPlaneList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.12" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "ClipNode.html#DOC.2.44.1" > ClipPlaneList< / A > & getClipPlaneList()< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Get the ClipPlaneList
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getClipPlaneList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.13" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "ClipNode.html#DOC.2.44.1" > ClipPlaneList< / A > & getClipPlaneList() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Get the const ClipPlaneList
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setStateSetModes" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.14" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setStateSetModes(<!1> < A HREF = "StateSet.html" > StateSet< / A > & , StateAttribute::GLModeValue) const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Set the GLModes on StateSet associated with the ClipPlanes
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setLocalStateSetModes" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.15" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setLocalStateSetModes(StateAttribute::GLModeValue=StateAttribute::ON)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Set up the local StateSet
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~ClipNode" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.16" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~ClipNode()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computeBound" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.17" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual bool computeBound() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_value" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.18" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > StateAttribute::GLModeValue _value< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_planes" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.44.19" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "ClipNode.html#DOC.2.44.1" > ClipPlaneList< / A > _planes< / B > < / TT >
2002-07-19 03:54:11 +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 >