class vxtBezierPatch : public vxtParSurface

4x4 Bezier patch.

Inheritance:


Public Methods

vxtBezierPatch(float *p, RGBColor c = RGBColor(1))
Constructor: *p is pointer to 4x4 array of float triples
vxtBezierPatch(Vector3D *p, RGBColor c = RGBColor(1))
Constructor: *p is pointer to 4x4 array of contol points
virtual void Describe() const
Print out object properties
virtual vxtObject3D* Dup() const
duplicate the object

Inherited from vxtParSurface:

Public

Basic methods

vxtParSurface(float umi=0, float uma=1, float vmi=0, float vma=1, RGBColor c=RGBColor(1))
Constructor - single color
vxtParSurface(vxtParSurface const &other)
copy constructor
~vxtParSurface()
destructor
vxtParSurface const& operator=(vxtParSurface const &other)
overloaded assignment
void loadTexture(char *name)
load color texture

Manipulation with domain dimensions

float getSurfMaxU() const
get upper u bound of the curve domain
float getSurfMinU() const
get lower u bound of the curve domain
float getSurfMaxV() const
get upper v bound of the curve domain
float getSurfMinV() const
get lower v bound of the curve domain
void setSurfBounds(float umi, float uma, float vmi, float vma)
set curve domain bounds
void setSurfMaxU(float uma)
set upper bound of the curve domain
void setSurfMinU(float umi)
set lower bound of the curve domain
void setSurfMaxV(float vma)
set upper bound of the curve domain
void setSurfMinV(float vmi)
set lower bound of the curve domain

Implementation of vxtObject3D virtual methods

virtual void Voxelize(vxtGrid3D& gr, const csgOp op=VXT_OR) const
Voxelize the object and add it to a grid
virtual void Describe() const
Print out object properties

Inherited from vxtPrimitive:

Public

Color manipulation

void setColor(RGBColor const& c)
set object color
RGBColor const& getColor(void) const
get object color

Implementation of GSC operations

vxtAggregate operator+(const vxtObject3D& b) const
Create an aggregate by addition - OR of two objects
vxtAggregate operator-(const vxtObject3D& b) const
Create an aggregate by subtracting two objects
vxtAggregate operator*(const vxtObject3D& b) const
Create an aggregate by multiplication - AND of two objects

Inherited from vxtObject3D:

Public

Methods dealing with object transformations

void Transform(Matrix const& tm, Vector3D const& P)
Object transformation with respect to a Point P
void Transform(Matrix const& tm)
Object transformation with respect to (0,0,0)
void Transform(const vxtObject3D& o)
Apply transformation matrix of some other object
Vector3D obj2world(Vector3D const &p) const
Transform point from object coordinates to world coordinates
Vector3D world2obj(Vector3D const &p) const
Transform point from world coordinates to object coordinates
void printMatrix(void) const
print transformation matrix

Virtual methods to be implemented by descendants

virtual void Voxelize(vxtGrid3D& gr, const csgOp op) const
Voxelize the object and add it to the grid gr
virtual vxtObject3D* Dup() const
Duplicate the object
virtual Vector3D minBBox()
get minimal corner of a bounding box
virtual Vector3D maxBBox()
get maximal corner of a bounding box
virtual void Describe() const
Print out object properties

Inherited from vxtBase:


Documentation

4x4 Bezier patch.
vxtBezierPatch(float *p, RGBColor c = RGBColor(1))
Constructor: *p is pointer to 4x4 array of float triples

vxtBezierPatch(Vector3D *p, RGBColor c = RGBColor(1))
Constructor: *p is pointer to 4x4 array of contol points

virtual void Describe() const
Print out object properties

virtual vxtObject3D* Dup() const
duplicate the object


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de