public

Inheritance Graph

graph BT
	ListNode
	ListNode --> GroupNode
	AbstractJoint --> ListNode
	RTree --> ListNode
	SkeletalNode --> ListNode
	ValuatedRegionNode --> ListNode
	click ListNode "classMinSG_1_1ListNode"
	click GroupNode "classMinSG_1_1GroupNode"
	click AbstractJoint "classMinSG_1_1AbstractJoint"
	click RTree "classMinSG_1_1RTree"
	click SkeletalNode "classMinSG_1_1SkeletalNode"
	click ValuatedRegionNode "classMinSG_1_1ValuatedRegionNode"

Description

[ ListNode ] > [ GroupNode ] > [ Node ]

Public Functions

     
     
  ListNode()  
     
  ListNode( ListNode && source)  
     
  ~ListNode()  
     
Node * getChild(size_t index) const  
     
size_t countChildren() const
> [ GroupNode ]
     
NodeVisitor::status traverse( NodeVisitor & visitor)
> [ Node ]
     
void doDisplay( FrameContext & context, const RenderParam & rp)  
     
size_t getMemoryUsage() const  

Protected Functions

   
   
void doAddChild( Util::Reference < Node > child)
   
bool doRemoveChild( Util::Reference < Node > child)
   
void _pushChild( Util::Reference < Node > child)
   
  ListNode(const ListNode & source)

Documentation

function
MinSG::ListNode::ListNode

public
   
   
ListNode( )

Defined in MinSG/Core/Nodes/ListNode.h:27


function
MinSG::ListNode::ListNode

public
     
     
ListNode( ListNode && source )

Defined in MinSG/Core/Nodes/ListNode.h:28


function
MinSG::ListNode::~ListNode

public virtual
   
   
~ListNode( )

Defined in MinSG/Core/Nodes/ListNode.h:29


function
MinSG::ListNode::getChild

public const inline
     
     
Node * getChild( size_t index ) const

Defined in MinSG/Core/Nodes/ListNode.h:31


function
MinSG::ListNode::countChildren

public const virtual
   
   
size_t countChildren( ) const
> [ GroupNode ]

Defined in MinSG/Core/Nodes/ListNode.h:36


function
MinSG::ListNode::traverse

public virtual
     
     
NodeVisitor::status traverse( NodeVisitor & visitor )
> [ Node ]

Defined in MinSG/Core/Nodes/ListNode.h:39


function
MinSG::ListNode::doDisplay

public virtual
     
     
void doDisplay( FrameContext & context,
  const RenderParam & rp
)    

o Render the node. All matrix operations and states must be applied when called. This function is internally called by the default to display(…) method.

Defined in MinSG/Core/Nodes/ListNode.h:40


function
MinSG::ListNode::getMemoryUsage

public const virtual
   
   
size_t getMemoryUsage( ) const

Get the amount of memory that is required to store this node. The returned value does not include the size of child nodes.

Returns

Amount of memory in bytes

Defined in MinSG/Core/Nodes/ListNode.h:49


function
MinSG::ListNode::doAddChild

protected virtual
     
     
void doAddChild( Util::Reference < Node > child )

(internal) Add the given child to this node.

  • called by addChild(…). *

  • May throw an exception on failure (of base type std::exception).

  • Has to set the child’s parent (child->_setParent(…)).

  • The givenchildcan be assumed to be not null, which has been removed from its old parent.o

Defined in MinSG/Core/Nodes/ListNode.h:52


function
MinSG::ListNode::doRemoveChild

protected virtual
     
     
bool doRemoveChild( Util::Reference < Node > child )

(internal) Remove the given child from this node.

  • called by removeChild(…).

  • Has to set the child’s parent to null (child->_setParent(nullptr)).

    Returns

    false iff the node could not be found.

Note: Normally, use removeChild(…) instead.

Defined in MinSG/Core/Nodes/ListNode.h:53


function
MinSG::ListNode::_pushChild

protected inline
     
     
void _pushChild( Util::Reference < Node > child )

Defined in MinSG/Core/Nodes/ListNode.h:55


function
MinSG::ListNode::ListNode

protected explicit
     
     
ListNode( const ListNode & source )

Defined in MinSG/Core/Nodes/ListNode.h:56