aimsdata 6.0.13
Neuroimaging data handling
aims::STLMeshFormat Class Reference

#include <aims/io/baseFormats_mesh.h>

Inheritance diagram for aims::STLMeshFormat:
Collaboration diagram for aims::STLMeshFormat:

Public Member Functions

virtual ~STLMeshFormat ()
 
virtual bool read (const std::string &filename, AimsTimeSurface< 3, Void > &obj, const carto::AllocatorContext &context, carto::Object options)
 
virtual bool write (const std::string &filename, const AimsTimeSurface< 3, Void > &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< AimsTimeSurface< 3, Void > >
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 
virtual ~FileFormat ()
 
virtual AimsTimeSurface< 3, Void > * read (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)
 

Protected Member Functions

bool readAscii (const std::string &filename, AimsTimeSurface< 3, Void > &obj, const carto::AllocatorContext &context, carto::Object options, PythonHeader &hdr)
 
bool readBinary (const std::string &filename, AimsTimeSurface< 3, Void > &obj, const carto::AllocatorContext &context, carto::Object options, PythonHeader &hdr)
 
bool writeAscii (const std::string &filename, const AimsTimeSurface< 3, Void > &obj, carto::Object options)
 
bool writeBinary (const std::string &filename, const AimsTimeSurface< 3, Void > &obj, carto::Object options)
 

Detailed Description

Definition at line 143 of file baseFormats_mesh.h.

Constructor & Destructor Documentation

◆ ~STLMeshFormat()

virtual aims::STLMeshFormat::~STLMeshFormat ( )
virtual

Member Function Documentation

◆ read()

virtual bool aims::STLMeshFormat::read ( const std::string & filename,
AimsTimeSurface< 3, Void > & obj,
const carto::AllocatorContext & context,
carto::Object options )
virtual

◆ readAscii()

bool aims::STLMeshFormat::readAscii ( const std::string & filename,
AimsTimeSurface< 3, Void > & obj,
const carto::AllocatorContext & context,
carto::Object options,
PythonHeader & hdr )
protected

◆ readBinary()

bool aims::STLMeshFormat::readBinary ( const std::string & filename,
AimsTimeSurface< 3, Void > & obj,
const carto::AllocatorContext & context,
carto::Object options,
PythonHeader & hdr )
protected

◆ write()

virtual bool aims::STLMeshFormat::write ( const std::string & ,
const AimsTimeSurface< 3, Void > & ,
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< AimsTimeSurface< 3, Void > >.

References carto::none().

◆ writeAscii()

bool aims::STLMeshFormat::writeAscii ( const std::string & filename,
const AimsTimeSurface< 3, Void > & obj,
carto::Object options )
protected

◆ writeBinary()

bool aims::STLMeshFormat::writeBinary ( const std::string & filename,
const AimsTimeSurface< 3, Void > & obj,
carto::Object options )
protected

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