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

physics::Polyhedron::Edge Class Reference

Inheritance diagram for physics::Polyhedron::Edge:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Edge ()
 Edge (const Edge &e)
virtual ~Edge ()
virtual String className () const
virtual Object & clone () const
Edge & operator= (const Edge &e)
bool operator== (const Edge &e) const
bool operator!= (const Edge &e) const
ref< const Vertex > vertex1 () const
ref< const Vertex > vertex2 () const
ref< const Vertex > otherVertex (ref< const Vertex > v) const
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

 Edge (ref< Vertex > v1, ref< Vertex > v2)
void addPoly (ref< Polygon > poly)

Protected Attributes

ref< Vertex > v1
ref< Vertex > v2
Int polys
ref< Polygon > poly1
ref< Polygon > poly2

Friends

class Polyhedron

Constructor & Destructor Documentation

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

Definition at line 112 of file Polyhedron.

References polys.

Referenced by clone().

physics::Polyhedron::Edge::Edge (  const Edge &  e  )  [inline]
 

Definition at line 114 of file Polyhedron.

References poly1, poly2, polys, and v1.

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

Definition at line 117 of file Polyhedron.

physics::Polyhedron::Edge::Edge (  ref< Vertex >  v1,
ref< Vertex >  v2
)  [inline, protected]
 

Definition at line 144 of file Polyhedron.

References polys.


Member Function Documentation

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

Definition at line 145 of file Polyhedron.

References poly1, poly2, and polys.

virtual String physics::Polyhedron::Edge::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 119 of file Polyhedron.

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

Definition at line 120 of file Polyhedron.

References Edge(), and NewObj.

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().

bool physics::Polyhedron::Edge::operator!= (  const Edge &  e  )  const [inline]
 

Definition at line 126 of file Polyhedron.

Edge& physics::Polyhedron::Edge::operator= (  const Edge &  e  )  [inline]
 

Definition at line 122 of file Polyhedron.

References poly1, poly2, polys, v1, and v2.

bool physics::Polyhedron::Edge::operator== (  const Edge &  e  )  const [inline]
 

Definition at line 125 of file Polyhedron.

ref<const Vertex> physics::Polyhedron::Edge::otherVertex (  ref< const Vertex >  v  )  const [inline]
 

Definition at line 131 of file Polyhedron.

References v1.

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::Edge::serialize (  base::Serializer &  s  )  [inline, virtual]
 

read or write object state to Serializer

Implements base::Serializable.

Definition at line 134 of file Polyhedron.

References poly1, poly2, polys, and v1.

ref<const Vertex> physics::Polyhedron::Edge::vertex1 (   )  const [inline]
 

Definition at line 128 of file Polyhedron.

References v1.

ref<const Vertex> physics::Polyhedron::Edge::vertex2 (   )  const [inline]
 

Definition at line 129 of file Polyhedron.


Friends And Related Function Documentation

friend class Polyhedron [friend]
 

Definition at line 157 of file Polyhedron.


Member Data Documentation

ref<Polygon> physics::Polyhedron::Edge::poly1 [protected]
 

Definition at line 155 of file Polyhedron.

Referenced by addPoly(), Edge(), operator=(), and serialize().

ref<Polygon> physics::Polyhedron::Edge::poly2 [protected]
 

Definition at line 155 of file Polyhedron.

Referenced by addPoly(), Edge(), operator=(), and serialize().

Int physics::Polyhedron::Edge::polys [protected]
 

Definition at line 154 of file Polyhedron.

Referenced by addPoly(), Edge(), operator=(), and serialize().

ref<Vertex> physics::Polyhedron::Edge::v1 [protected]
 

Definition at line 153 of file Polyhedron.

Referenced by Edge(), operator=(), otherVertex(), serialize(), and vertex1().

ref<Vertex> physics::Polyhedron::Edge::v2 [protected]
 

Definition at line 153 of file Polyhedron.

Referenced by operator=().


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