class DVproperty ostream& operator<<(ostream&, DVproperty&)


[more]friend ostream& operator<<(ostream &, DVpolygons &)
A friend routine to overload the << operator
[more] DVpolygons()
This one makes a default list of polygons (empty)
[more] DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2 )
each LCVMarray v_i must have the same size
[more] DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2 )
must have size 3. (Usually n_i is a unit vector.)
[more] DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray_2D<float> &n )
n[i] is the normal for vertex i. (Usually n[i] is a unit vector.)
[more] DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3 )
each LCVMarray must have the same size
[more] DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2, LCVMarray<float> &n3 )
must have size 3. (Usually n_i is a unit vector.)
[more] DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray_2D<float> &n )
n[i] is the normal for vertex i. (Usually n[i] is a unit vector.)
[more] DVpolygons(LCVMarray_2D<float> &v)
v must be rectangular. v[i] must have size at least 3.
[more] DVpolygons(LCVMarray_2D<float> &v, LCVMarray_2D<float> &n)
v[i] must have size at least 3.
[more] DVpolygons(LCVMarray_3D<float> &v)
least three vertices.
[more] DVpolygons(LCVMarray_3D<float> &v, LCVMarray_3D<float> &n)
components. (Usually the normals are unit vectors.)
[more]virtual ~DVpolygons()
destructor
[more]DVpolygons& set_data()
This one makes a default list of polygons (empty)
[more]DVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2 )
three nodes given--creates one triangle
[more]DVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2 )
three nodes given and 3 normals given--creates one triangle
[more]DVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray_2D<float> &n )
three nodes given and an array of 3 normals given--creates one triangle
[more]DVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3 )
four nodes given--creates one quadrilateral
[more]DVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2, LCVMarray<float> &n3 )
four nodes given and 4 normals given--creates one quadrilateral
[more]DVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray_2D<float> &n )
quadrilateral
[more]DVpolygons& set_data(LCVMarray_2D<float> &v)
array of nodes given--v[i] is a vertex.
[more]DVpolygons& set_data( LCVMarray_2D<float> &v, LCVMarray_2D<float> &n )
array of nodes given and array of normals given
[more]DVpolygons& set_data(LCVMarray_3D<float> &v)
2_D array of nodes given--v[i] is a polygon. v[i][j] is a vertex.
[more]DVpolygons& set_data( LCVMarray_3D<float> &v, LCVMarray_3D<float> &n )
components. (Usually the normals are unit vectors.)
[more]virtual void draw(LCVMstack<DVproperty*>&)
virtual draw routine
[more] DVpolygons(const DVpolygons &data)
We also want a copy constructor as well as an assignment operator
[more]const DVpolygons& operator=(const DVpolygons &data)
[more]virtual void print(ostream&)
a virtual print function
[more] DVpolygons(FileOption a_file_op)
Methods concerning the scene file format
[more]virtual int ReadMyProp()
[more]virtual DVobject* copy()
of the object created with new.


Documentation

ofriend ostream& operator<<(ostream &, DVpolygons &)
A friend routine to overload the << operator

o DVpolygons()
This one makes a default list of polygons (empty)

o DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2 )
each LCVMarray v_i must have the same size

o DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2 )
must have size 3. (Usually n_i is a unit vector.)

o DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray_2D<float> &n )
n[i] is the normal for vertex i. (Usually n[i] is a unit vector.)

o DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3 )
each LCVMarray must have the same size

o DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2, LCVMarray<float> &n3 )
must have size 3. (Usually n_i is a unit vector.)

o DVpolygons( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray_2D<float> &n )
n[i] is the normal for vertex i. (Usually n[i] is a unit vector.)

o DVpolygons(LCVMarray_2D<float> &v)
v must be rectangular. v[i] must have size at least 3.

o DVpolygons(LCVMarray_2D<float> &v, LCVMarray_2D<float> &n)
v[i] must have size at least 3.

o DVpolygons(LCVMarray_3D<float> &v)
least three vertices.

o DVpolygons(LCVMarray_3D<float> &v, LCVMarray_3D<float> &n)
components. (Usually the normals are unit vectors.)

ovirtual ~DVpolygons()
destructor

oDVpolygons& set_data()
This one makes a default list of polygons (empty)

oDVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2 )
three nodes given--creates one triangle

oDVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2 )
three nodes given and 3 normals given--creates one triangle

oDVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray_2D<float> &n )
three nodes given and an array of 3 normals given--creates one triangle

oDVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3 )
four nodes given--creates one quadrilateral

oDVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray<float> &n0, LCVMarray<float> &n1, LCVMarray<float> &n2, LCVMarray<float> &n3 )
four nodes given and 4 normals given--creates one quadrilateral

oDVpolygons& set_data( LCVMarray<float> &v0, LCVMarray<float> &v1, LCVMarray<float> &v2, LCVMarray<float> &v3, LCVMarray_2D<float> &n )
quadrilateral

oDVpolygons& set_data(LCVMarray_2D<float> &v)
array of nodes given--v[i] is a vertex.

oDVpolygons& set_data( LCVMarray_2D<float> &v, LCVMarray_2D<float> &n )
array of nodes given and array of normals given

oDVpolygons& set_data(LCVMarray_3D<float> &v)
2_D array of nodes given--v[i] is a polygon. v[i][j] is a vertex.

oDVpolygons& set_data( LCVMarray_3D<float> &v, LCVMarray_3D<float> &n )
components. (Usually the normals are unit vectors.)

ovirtual void draw(LCVMstack<DVproperty*>&)
virtual draw routine

o DVpolygons(const DVpolygons &data)
We also want a copy constructor as well as an assignment operator

oconst DVpolygons& operator=(const DVpolygons &data)

ovirtual void print(ostream&)
a virtual print function

o DVpolygons(FileOption a_file_op)
Methods concerning the scene file format

ovirtual int ReadMyProp()

ovirtual DVobject* copy()
of the object created with new.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.