ug4
ug::node_tree::GroupNode Class Reference

You can group nodes using the GroupNode. More...

#include <group_node.h>

+ Inheritance diagram for ug::node_tree::GroupNode:

Public Member Functions

virtual void add_child (SPNode node)
 
virtual void clear ()
 
virtual SPNode get_child (int index)
 
virtual int num_children ()
 
virtual void remove_child (SPNode node)
 
virtual ~GroupNode ()
 
- Public Member Functions inherited from ug::node_tree::Node
virtual ~Node ()
 
- Public Member Functions inherited from ug::node_tree::Object
unsigned int getObjectCode ()
 
virtual ~Object ()
 

Static Public Member Functions

static SPGroupNode create ()
 

Protected Member Functions

 GroupNode ()
 
- Protected Member Functions inherited from ug::node_tree::Node
 Node ()
 
- Protected Member Functions inherited from ug::node_tree::Object
 Object ()
 
 Object (const Object &obj)
 

Protected Attributes

std::vector< SPNodevChildren
 
- Protected Attributes inherited from ug::node_tree::Object
unsigned int m_objectCode
 

Detailed Description

You can group nodes using the GroupNode.

...

Constructor & Destructor Documentation

◆ ~GroupNode()

ug::node_tree::GroupNode::~GroupNode ( )
virtual

◆ GroupNode()

ug::node_tree::GroupNode::GroupNode ( )
protected

Referenced by create().

Member Function Documentation

◆ add_child()

void ug::node_tree::GroupNode::add_child ( SPNode  node)
virtual

References vChildren.

Referenced by ug::node_tree::CreateSubOctrees().

◆ clear()

void ug::node_tree::GroupNode::clear ( )
virtual

References vChildren.

◆ create()

SPGroupNode ug::node_tree::GroupNode::create ( )
static

◆ get_child()

SPNode ug::node_tree::GroupNode::get_child ( int  index)
virtual

◆ num_children()

int ug::node_tree::GroupNode::num_children ( )
virtual

◆ remove_child()

void ug::node_tree::GroupNode::remove_child ( SPNode  node)
virtual

References vChildren.

Member Data Documentation

◆ vChildren

std::vector<SPNode> ug::node_tree::GroupNode::vChildren
protected

The documentation for this class was generated from the following files: