parent
4c34a7674c
commit
47b31587ba
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.3 2005/09/20 13:58:55 pietroni
|
||||||
|
Modified MArk function parameter form ConstVertexPointer to VertexPointer
|
||||||
|
|
||||||
Revision 1.2 2005/08/02 11:37:29 pietroni
|
Revision 1.2 2005/08/02 11:37:29 pietroni
|
||||||
renamed typedef VertexContainer into VertContainer (like trimesh)
|
renamed typedef VertexContainer into VertContainer (like trimesh)
|
||||||
|
|
||||||
|
@ -54,7 +57,6 @@ namespace vertex {
|
||||||
/** \class VertexMesh.
|
/** \class VertexMesh.
|
||||||
This is class for definition of a mesh.
|
This is class for definition of a mesh.
|
||||||
@param VertContainerType (Template Parameter) Specifies the type of the vertices container any the vertex type.
|
@param VertContainerType (Template Parameter) Specifies the type of the vertices container any the vertex type.
|
||||||
@param PointContainerType (Template Parameter) Specifies the type of the faces container any the face type.
|
|
||||||
*/
|
*/
|
||||||
template < class VertContainerType >
|
template < class VertContainerType >
|
||||||
class VertexMesh{
|
class VertexMesh{
|
||||||
|
@ -69,17 +71,13 @@ class VertexMesh{
|
||||||
typedef const VertexType * ConstVertexPointer;
|
typedef const VertexType * ConstVertexPointer;
|
||||||
typedef Box3<ScalarType> BoxType;
|
typedef Box3<ScalarType> BoxType;
|
||||||
|
|
||||||
/// Set of vertices
|
VertContainerType vert; /// Set of vertices
|
||||||
VertContainerType vert;
|
size_t vn; /// Actual number of vertices
|
||||||
/// Real number of vertices
|
|
||||||
int vn;
|
Box3<ScalarType> bbox; /// Bounding box of the mesh
|
||||||
|
|
||||||
/// Bounding box of the mesh
|
|
||||||
Box3<ScalarType> bbox;
|
|
||||||
|
|
||||||
/// Global color
|
|
||||||
private:
|
private:
|
||||||
Color4b c;
|
Color4b c; /// Global color
|
||||||
public:
|
public:
|
||||||
|
|
||||||
inline const Color4b & C() const
|
inline const Color4b & C() const
|
||||||
|
|
Loading…
Reference in New Issue