|  | aimsdata
    5.1.2
    Neuroimaging data handling | 
The template class to manage a mesh. More...
#include <aims/mesh/surface.h>


| Public Member Functions | |
| AimsSurface () | |
| Constructor does nothing special.  More... | |
| virtual | ~AimsSurface () | 
| Destructor does nothing.  More... | |
| const std::vector< Point3df > & | vertex () const | 
| Get a const reference to the vector of vertices.  More... | |
| std::vector< Point3df > & | vertex () | 
| Get a non const reference to the vector of verteces.  More... | |
| const std::vector< Point3df > & | normal () const | 
| Get a const reference to the vector of normals.  More... | |
| std::vector< Point3df > & | normal () | 
| Get a non const reference to the vector of normals.  More... | |
| const std::vector< T > & | texture () const | 
| Get a const reference to the vector of textures.  More... | |
| std::vector< T > & | texture () | 
| Get a non const reference to the vector of textures.  More... | |
| const std::vector< AimsVector< uint, D > > & | polygon () const | 
| Get a const reference to the vector of polygons.  More... | |
| std::vector< AimsVector< uint, D > > & | polygon () | 
| Get a non const reference to the vector of polygons.  More... | |
| Point3df | minimum () const | 
| Get the inferior point of the box containing the mesh.  More... | |
| Point3df | maximum () const | 
| Get the superior point of the box containing the mesh.  More... | |
| void | setMini () | 
| Calculate the inferior point of the box containing the mesh.  More... | |
| void | setMaxi () | 
| Calculate the superior point of the box containing the mesh.  More... | |
| void | erase () | 
| Clear the mesh.  More... | |
| void | updateNormals () | 
| Update/Compute the normals.  More... | |
| bool | operator== (const AimsSurface< D, T > &s) const | 
| bool | operator!= (const AimsSurface< D, T > &s) const | 
| void | updateNormals () | 
| void | updateNormals () | 
| Protected Types | |
| typedef std::vector< AimsVector< uint, D > > | Polygons | 
| Vector of polygons.  More... | |
| Protected Attributes | |
| std::vector< Point3df > | _vertex | 
| Vector of vertices.  More... | |
| std::vector< Point3df > | _normal | 
| Vector of normals.  More... | |
| std::vector< T > | _texture | 
| Vector of textures.  More... | |
| Polygons | _polygon | 
| Point3df | _mini | 
| Inferior point of a box containing the whole mesh in the 3D space.  More... | |
| Point3df | _maxi | 
| Superior point of a box containing the whole mesh in the 3D space.  More... | |
| Friends | |
| std::ostream & | operator<< (std::ostream &out, const AimsSurface< D, T > &thing) | 
| Output stream operator.  More... | |
The template class to manage a mesh.
The first template argument gives the dimension of the polygons of the mesh. The second template argument provides the type of the texture information.
| 
 | protected | 
| 
 | inline | 
| 
 | inlinevirtual | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Get a const reference to the vector of normals.
Definition at line 98 of file surface.h.
Referenced by aims::SurfaceManip::joinTexturedMesh(), aims::SurfaceManip::meshExtract(), aims::SurfaceManip::meshMerge(), aims::MeshReader< D, T >::read(), aims::GiftiMeshFormat< D, T >::read(), aims::SurfaceManip::splitTexturedMesh(), and aims::GiftiMeshFormat< D, T >::write().
| 
 | inline | 
| 
 | inline | 
Definition at line 129 of file surface.h.
References AimsSurface< D, T >::_normal, AimsSurface< D, T >::_polygon, AimsSurface< D, T >::_texture, and AimsSurface< D, T >::_vertex.
| 
 | inline | 
| 
 | inline | 
Get a const reference to the vector of polygons.
Definition at line 108 of file surface.h.
Referenced by aims::SurfaceManip::invertSurfacePolygons(), aims::SurfaceManip::joinTexturedMesh(), aims::SurfaceManip::meshDensity(), aims::SurfaceManip::meshEdgeLengthRatioTexture(), aims::SurfaceManip::meshExtract(), aims::SurfaceManip::meshMerge(), aims::SurfaceManip::meshTextureBoundary(), aims::MeshReader< D, T >::read(), aims::GiftiMeshFormat< D, T >::read(), aims::SurfaceManip::splitTexturedMesh(), aims::SurfaceManip::surfaceNeighbours(), and aims::GiftiMeshFormat< D, T >::write().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Get a const reference to the vector of textures.
Definition at line 103 of file surface.h.
Referenced by aims::SurfaceManip::joinTexturedMesh(), aims::MeshReader< D, T >::read(), and aims::GiftiMeshFormat< D, T >::write().
| 
 | inline | 
Update/Compute the normals.
Definition at line 188 of file surface.h.
Referenced by aims::MeshReader< D, T >::read(), and aims::GiftiMeshFormat< D, T >::read().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Get a const reference to the vector of vertices.
Definition at line 93 of file surface.h.
Referenced by aims::SurfaceManip::joinTexturedMesh(), aims::SurfaceManip::meshDensity(), aims::SurfaceManip::meshEdgeLengthRatioTexture(), aims::SurfaceManip::meshExtract(), aims::SurfaceManip::meshMerge(), aims::SurfaceManip::meshTextureBoundary(), aims::MeshReader< D, T >::read(), aims::GiftiMeshFormat< D, T >::read(), SiteIterator< AimsSurface< D, Void > >::SiteIterator(), aims::SurfaceManip::splitTexturedMesh(), aims::SurfaceManip::surfaceNeighbours(), and aims::GiftiMeshFormat< D, T >::write().
| 
 | friend | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
Vector of normals.
Definition at line 74 of file surface.h.
Referenced by AimsSurface< D, T >::operator==().
| 
 | protected | 
Definition at line 79 of file surface.h.
Referenced by AimsSurface< D, T >::operator==().
| 
 | protected | 
Vector of textures.
Definition at line 76 of file surface.h.
Referenced by AimsSurface< D, T >::operator==().
| 
 | protected | 
Vector of vertices.
Definition at line 72 of file surface.h.
Referenced by AimsSurface< D, T >::operator==().