Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

physics::Polyhedron::Polygon Class Reference

Inheritance diagram for physics::Polyhedron::Polygon:

Inheritance graph
[legend]
Collaboration diagram for physics::Polyhedron::Polygon:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Polygon ()
virtual ~Polygon ()
virtual String className () const
virtual Object & clone () const
Polygon & operator= (const Polygon &p)
virtual void serialize (base::Serializer &s)
 read or write object state to Serializer

virtual bool isSameKindAs (const Object &) const

Static Public Member Functions

template<class BaseClass, class DerivedClass> void registerSerializableInstantiator (const SerializableInstantiator &instantiator)
void registerSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName, const SerializableInstantiator &instantiator)
template<class BaseClass> const SerializableInstantiator & getSerializableInstantiator (const String &derivedClassTypeName)
const SerializableInstantiator & getSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName)
void * operator new (std::size_t size)
void operator delete (void *p, std::size_t size)

Protected Member Functions

 Polygon (const Polygon &p)
void addEdge (ref< Edge > e)

Protected Attributes

EdgeList edges

Friends

class Polyhedron

Constructor & Destructor Documentation

physics::Polyhedron::Polygon::Polygon (   )  [inline]
 

Definition at line 164 of file Polyhedron.

Referenced by clone().

virtual physics::Polyhedron::Polygon::~Polygon (   )  [inline, virtual]
 

Definition at line 165 of file Polyhedron.

physics::Polyhedron::Polygon::Polygon (  const Polygon &  p  )  [inline, protected]
 

Definition at line 178 of file Polyhedron.


Member Function Documentation

void physics::Polyhedron::Polygon::addEdge (  ref< Edge >  e  )  [inline, protected]
 

Definition at line 180 of file Polyhedron.

References base::reflist< _Tp, _Alloc >::push_back().

virtual String physics::Polyhedron::Polygon::className (   )  const [inline, virtual]
 

return the name of the object's class type. Must be defined by derived classes.

Implements base::Object.

Definition at line 167 of file Polyhedron.

virtual Object& physics::Polyhedron::Polygon::clone (   )  const [inline, virtual]
 

Definition at line 168 of file Polyhedron.

References NewObj, and Polygon().

const SerializableInstantiator& base::Serializable::getSerializableInstantiator (  const String &  baseClassTypeName,
const String &  derivedClassTypeName
)  [static, inherited]
 

template<class BaseClass>
const SerializableInstantiator& base::Serializable::getSerializableInstantiator (  const String &  derivedClassTypeName  )  [inline, static, inherited]
 

Definition at line 71 of file Serializable.

References base::String.

virtual bool base::Object::isSameKindAs (  const Object &   )  const [inline, virtual, inherited]
 

Definition at line 47 of file Object.

void base::SmallObject< ThreadingModel, chunkSize, maxSmallObjectSize >::operator delete (  void *  p,
std::size_t  size
)  [inline, static, inherited]
 

Definition at line 200 of file SmallObj.

void* base::SmallObject< ThreadingModel, chunkSize, maxSmallObjectSize >::operator new (  std::size_t  size  )  [inline, static, inherited]
 

Definition at line 188 of file SmallObj.

References operator new().

Polygon& physics::Polyhedron::Polygon::operator= (  const Polygon &  p  )  [inline]
 

Definition at line 170 of file Polyhedron.

References edges.

void base::Serializable::registerSerializableInstantiator (  const String &  baseClassTypeName,
const String &  derivedClassTypeName,
const SerializableInstantiator &  instantiator
)  [static, inherited]
 

template<class BaseClass, class DerivedClass>
void base::Serializable::registerSerializableInstantiator (  const SerializableInstantiator &  instantiator  )  [inline, static, inherited]
 

Definition at line 62 of file Serializable.

virtual void physics::Polyhedron::Polygon::serialize (  base::Serializer &  s  )  [inline, virtual]
 

read or write object state to Serializer

Implements base::Serializable.

Definition at line 173 of file Polyhedron.


Friends And Related Function Documentation

friend class Polyhedron [friend]
 

Definition at line 184 of file Polyhedron.


Member Data Documentation

EdgeList physics::Polyhedron::Polygon::edges [protected]
 

Definition at line 182 of file Polyhedron.

Referenced by operator=().


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:41:25 2004 for OpenSim by doxygen 1.3.6