#include <load.hh>
Public Types | |
typedef Object< void > | category |
typedef float_2complex_image3df::domain_t | domain |
Type of the domain. | |
typedef float_off_loader | exact_t |
typedef off_loader < float_2complex_image3df, float_off_loader > | self |
typedef metal::vec< D+1, std::vector< typename float_2complex_image3df::value > > | values |
Type of the set of values. | |
Public Member Functions | |
void | assign (values &vs, const domain &s) |
Assign values to image. | |
void | operator() (float_2complex_image3df &ima, const std::string &filename) |
Load an image from filename into ima. | |
void | reserve (unsigned nvertices, unsigned nedges, unsigned nfaces) |
Pre-allocate data. | |
void | read_face_data (std::istream &istr) |
Read face data. | |
Static Public Member Functions | |
static std::istream & | eat_comment (std::istream &istr) |
A stream manipulator eating comments starting with a `#' and ending at an end of line. | |
Public Attributes | |
std::vector< float > | face_value |
2-face floating-point values. | |
Static Public Attributes | |
static const unsigned | D |
Dimension of the built complex. |
typedef Object<void> mln::Object< float_off_loader >::category [inherited] |
typedef float_2complex_image3df ::domain_t mln::io::off::internal::off_loader< float_2complex_image3df , float_off_loader >::domain [inherited] |
Type of the domain.
typedef float_off_loader mln::Object< float_off_loader >::exact_t [inherited] |
typedef off_loader<float_2complex_image3df , float_off_loader > mln::io::off::internal::off_loader< float_2complex_image3df , float_off_loader >::self [inherited] |
typedef metal::vec<D + 1, std::vector< typename float_2complex_image3df ::value > > mln::io::off::internal::off_loader< float_2complex_image3df , float_off_loader >::values [inherited] |
Type of the set of values.
Assign values to image.
References mln::p_complex< D, G >::cplx(), mln::io::off::internal::off_loader< float_2complex_image3df, float_off_loader >::D, and face_value.
static std::istream& mln::io::off::internal::off_loader< float_2complex_image3df , float_off_loader >::eat_comment | ( | std::istream & | istr | ) | [static, inherited] |
A stream manipulator eating comments starting with a `#' and ending at an end of line.
void mln::io::off::internal::off_loader< float_2complex_image3df , float_off_loader >::operator() | ( | float_2complex_image3df & | ima, | |
const std::string & | filename | |||
) | [inherited] |
Load an image from filename into ima.
void mln::io::off::internal::float_off_loader::read_face_data | ( | std::istream & | istr | ) |
Read face data.
References face_value.
void mln::io::off::internal::float_off_loader::reserve | ( | unsigned | nvertices, | |
unsigned | nedges, | |||
unsigned | nfaces | |||
) |
Pre-allocate data.
References face_value.
const unsigned mln::io::off::internal::off_loader< float_2complex_image3df , float_off_loader >::D [static, inherited] |
Dimension of the built complex.
Referenced by assign().
std::vector<float> mln::io::off::internal::float_off_loader::face_value |
2-face floating-point values.
Referenced by assign(), read_face_data(), and reserve().