BALL::VIEW::Sphere Class Reference
[Geometric Objects]
#include <BALL/VIEW/PRIMITIVES/sphere.h>
List of all members.
Detailed Description
Sphere class. An instance of Sphere represents an instance of the geometric representation "sphere". The class Sphere is derived from the classes GeometricObject and Sphere3. See these classes for further information concerning interface and additional methods.
Constructor & Destructor Documentation
BALL::VIEW::Sphere::Sphere |
( |
|
) |
|
BALL::VIEW::Sphere::Sphere |
( |
const Sphere & |
sphere |
) |
|
Copy constructor with cloning facility.
virtual BALL::VIEW::Sphere::~Sphere |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void BALL::VIEW::Sphere::clear |
( |
|
) |
[virtual] |
virtual void BALL::VIEW::Sphere::dump |
( |
std::ostream & |
s = std::cout , |
|
|
Size |
depth = 0 | |
|
) |
| | const [virtual] |
const Vector3& BALL::VIEW::Sphere::getPosition |
( |
|
) |
const [inline] |
Vector3* BALL::VIEW::Sphere::getPositionAddress |
( |
|
) |
[inline] |
float BALL::VIEW::Sphere::getRadius |
( |
|
) |
const [inline] |
virtual void BALL::VIEW::Sphere::getVertices |
( |
vector< Vector3 > & |
vertices |
) |
const [virtual] |
bool BALL::VIEW::Sphere::isDefaultPositionAddress |
( |
|
) |
[inline] |
virtual bool BALL::VIEW::Sphere::isValid |
( |
|
) |
const [virtual] |
Internal state and consistency self-validation. Initiate self-validation of the internal state and data structure consistencies of this sphere. If the internal state of this sphere is correct (self-validated) and consistent true
is returned, false
otherwise. Calls GeometricObject::isValid.
- Returns:
- bool
true
if the internal state of this sphere is correct (self-validated) and consistent, false
otherwise
- See also:
- GeometricObject::isValid
Reimplemented from BALL::VIEW::GeometricObject.
const Sphere& BALL::VIEW::Sphere::operator= |
( |
const Sphere & |
sphere |
) |
|
void BALL::VIEW::Sphere::set |
( |
const Sphere & |
sphere |
) |
|
void BALL::VIEW::Sphere::setDefaultPositionAddress |
( |
|
) |
[inline] |
void BALL::VIEW::Sphere::setPosition |
( |
const Vector3 & |
v3 |
) |
[inline] |
void BALL::VIEW::Sphere::setPositionAddress |
( |
const Vector3 & |
v3 |
) |
[inline] |
void BALL::VIEW::Sphere::setRadius |
( |
float |
new_radius |
) |
[inline] |
void BALL::VIEW::Sphere::swap |
( |
Sphere & |
sphere |
) |
|
Member Data Documentation