glotzcluster::Cluster Class Reference
[Cluster Analysis]

A cluster of objects. More...

#include <Cluster.h>

Inheritance diagram for glotzcluster::Cluster:

glotzutil::Listable

List of all members.

Public Member Functions

 Cluster ()
 Constructor.
 Cluster (const char *)
 Constructor taking filename.
 Cluster (const Cluster &)
 Copy constructor.
virtual ~Cluster ()
 Destructor.
glotzopt::ObjectInCellListGetObject (int)
 References one component of the Cluster.
void AddCluster (Cluster *)
 Adds another cluster to the cluster.
void AddObject (glotzopt::ObjectInCellList *)
 Adds an object to the cluster.
void RemoveObject (glotzopt::ObjectInCellList *)
 Removes an object from the cluster.
glotzopt::ObjectInCellListGetCenterObject () const
 Gets the object at the center of the cluster.
void SetCenterObject (glotzopt::ObjectInCellList *)
 Sets the object at the center of the cluster.
glotzcluster::ObjectListGetObjects ()
 Gets a list of objects in the cluster.
void UndoBoundaryConditions (glotzsimapi::BoundaryConditions *)
void SetName (const char *)
 Sets the cluster name.
void SetName (std::string)
 Sets the cluster name.
std::string & GetName ()
 Gets the cluster name.
void RotateQ (glotzmath::glotz_quat &)
void RotateAA (double, glotzmath::glotz_vec &)
void Rotate (double, double, double)
void RotateDeg (double, double, double)
int GetNumberOfObjects () const
 Gets the number of objects in the cluster.
void Print ()
void PrintVisual ()
void Show ()
void Show (glotzopengl::Window &)
void ParseText (std::istream &)
void ParseXml (std::istream &)

Protected Attributes

ObjectList mObject
std::string mName


Detailed Description

A cluster of objects.

Author:
Aaron Keys

Constructor & Destructor Documentation

glotzcluster::Cluster::Cluster (  ) 

Constructor.

glotzcluster::Cluster::Cluster ( const char *  filename  ) 

Constructor taking filename.

glotzcluster::Cluster::Cluster ( const Cluster c  ) 

Copy constructor.

glotzcluster::Cluster::~Cluster (  )  [virtual]

Destructor.


Member Function Documentation

ObjectInCellList * glotzcluster::Cluster::GetObject ( int  i  ) 

References one component of the Cluster.

void glotzcluster::Cluster::AddCluster ( Cluster c  ) 

Adds another cluster to the cluster.

void glotzcluster::Cluster::AddObject ( glotzopt::ObjectInCellList obj  ) 

Adds an object to the cluster.

void glotzcluster::Cluster::RemoveObject ( glotzopt::ObjectInCellList obj  ) 

Removes an object from the cluster.

ObjectInCellList * glotzcluster::Cluster::GetCenterObject (  )  const

Gets the object at the center of the cluster.

void glotzcluster::Cluster::SetCenterObject ( glotzopt::ObjectInCellList obj  ) 

Sets the object at the center of the cluster.

ObjectList & glotzcluster::Cluster::GetObjects (  ) 

Gets a list of objects in the cluster.

void glotzcluster::Cluster::UndoBoundaryConditions ( glotzsimapi::BoundaryConditions bc  ) 

void glotzcluster::Cluster::SetName ( const char *  name  ) 

Sets the cluster name.

void glotzcluster::Cluster::SetName ( std::string  name  ) 

Sets the cluster name.

std::string & glotzcluster::Cluster::GetName (  ) 

Gets the cluster name.

void glotzcluster::Cluster::RotateQ ( glotzmath::glotz_quat Q  ) 

void glotzcluster::Cluster::RotateAA ( double  angle,
glotzmath::glotz_vec axis 
)

void glotzcluster::Cluster::Rotate ( double  rotx,
double  roty,
double  rotz 
)

void glotzcluster::Cluster::RotateDeg ( double  rotx,
double  roty,
double  rotz 
)

int glotzcluster::Cluster::GetNumberOfObjects (  )  const

Gets the number of objects in the cluster.

void glotzcluster::Cluster::Print (  ) 

void glotzcluster::Cluster::PrintVisual (  ) 

void glotzcluster::Cluster::Show (  ) 

void glotzcluster::Cluster::Show ( glotzopengl::Window w  ) 

void glotzcluster::Cluster::ParseText ( std::istream &  is  ) 

void glotzcluster::Cluster::ParseXml ( std::istream &  is  ) 


Member Data Documentation

ObjectList glotzcluster::Cluster::mObject [protected]

std::string glotzcluster::Cluster::mName [protected]


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 20:53:14 2009 by  doxygen 1.5.3