PolygonalEnergy Class Reference

#include <PolygonalEnergy.h>

Inheritance diagram for PolygonalEnergy:

EnergyCoat ESGObject List of all members.

Public Types

enum  Regions { VERTEX_BASED, FACET_BASED, UNKNOWN }
enum  Type { UNKNOWN, POLYGONAL, MAP2D, MAP3D }

Public Member Functions

 PolygonalEnergy (AutoPtr< Mesh > *m, Regions r=UNKNOWN)
virtual ~PolygonalEnergy ()
virtual Type type (void) const
virtual bool getRegionEnergy (int id, Vector3 &val) const
virtual bool setRegionEnergy (int id, const Vector3 &val)
AutoPtr< Mesh > * getMesh (void)
Regions getRegionsDescr (void) const
void setRegionsDescr (Regions r)

Public Attributes

enum esg::PolygonalEnergy::Regions _regions

Protected Attributes

Sgi::hash_map< int, Vector3_energy
AutoPtr< Mesh > * _pMesh
Geometry_pGeometry

Detailed Description

Definition at line 13 of file PolygonalEnergy.h.


Member Enumeration Documentation

enum Regions
 

Enumerator:
VERTEX_BASED 
FACET_BASED 
UNKNOWN 

Definition at line 19 of file PolygonalEnergy.h.

enum Type [inherited]
 

Enumerator:
UNKNOWN 
POLYGONAL 
MAP2D 
MAP3D 

Definition at line 14 of file EnergyCoat.h.


Constructor & Destructor Documentation

PolygonalEnergy AutoPtr< Mesh > *  m,
Regions  r = UNKNOWN
[inline]
 

Definition at line 22 of file PolygonalEnergy.h.

virtual ~PolygonalEnergy  )  [inline, virtual]
 

Definition at line 27 of file PolygonalEnergy.h.


Member Function Documentation

AutoPtr<Mesh>* getMesh void   )  [inline]
 

Definition at line 45 of file PolygonalEnergy.h.

virtual bool getRegionEnergy int  id,
Vector3 val
const [inline, virtual]
 

Definition at line 31 of file PolygonalEnergy.h.

Regions getRegionsDescr void   )  const [inline]
 

Definition at line 46 of file PolygonalEnergy.h.

virtual bool setRegionEnergy int  id,
const Vector3 val
[inline, virtual]
 

Definition at line 39 of file PolygonalEnergy.h.

void setRegionsDescr Regions  r  )  [inline]
 

Definition at line 47 of file PolygonalEnergy.h.

virtual Type type void   )  const [inline, virtual]
 

Reimplemented from EnergyCoat.

Definition at line 29 of file PolygonalEnergy.h.


Member Data Documentation

Sgi::hash_map<int, Vector3> _energy [protected]
 

Definition at line 15 of file PolygonalEnergy.h.

Geometry* _pGeometry [protected, inherited]
 

Definition at line 22 of file EnergyCoat.h.

AutoPtr<Mesh>* _pMesh [protected]
 

Definition at line 16 of file PolygonalEnergy.h.

enum esg::PolygonalEnergy::Regions _regions
 


The documentation for this class was generated from the following file:
Generated on Wed Jun 28 12:24:33 2006 for esg by  doxygen 1.4.6