#include <aims/io/labelImage.h>
 | 
|   | LabelReader (const std::string &filename) | 
|   | 
| virtual  | ~LabelReader () | 
|   | 
| virtual bool  | read (AimsData< int16_t > &vol, int border=0, const std::string *format=0) | 
|   | 
|   | Reader () | 
|   | 
|   | Reader (const std::string &filename) | 
|   | 
| virtual  | ~Reader () | 
|   | 
| virtual bool  | read (AimsData< int16_t > &obj, int border=0, const std::string *format=0, int frame=-1) | 
|   | Finds the correct format and reads the object. if format is specified, this format is tried first, so you can use it as a hint if you already kow it (from the Finder check ). IF frame is specified and non-negative, reads only that frame (one temporal positon) of the file into time position zero of the object.  More...
  | 
|   | 
| virtual AimsData< int16_t > *  | read (int border=0, const std::string *format=0, int frame=-1) | 
|   | Creates and reads an object. This function differs from the read( T&, ... ) function in the way that it creates the object and does not just fill it. This enables to create sub-classes of T (factory-like behaviour) on types that allow subclasses. The object is created by new and can be deleted. The default implementation just creates a T and calls the read( T&, ... ) function.  More...
  | 
|   | 
| void  | setMode (carto::AllocatorStrategy::MappingMode mode) | 
|   | set input file mode - soon obsolete  More...
  | 
|   | 
| void  | setAllocatorContext (const carto::AllocatorContext &ac) | 
|   | allocator control (not used by every format yet)  More...
  | 
|   | 
| const carto::AllocatorContext &  | allocatorContext () const | 
|   | 
| void  | setFileName (const std::string &fileName) | 
|   | set input file name  More...
  | 
|   | 
| const std::string &  | fileName () const | 
|   | get input file name  More...
  | 
|   | 
| void  | setOptions (carto::Object options) | 
|   | 
| carto::Object  | options () const | 
|   | 
| carto::Object &  | options () | 
|   | 
Definition at line 47 of file labelImage.h.
 
◆ LabelReader()
      
        
          | aims::LabelReader::LabelReader  | 
          ( | 
          const std::string &  | 
          filename | ) | 
           | 
        
      
 
 
◆ ~LabelReader()
  
  
      
        
          | virtual aims::LabelReader::~LabelReader  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ read()
  
  
      
        
          | virtual bool aims::LabelReader::read  | 
          ( | 
          AimsData< int16_t > &  | 
          vol,  | 
         
        
           | 
           | 
          int  | 
          border = 0,  | 
         
        
           | 
           | 
          const std::string *  | 
          format = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
The documentation for this class was generated from the following file: