Sphere Class Reference

Definition of class Sphere. More...

#include <Sphere.h>

Inheritance diagram for Sphere:

PrimitiveRep

Public Member Functions

 Sphere ()
 default constructor
 Sphere (const Vector3 &c, double r) void~Sphere() const Vector3 &center() const
 the sphere center accessor
double radius () const
 the sphere radius accessor
int id (PrimitiveRep *p) const Box3d bbox() const virtual int classify(Vector3 q) const virtual Vector3 point(Real u
 enumeration operator
int Real v virtual const Vector3 normal (Real u, Real v) const virtual Vector3 gradient(const Vector3 &q) const virtual Inode *intersect(const Ray &r) const virtual Polygon *uv_decomp(Real level) const
 parametric decomposition operator
virtual Vector3 texc (Real u, Real v) const virtual Vector3 du(Real u
 first partial derivative operator

Static Public Member Functions

static Val parse (int c, Pval *pl)
 parsing operator

Data Fields

virtual Vector3 Real v virtual
const Vector3 dv(Real u, Real
v) const virtual AffineTransform
local(PrimitiveRep *p) const
virtual ofstream &operator<
<(ofstream &out) private double 
r
 the sphere radius

Detailed Description

Definition of class Sphere.

The Sphere class implements the Sphere modeling primitive.


The documentation for this class was generated from the following files:
Generated on Thu Jul 5 00:16:33 2007 for S3D by  doxygen 1.4.6