BALL
1.4.79
|
#include <BALL/VIEW/PRIMITIVES/quadMesh.h>
Classes | |
struct | Quadruple |
Public Member Functions | |
QuadMesh () | |
QuadMesh (const QuadMesh &mesh) | |
Copy constructor. More... | |
~QuadMesh () | |
virtual void | getVertices (vector< Vector3 > &vertices) const |
Public Member Functions inherited from BALL::VIEW::GeometricObject | |
GeometricObject () | |
GeometricObject (const GeometricObject &object) | |
virtual | ~GeometricObject () |
virtual void | clear () |
void | set (const GeometricObject &object) |
GeometricObject & | operator= (const GeometricObject &object) |
void | swap (GeometricObject &object) |
void | setComposite (const Composite *composite) |
const Composite * | getComposite () const |
virtual bool | isValid () const |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
void | setColor (const ColorRGBA &color) |
void | setColor (const ColorUnit &red, const ColorUnit &green, const ColorUnit &blue, const ColorUnit &alpha=(float) 1) |
const ColorRGBA & | getColor () const |
ColorRGBA & | getColor () |
void | getColor (ColorUnit &red, ColorUnit &green, ColorUnit &blue, ColorUnit &alpha) const |
void | getColors (HashSet< String > &colors) |
Insert the colors of this object into the hashset. More... | |
bool | operator== (const GeometricObject &object) const |
Needed for MSVC. More... | |
bool | operator< (const GeometricObject &object) const |
Needed for MSVC. More... | |
Public Member Functions inherited from BALL::VIEW::MultiColorExtension | |
MultiColorExtension () | |
MultiColorExtension (const MultiColorExtension &color_extension) | |
virtual | ~MultiColorExtension () |
virtual void | clear () |
void | set (const MultiColorExtension &color_extension) |
const MultiColorExtension & | operator= (const MultiColorExtension &color_extension) |
void | swap (MultiColorExtension &color_extension) |
void | setColors (const vector< ColorRGBA > &colors) |
vector< ColorRGBA > & | getColors () |
const vector< ColorRGBA > & | getColors () const |
void | setAlphas (Size alpha) |
Set the alpha values for all colors. More... | |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
Public Attributes | |
vector< Vector3 > | vertex |
vector< Vector3 > | normal |
vector< Quadruple > | quad |
Public Attributes inherited from BALL::VIEW::MultiColorExtension | |
vector< ColorRGBA > | colors |
QuadMesh class. An instance of QuadMesh represents an mesh with quadruples.
Definition at line 27 of file quadMesh.h.
BALL::VIEW::QuadMesh::QuadMesh | ( | ) |
Default Constructor. The properties of this mesh are set to:
BALL::VIEW::QuadMesh::QuadMesh | ( | const QuadMesh & | mesh | ) |
Copy constructor.
|
inline |
Definition at line 58 of file quadMesh.h.
|
inlinevirtual |
Reimplemented from BALL::VIEW::GeometricObject.
Definition at line 61 of file quadMesh.h.
vector<Vector3> BALL::VIEW::QuadMesh::normal |
Definition at line 68 of file quadMesh.h.
vector<Quadruple> BALL::VIEW::QuadMesh::quad |
Definition at line 69 of file quadMesh.h.
vector<Vector3> BALL::VIEW::QuadMesh::vertex |
The colors belonging to each vertex. If this list has less entries than there are vertices in this mesh, we take the first element to color the whole mesh. If it is empty, we use the color white.
Definition at line 67 of file quadMesh.h.