ug4
|
holds index pairs defining edges. More...
#include <collision_edges_node.h>
Public Member Functions | |
virtual void | add_edge (int ind1, int ind2) |
virtual void | add_edge (int ind1, int ind2, CollisionElementID edgeID) |
virtual void | add_edges (int *pIndices, CollisionElementID *pEdgeIDs, int numEdges) |
pIndices has to be of size numEdges*2 More... | |
virtual void | add_edges (int *pIndices, int numEdges) |
pIndices has to be of size numEdges*2 More... | |
virtual void | get_edge (int index, int &ind1Out, int &ind2Out) const |
virtual CollisionElementID | get_edge_id (int edgeIndex) |
if no identifier has been set for an edge -1 is returned. More... | |
virtual const int * | get_edges () const |
virtual int | num_edges () const |
virtual void | set_edge_id (int edgeIndex, CollisionElementID edgeID) |
virtual | ~CollisionEdgesNode () |
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 SPCollisionEdgesNode | create () |
Protected Types | |
typedef std::vector< CollisionElementID > | IDVec |
typedef std::vector< int > | IndexVec |
Protected Member Functions | |
CollisionEdgesNode () | |
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 | |
bool | m_bEdgeIDsSupplied |
IDVec | m_vEdgeIDs |
IndexVec | m_vEdges |
Protected Attributes inherited from ug::node_tree::Object | |
unsigned int | m_objectCode |
holds index pairs defining edges.
An identifier can be stored with each edge. Normally appears as a subordinate of CollisionTreeRootNode.
|
protected |
|
protected |
|
virtual |
|
protected |
References m_bEdgeIDsSupplied.
Referenced by create().
|
virtual |
References add_edge(), m_bEdgeIDsSupplied, and m_vEdges.
Referenced by add_edge().
|
virtual |
References m_bEdgeIDsSupplied, m_vEdgeIDs, m_vEdges, and num_edges().
|
virtual |
pIndices has to be of size numEdges*2
References m_bEdgeIDsSupplied, m_vEdgeIDs, and m_vEdges.
|
virtual |
pIndices has to be of size numEdges*2
References m_bEdgeIDsSupplied, m_vEdgeIDs, and m_vEdges.
|
static |
|
virtual |
References m_vEdges.
|
virtual |
if no identifier has been set for an edge -1 is returned.
References m_bEdgeIDsSupplied, and m_vEdgeIDs.
Referenced by ug::node_tree::Traverser_ProjectPoint::handle_collision_edges().
|
virtual |
References m_vEdges.
Referenced by ug::node_tree::Traverser_ProjectPoint::handle_collision_edges().
|
virtual |
References m_vEdges.
Referenced by add_edge(), ug::node_tree::Traverser_ProjectPoint::handle_collision_edges(), and set_edge_id().
|
virtual |
References m_bEdgeIDsSupplied, m_vEdgeIDs, and num_edges().
|
protected |
Referenced by add_edge(), add_edges(), CollisionEdgesNode(), get_edge_id(), and set_edge_id().
|
protected |
Referenced by add_edge(), add_edges(), get_edge_id(), and set_edge_id().
|
protected |
Referenced by add_edge(), add_edges(), get_edge(), get_edges(), and num_edges().