aimstil  5.0.5
aims_wrap.h File Reference
#include "aims/io/reader.h"
#include "aims/io/writer.h"
#include "aims/mesh/surface.h"
#include "aims/mesh/texture.h"
#include "aims/utility/anytype_reader.h"
#include "aims/vector/vector.h"
#include "til/cat2type.h"
#include "til/is_traits.h"
#include "til/numeric_array.h"
#include "globalTraits.h"
#include "MeshTraits.h"
#include "meshUtils.h"
Include dependency graph for aims_wrap.h:

Go to the source code of this file.

Classes

struct  til::value_type_of< AimsVector< T, D > >
 
class  til::functor::CastTo< boost::array< size_t, 3 >, AimsVector< uint, 3 > >
 
class  til::functor::CastTo< AimsVector< uint, 3 >, boost::array< size_t, 3 > >
 
class  til::functor::CastTo< numeric_array< size_t, 3 >, AimsVector< uint, 3 > >
 
class  til::functor::CastTo< AimsVector< uint, 3 >, numeric_array< size_t, 3 > >
 
class  til::functor::CastTo< numeric_array< float, 3 >, AimsVector< float, 3 > >
 
class  til::functor::CastTo< AimsVector< float, 3 >, numeric_array< float, 3 > >
 
class  til::functor::CastTo< Texture1d, TContainer >
 
struct  til::MeshTraits< AimsTimeSurface< D, T > >
 Mesh traits for AimsTimeSurface. More...
 
struct  til::MeshTraits< AimsSurface< D, T > >
 Mesh traits for AimsSurface. More...
 
class  til::functor::CastTo< Mesh< TParam >, AimsSurfaceTriangle >
 
class  til::functor::CastTo< Mesh< TParam >, AimsSurface< 3, Void > >
 
class  til::functor::CastTo< AimsSurfaceTriangle, T >
 
class  til::functor::CastTo< AimsSurface< 3, Void >, T >
 

Namespaces

 til
 Belongs to package Box Do not include directly, include til/Box.h instead.
 
 til::functor
 

Macros

#define TIL_COMMA   ,
 

Functions

template<typename T , int D>
bool operator< (const AimsVector< T, D > &v1, const AimsVector< T, D > &v2)
 Lexicographic order. More...
 
const char ** aims_const_hack (char **argv)
 Hack around bad AimsApplication definition. More...
 
template<class T , int D>
std::size_t til::size (const AimsVector< T, D > &)
 Returns the number of elements in a AimsVector. More...
 
template<typename T , int D>
void til::add (AimsVector< T, D > &v1, const AimsVector< T, D > &v2)
 
template<typename T , int D>
void til::mul (AimsVector< T, D > &v, T d)
 
 til::TIL_DECLARE_IS_SPEC_T (3DPoint, typename T, AimsVector< T TIL_COMMA 3 >)
 
template<typename TContainer >
void til::convert (const TContainer &c, Texture1d &t)
 
std::set< AimsVector< uint, 2 > > til::getEdges (const AimsSurfaceTriangle *surf)
 Get all edges in mesh. More...
 
template<int D, class T >
const MeshTraits< AimsSurface< D, T > >::VertexCollection & til::getVertices (const AimsSurface< D, T > &mesh)
 
template<int D, class T >
MeshTraits< AimsSurface< D, T > >::VertexCollection & til::getVertices (AimsSurface< D, T > &mesh)
 
template<int D, class T >
const Point3df & til::getFaceVertex (const AimsSurface< D, T > &mesh, const std::vector< AimsVector< unsigned int, 3 > >::const_iterator &iFC, int i)
 
template<int D, class T >
const MeshTraits< AimsSurface< D, T > >::FaceIndexCollection & til::getFaceIndices (const AimsSurface< D, T > &mesh)
 
template<int D, class T >
MeshTraits< AimsSurface< D, T > >::FaceIndexCollection & til::getFaceIndices (AimsSurface< D, T > &mesh)
 
template<int D, class T >
const MeshTraits< AimsTimeSurface< D, T > >::VertexCollection & til::getVertices (const AimsTimeSurface< D, T > &mesh)
 
