#include <Sphere.hpp>
Inheritance diagram for OSCAR::Sphere:

Public Methods | |
| Sphere (const Vector3 &pt, double rd) | |
| Sphere (const Sphere &arg) | |
| Sphere () | |
| virtual Sphere * | Clone () const |
| bool | SetProperties (const Vector3 &pt, double rd) |
| Sphere & | operator= (const Sphere &rhs) |
Protected Methods | |
| virtual bool | createSolid () |
|
||||||||||||
|
Constructor Constructs a sphere object from a point (the center of the sphere w.r.t. the local frame) and a radius. Global points are automatically populated using an identity transformation matrix.
|
|
|
|
|
|
Constructor Use for creating arrays of spheres. Note: The SetProperties(...) function must be called before any other function.
|
|
|
Clone this object.
Implements OSCAR::SkeletalPrimitive. |
|
|
Reimplemented from OSCAR::Primitive. |
|
|
|
|
||||||||||||
|
Update location and radius of the sphere. Update() is automatically called using the last Xform Update() was called with (defaults to identity if Update()has not been called).
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |