![]() |
aimsdata 6.0.0
Neuroimaging data handling
|
The template class to manage a mesh with time if needed. More...
#include <aims/mesh/surface.h>


Public Types | |
| typedef std::map< int, AimsSurface< D, T > >::iterator | iterator |
| typedef std::map< int, AimsSurface< D, T > >::const_iterator | const_iterator |
Public Types inherited from carto::RCObject | |
| typedef int | RefCounterType |
Public Member Functions | |
| AimsTimeSurface () | |
| Constructor does nothing special. | |
| AimsTimeSurface (const AimsTimeSurface< D, T > &other) | |
| virtual | ~AimsTimeSurface () |
| Destructor does nothing. | |
| const aims::PythonHeader & | header () const |
| Get the header. | |
| aims::PythonHeader & | header () |
| void | setHeader (const aims::PythonHeader &hdr) |
| Set the header. | |
| const std::vector< Point3df > & | vertex () const |
| Get a const reference to the vector of verteces of the surface of index 0. | |
| std::vector< Point3df > & | vertex () |
| Get a non const reference to the vector of verteces of the 0 surface. | |
| const std::vector< Point3df > & | normal () const |
| Get a const reference to the vector of normals of the 0 surface. | |
| std::vector< Point3df > & | normal () |
| Get a non const reference to the vector of normals of the 0 surface. | |
| const std::vector< T > & | texture () const |
| Get a const reference to the vector of textures of the 0 surface. | |
| std::vector< T > & | texture () |
| Get a non const reference to the vector of textures of the 0 surface. | |
| const std::vector< AimsVector< uint, D > > & | polygon () const |
| Get a const reference to the vector of polygons of the 0 surface. | |
| std::vector< AimsVector< uint, D > > & | polygon () |
| Get a non const reference to the vector of polygons of the 0 surface. | |
| Point3df | minimum () const |
| Get the inferior point of the box containing all the meshes. | |
| Point3df | maximum () const |
| Get the superior point of the box containing all the meshes. | |
| void | setMini () |
| Calculates the inferior point of the box containing all the meshes. | |
| void | setMaxi () |
| Calculates the superior point of the box containing all the meshes. | |
| void | erase () |
| Clear all the meshes. | |
| void | updateNormals () |
| Update/Compute the normals. | |
| bool | operator== (const AimsTimeSurface< D, T > &) const |
| bool | operator!= (const AimsTimeSurface< D, T > &other) const |
| AimsTimeSurface< D, T > & | operator= (const AimsTimeSurface< D, T > &other) |
| void | updateNormals () |
| void | updateNormals () |
Public Member Functions inherited from carto::RCObject | |
| RCObject () | |
| RCObject (const RCObject &) | |
| RCObject & | operator= (const RCObject &) |
| virtual | ~RCObject () |
Protected Attributes | |
Data | |
| aims::PythonHeader | _header |
| Header. | |
| Point3df | _mini |
| Inferior point of the box containing all the meshes. | |
| Point3df | _maxi |
| Inferior point of the box containing all the meshes. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const AimsTimeSurface< D, T > &thing) |
| Output stream operator. | |
The template class to manage a mesh with time if needed.
The first template argument gives the dimension of the polygons of the mesh. The second template argument provides the type of the texture information. AimsTimeSurface is based upon STL maps of AimsSurface<D,T> items. One can get some more details in STL documentation.
| typedef std::map<int,AimsSurface<D,T>>::const_iterator AimsTimeSurface< D, T >::const_iterator |
| typedef std::map<int,AimsSurface<D,T>>::iterator AimsTimeSurface< D, T >::iterator |
|
inline |
Constructor does nothing special.
Definition at line 323 of file surface.h.
Referenced by operator<<, and operator==().
|
inline |
|
inlinevirtual |
|
inline |
Clear all the meshes.
Definition at line 519 of file surface.h.
References erase().
Referenced by erase(), aims::SurfaceManip::meshMerge(), aims::MeshReader< D, T >::read(), and aims::WavefrontMeshReader< D, T >::read().
|
inline |
|
inline |
Get the header.
Definition at line 332 of file surface.h.
Referenced by soma::FsSurfFormatReader< D >::createAndRead(), aims::SurfaceManip::invertSurfacePolygons(), aims::SurfaceManip::joinTexturedMesh(), aims::SurfaceManip::meshMerge(), operator==(), soma::FsSurfFormatReader< D >::read(), soma::FsSurfFormatReader< D >::readAdditions(), aims::SurfaceManip::splitTexturedMesh(), aims::GiftiMeshFormat< D, T >::write(), aims::MeshWriter< D, T >::write(), aims::PlyWriter< D, T >::write(), aims::WavefrontMeshWriter< D, T >::write(), and aims::WavefrontMeshWriter< D, Void >::write().
|
inline |
|
inline |
|
inline |
|
inline |
Get a const reference to the vector of normals of the 0 surface.
Definition at line 354 of file surface.h.
Referenced by aims::GiftiMeshFormat< D, T >::read(), aims::PlyReader< D, T >::read(), and aims::PlyWriter< D, T >::write().
|
inline |
|
inline |
|
inline |
Definition at line 554 of file surface.h.
References AimsTimeSurface(), and header().
|
inline |
|
inline |
Get a const reference to the vector of polygons of the 0 surface.
Definition at line 366 of file surface.h.
Referenced by aims::SurfaceManip::rasterizeMeshWireframe(), aims::GiftiMeshFormat< D, T >::read(), aims::PlyReader< D, T >::read(), soma::FsSurfFormatReader< D >::readPolygons(), aims::SurfaceManip::sortPolygonsAlongDirection(), aims::SurfaceManip::surfaceNeighbourDistance(), aims::SurfaceManip::surfaceNeighbours(), aims::SurfaceManip::surfaceNeighbours2ndOrder(), and aims::PlyWriter< D, T >::write().
|
inline |
Set the header.
Definition at line 336 of file surface.h.
Referenced by aims::GiftiMeshFormat< D, T >::read(), aims::MeshReader< D, T >::read(), aims::PlyReader< D, T >::read(), and aims::WavefrontMeshReader< D, T >::read().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Update/Compute the normals.
Definition at line 528 of file surface.h.
Referenced by aims::PlyReader< D, T >::read(), and aims::WavefrontMeshReader< D, T >::read().
|
inline |
|
inline |
|
inline |
|
inline |
Get a const reference to the vector of verteces of the surface of index 0.
The function was redefined to omit time. It is equivalent to write:\ AimsTimeSurface<D,T> surface; \ Point3df item; surface.vertex().push_back(item); \ \ than to write : \ surface[0].vertex().push_back(item); \ \
Definition at line 348 of file surface.h.
Referenced by aims::SurfaceManip::rasterizeMeshWireframe(), aims::GiftiMeshFormat< D, T >::read(), aims::PlyReader< D, T >::read(), soma::FsSurfFormatReader< D >::readVertices(), aims::SurfaceManip::sortPolygonsAlongDirection(), aims::SurfaceManip::surfaceNeighbourDistance(), aims::SurfaceManip::surfaceNeighbours(), aims::SurfaceManip::surfaceNeighbours2ndOrder(), and aims::PlyWriter< D, T >::write().
|
friend |
|
protected |
Header.
Definition at line 413 of file surface.h.
Referenced by AimsTimeSurface< 2, Void >::AimsTimeSurface(), and AimsTimeSurface< 2, Void >::operator=().
|
protected |
Inferior point of the box containing all the meshes.
Definition at line 417 of file surface.h.
Referenced by AimsTimeSurface< 2, Void >::operator=(), and setMaxi().
|
protected |
Inferior point of the box containing all the meshes.
Definition at line 415 of file surface.h.
Referenced by AimsTimeSurface< 2, Void >::operator=(), and setMini().