aimsdata 6.0.0
Neuroimaging data handling
aims::TriFormat Class Reference

#include <aims/io/baseFormats_mesh.h>

Inheritance diagram for aims::TriFormat:
Collaboration diagram for aims::TriFormat:

Public Member Functions

virtual ~TriFormat ()
 
virtual bool read (const std::string &filename, AimsSurfaceTriangle &obj, const carto::AllocatorContext &context, carto::Object options)
 
virtual bool write (const std::string &filename, const AimsSurfaceTriangle &vol, carto::Object options=carto::none())
 the base class has a default implementation which only returns false so if your new format only supports read operations, you won't have to bother about the write() function
 
- Public Member Functions inherited from aims::FileFormat< AimsSurfaceTriangle >
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 
virtual ~FileFormat ()
 
virtual AimsSurfaceTriangleread (const std::string &filename, const carto::AllocatorContext &context, carto::Object options)
 Creates an object and reads it.
 
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 

Detailed Description

Definition at line 63 of file baseFormats_mesh.h.

Constructor & Destructor Documentation

◆ ~TriFormat()

virtual aims::TriFormat::~TriFormat ( )
virtual

Member Function Documentation

◆ read()

virtual bool aims::TriFormat::read ( const std::string & filename,
AimsSurfaceTriangle & obj,
const carto::AllocatorContext & context,
carto::Object options )
virtual

◆ write()

virtual bool aims::TriFormat::write ( const std::string & ,
const AimsSurfaceTriangle & ,
carto::Object options = carto::none() )
virtual

the base class has a default implementation which only returns false so if your new format only supports read operations, you won't have to bother about the write() function

Reimplemented from aims::FileFormat< AimsSurfaceTriangle >.

References carto::none().


The documentation for this class was generated from the following file: