![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
Textured variant of CutMesh. More...
#include <aims/mesh/cutmesh.h>
Public Member Functions | |
CutTexturedMesh (const std::vector< const AimsSurfaceTriangle *> &insurf, const std::vector< std::vector< const TimeTexture< T > *> > &intex, const Point4df &plane) | |
CutTexturedMesh (const std::vector< const AimsSurfaceTriangle *> &insurf, const std::vector< std::vector< carto::rc_ptr< TimeTexture< T > > > > &intex, const Point4df &plane) | |
virtual | ~CutTexturedMesh () |
void | setTextures (const std::vector< std::vector< carto::rc_ptr< TimeTexture< T > > > > &intex) |
void | setTextures (const std::vector< std::vector< const TimeTexture< T > *> > &intex) |
std::vector< std::vector< carto::rc_ptr< TimeTexture< T > > > > | cutTextures () const |
get output More... | |
![]() | |
CutMesh (const AimsSurfaceTriangle &insurf, const Point4df &plane) | |
CutMesh (const std::vector< const AimsSurfaceTriangle *> &insurf, const Point4df &plane) | |
virtual | ~CutMesh () |
void | cut (bool buildborderline=true, bool meshplane=false, bool checkplane=true) |
Perform calculations. More... | |
void | cutBorder (int timestep=0) |
build border line mesh only More... | |
std::vector< carto::rc_ptr< AimsSurfaceTriangle > > | cutMeshes () const |
get output More... | |
carto::rc_ptr< AimsTimeSurface< 2, Void > > | borderLine () const |
get output More... | |
carto::rc_ptr< AimsSurfaceTriangle > | planeMesh () const |
get output More... | |
Protected Member Functions | |
virtual void | initializeOutputTextures () |
virtual void | addTexturePoint (int mesh, uint v) |
this callback is called to handle textures: add tex corresponding to a vertex in the given mesh More... | |
virtual void | addTextureInterpolPoint (int mesh, uint v, float w1, uint w, float w2) |
this callback is called to handle textures: add tex corresponding to an interpolation between two vertices in the given mesh More... | |
Additional Inherited Members | |
![]() | |
std::vector< const AimsSurfaceTriangle * > | _insurf |
std::vector< carto::rc_ptr< AimsSurfaceTriangle > > | _insurfrc |
Point4df | _plane |
std::vector< carto::rc_ptr< AimsSurfaceTriangle > > | _cut |
carto::rc_ptr< AimsTimeSurface< 2, Void > > | _borderline |
carto::rc_ptr< AimsSurfaceTriangle > | _planemesh |
Textured variant of CutMesh.
This specialization also cuts a set of textures mapped on each of the meshes to be cut.
aims::CutTexturedMesh< T >::CutTexturedMesh | ( | const std::vector< const AimsSurfaceTriangle *> & | insurf, |
const std::vector< std::vector< const TimeTexture< T > *> > & | intex, | ||
const Point4df & | plane | ||
) |
Definition at line 44 of file cutmesh_d.h.
aims::CutTexturedMesh< T >::CutTexturedMesh | ( | const std::vector< const AimsSurfaceTriangle *> & | insurf, |
const std::vector< std::vector< carto::rc_ptr< TimeTexture< T > > > > & | intex, | ||
const Point4df & | plane | ||
) |
Definition at line 54 of file cutmesh_d.h.
References aims::CutTexturedMesh< T >::setTextures().
|
virtual |
Definition at line 65 of file cutmesh_d.h.
|
protectedvirtual |
this callback is called to handle textures: add tex corresponding to an interpolation between two vertices in the given mesh
Reimplemented from aims::CutMesh.
Definition at line 186 of file cutmesh_d.h.
References Texture< T >::push_back().
|
protectedvirtual |
this callback is called to handle textures: add tex corresponding to a vertex in the given mesh
Reimplemented from aims::CutMesh.
Definition at line 116 of file cutmesh_d.h.
References Texture< T >::push_back().
|
inline |
get output
Definition at line 129 of file cutmesh.h.
References aims::CutMesh::addTextureInterpolPoint(), aims::CutMesh::addTexturePoint(), and aims::CutMesh::initializeOutputTextures().
|
protectedvirtual |
Reimplemented from aims::CutMesh.
Definition at line 101 of file cutmesh_d.h.
References aims::CutMesh::_insurf.
void aims::CutTexturedMesh< T >::setTextures | ( | const std::vector< std::vector< carto::rc_ptr< TimeTexture< T > > > > & | intex | ) |
Definition at line 71 of file cutmesh_d.h.
Referenced by aims::CutTexturedMesh< T >::CutTexturedMesh().
void aims::CutTexturedMesh< T >::setTextures | ( | const std::vector< std::vector< const TimeTexture< T > *> > & | intex | ) |
Definition at line 92 of file cutmesh_d.h.