srAlmende::Spatial3DGraph Class Reference

#include <Spatial3DGraph.h>

Inherits SpatialGraph< GraphNode3D, Location3D, Space3D >.

Collaboration diagram for srAlmende::Spatial3DGraph:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int addNode (GraphNode3D *node, Location3D *loc)
int removeNode (GraphNode3D *node)

Detailed Description

A Spatial3DGraph contains nodes and 3D locations. The nodes are of specific type, namely GraphNode3D. Which basically means that they can be connected in a graph, and on top of that also contain a cross-reference to a 3D location.

Author:
Anne C. van Rossum
Project:
Replicator FP7
Company:
Almende B.V. (prefix "alm")
Cases:
Morphodynamics

Definition at line 22 of file Spatial3DGraph.h.


Member Function Documentation

int srAlmende::Spatial3DGraph::addNode ( GraphNode3D node,
Location3D loc 
) [virtual]

Actually Location3D should already be part of GraphNode3D.

Implements srAlmende::SpatialGraph< GraphNode3D, Location3D, Space3D >.

Definition at line 15 of file Spatial3DGraph.cpp.

References srAlmende::Location3D::toString().

Here is the call graph for this function:

int srAlmende::Spatial3DGraph::removeNode ( GraphNode3D node  )  [virtual]

This routine removes only GraphNode3D, not the Location3D attached to it. This is namely the responsibility of the Space3D class.

Implements srAlmende::SpatialGraph< GraphNode3D, Location3D, Space3D >.

Definition at line 30 of file Spatial3DGraph.cpp.

References srAlmende::Location3D::toString().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations

Generated on Thu Feb 4 16:32:07 2010 for Delta3D Plugin by  doxygen 1.6.1