template<int D, class T >
MeshTraits< AimsTimeSurface< D, T > >::VertexCollection & til::getVertices (AimsTimeSurface< D, T > &mesh)
 
template<int D, class T >
const Point3df & til::getFaceVertex (const AimsTimeSurface< D, T > &mesh, const std::vector< AimsVector< unsigned int, 3 > >::const_iterator &iFC, int i)
 Returns the i-th vertex of a face of a mesh of type AimsTimeSurface. More...
 
template<int D, class T >
const MeshTraits< AimsTimeSurface< D, T > >::FaceIndexCollection & til::getFaceIndices (const AimsTimeSurface< D, T > &mesh)
 
template<int D, class T >
MeshTraits< AimsTimeSurface< D, T > >::FaceIndexCollection & til::getFaceIndices (AimsTimeSurface< D, T > &mesh)
 Return the face indices of a mesh of type AimsTimeSurface. More...
 
template<typename TParam , typename T >
boost::enable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type til::functor::convertAimsMesh (Mesh< TParam > &mesh, const T &aimsmesh)
 
template<typename TParam , typename T >
boost::disable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type til::functor::convertAimsMesh (Mesh< TParam > &mesh, const T &aimsmesh)
 
template<typename TParam , typename T >
boost::enable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type til::functor::convertAimsMesh (T &aimsmesh, const Mesh< TParam > &mesh)
 
template<typename TParam , typename T >
boost::disable_if< boost::is_pointer< typename TParam::FaceIndex::value_type > >::type til::functor::convertAimsMesh (T &aimsmesh, const Mesh< TParam > &mesh)
 
template<typename TVertex , typename TFace >
void til::write_mesh (const std::vector< TVertex > &vertices, const std::vector< TFace > &faces, aims::Writer< AimsSurfaceTriangle > w)
 
template<typename TVertex , typename TFace >
void til::write_mesh (const std::vector< TVertex > &vertices, const std::vector< TFace > &faces, const char *name)
 
template<typename TMesh >
void til::write_mesh (const TMesh &mesh, const char *name)
 
template<typename T >
void til::writeTexture (const T &data, const char *name)
 
template<typename T >
void til::read_mesh (aims::Reader< T > &r, Mesh_N &mesh)
 
template<typename T , typename TVertexCollection , typename TFaceCollection >
void til::read_mesh (aims::Reader< T > const &r, TVertexCollection &vertices, TFaceCollection &faces)
 
template<typename T >
void til::read_anyType (T &data, const std::string name)
 
template<typename T >
void til::aimswrite (const T &data, const std::string name)
 
template<typename TIterator1 , typename TIterator2 >
void til::convert_collection (TIterator1 begin1, TIterator1 end1, TIterator2 begin2)
 
template<typename VertexCollection , typename FaceCollection >
void til::convert_mesh (AimsSurface< 3, Void > const &mesh, VertexCollection &vertices, FaceCollection &faces)
 
template<typename VertexCollection , typename FaceCollection >
void til::convert_mesh (VertexCollection const &vertices, FaceCollection const &faces, AimsSurface< 3, Void > &mesh)
 

Macro Definition Documentation

◆ TIL_COMMA

#define TIL_COMMA   ,

Definition at line 27 of file aims_wrap.h.

Function Documentation

◆ aims_const_hack()

const char** aims_const_hack ( char **  argv)
inline

Hack around bad AimsApplication definition.

Very bad and unsafe! Don't use it for anything else than AimsApplication.

Definition at line 56 of file aims_wrap.h.

◆ operator<()

template<typename T , int D>
bool operator< ( const AimsVector< T, D > &  v1,
const AimsVector< T, D > &  v2 
)
inline

Lexicographic order.

This means, v1 < v2 iff there is an index 0<= i < D so that v1[j] = v2[j], j<i, and v1[i] < v2[i] NB: an order is necessary even just to use a std::set

Definition at line 37 of file aims_wrap.h.

Referenced by til::MeshWaveletEnergy< TVertexCollection, TNeighborhoods, TPrec >::operator()().