SpatialObjectPopulation Class Reference

Population of SimObject's with associated locations in 3D space. More...

#include <SpatialObjectPopulation.h>

Inheritance diagram for SpatialObjectPopulation:

Inheritance graph
[legend]
Collaboration diagram for SpatialObjectPopulation:

Collaboration graph
[legend]

List of all members.

Public Types

enum  CoordinateIndex { X = 0, Y = 1, Z = 2 }

Public Member Functions

 SpatialObjectPopulation (SimNetwork &net, SimObjectFactory &objFactory, size_t n)
 SpatialObjectPopulation (SimNetwork &net, SimObjectFactory &objFactory, size_t n, vector< Point3Dd > &spatialCoordinates)
void setLocation (int idx, Point3Dd p)
void setOrigin (Point3Dd c)
Point3DdgetOrigin ()
Point3DdgetLocation (int idx)

Protected Attributes

vector< Point3Ddcoordinates
Point3Dd origin


Detailed Description

Population of SimObject's with associated locations in 3D space.

Deprecated:
Use SpatialSimObjectPopulation instead.

Definition at line 21 of file SpatialObjectPopulation.h.


Member Enumeration Documentation

Enumerator:
X 
Y 
Z 

Definition at line 23 of file SpatialObjectPopulation.h.


Constructor & Destructor Documentation

SpatialObjectPopulation::SpatialObjectPopulation ( SimNetwork net,
SimObjectFactory objFactory,
size_t  n 
) [inline]

Definition at line 25 of file SpatialObjectPopulation.h.

References coordinates.

SpatialObjectPopulation::SpatialObjectPopulation ( SimNetwork net,
SimObjectFactory objFactory,
size_t  n,
vector< Point3Dd > &  spatialCoordinates 
) [inline]

Definition at line 30 of file SpatialObjectPopulation.h.


Member Function Documentation

void SpatialObjectPopulation::setLocation ( int  idx,
Point3Dd  p 
) [inline]

Definition at line 34 of file SpatialObjectPopulation.h.

References coordinates.

void SpatialObjectPopulation::setOrigin ( Point3Dd  c  )  [inline]

Definition at line 39 of file SpatialObjectPopulation.h.

References origin.

Point3Dd& SpatialObjectPopulation::getOrigin (  )  [inline]

Definition at line 43 of file SpatialObjectPopulation.h.

References origin.

Point3Dd& SpatialObjectPopulation::getLocation ( int  idx  )  [inline]

Definition at line 47 of file SpatialObjectPopulation.h.

References coordinates.


Member Data Documentation

Definition at line 49 of file SpatialObjectPopulation.h.

Referenced by getLocation(), setLocation(), and SpatialObjectPopulation().

Definition at line 53 of file SpatialObjectPopulation.h.

Referenced by getOrigin(), and setOrigin().


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

Generated on Wed Jul 9 16:34:55 2008 for PCSIM by  doxygen 1.5.5