Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

mln::io::off::internal::rgb8_off_loader Struct Reference

#include <load.hh>

Inheritance diagram for mln::io::off::internal::rgb8_off_loader:
Inheritance graph

List of all members.

Public Types

typedef Object< void > category
typedef
rgb8_2complex_image3df::domain_t 
domain
 Type of the domain.
typedef rgb8_off_loader exact_t
typedef off_loader
< rgb8_2complex_image3df,
rgb8_off_loader
self
typedef metal::vec< D+1,
std::vector< typename
rgb8_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() (rgb8_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< value::rgb8face_value
 2-face floating-point values.

Static Public Attributes

static const unsigned D
 Dimension of the built complex.

Detailed Description

Definition at line 152 of file off/load.hh.


Member Typedef Documentation

typedef Object<void> mln::Object< rgb8_off_loader >::category [inherited]

Definition at line 174 of file object.hh.

Type of the domain.

Definition at line 99 of file off/load.hh.

Definition at line 173 of file object.hh.

Definition at line 92 of file off/load.hh.

Type of the set of values.

Definition at line 97 of file off/load.hh.


Member Function Documentation

void mln::io::off::internal::rgb8_off_loader::assign ( values vs,
const domain s 
)
static std::istream& mln::io::off::internal::off_loader< rgb8_2complex_image3df , rgb8_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< rgb8_2complex_image3df , rgb8_off_loader >::operator() ( rgb8_2complex_image3df ima,
const std::string &  filename 
) [inherited]

Load an image from filename into ima.

void mln::io::off::internal::rgb8_off_loader::read_face_data ( std::istream &  istr  ) 

Read face data.

Definition at line 530 of file off/load.hh.

References face_value.

void mln::io::off::internal::rgb8_off_loader::reserve ( unsigned  nvertices,
unsigned  nedges,
unsigned  nfaces 
)

Pre-allocate data.

Definition at line 570 of file off/load.hh.

References face_value.


Member Data Documentation

Dimension of the built complex.

Definition at line 95 of file off/load.hh.

Referenced by assign().

2-face floating-point values.

Definition at line 165 of file off/load.hh.

Referenced by assign(), read_face_data(), and reserve().