OpenWalnut  1.5.0dev
Public Member Functions | Private Attributes | List of all members
WMeshReaderBrainVISA Class Reference

Load BrainVISA meshes. More...

#include <WMeshReaderBrainVISA.h>

+ Inheritance diagram for WMeshReaderBrainVISA:
+ Collaboration diagram for WMeshReaderBrainVISA:

Public Member Functions

 WMeshReaderBrainVISA ()
 Constructor. More...
 
virtual ~WMeshReaderBrainVISA ()
 Destructor. More...
 
virtual WTriangleMesh::SPtr operator() (WProgressCombiner::SPtr parentProgress, boost::filesystem::path file)
 Load the dataset. More...
 
- Public Member Functions inherited from WObjectNDIP< WMeshReaderInterface >
virtual ~WObjectNDIP ()
 Destructor. More...
 
virtual std::string getName () const
 The name of the object. More...
 
virtual std::string getDescription () const
 The description of this object. More...
 
virtual const char ** getIcon () const
 The icon of this object. More...
 
virtual WProperties::SPtr getProperties ()
 Return the property group of this object. More...
 
- Public Member Functions inherited from WMeshReaderInterface
virtual ~WMeshReaderInterface ()
 Destructor. More...
 
std::string getLine (std::shared_ptr< std::ifstream > ifs, const std::string &desc) const
 Read a line from the given input stream and throw an exception on error. More...
 
std::string getLine (std::ifstream &ifs, const std::string &desc) const
 Read a line from the given input stream and throw an exception on error. More...
 

Private Attributes

WPropInt m_propDatasetSizeX
 Size of the dataset (X) More...
 
WPropInt m_propDatasetSizeY
 Size of the dataset (Y) More...
 
WPropInt m_propDatasetSizeZ
 Size of the dataset (Z) More...
 

Additional Inherited Members

- Public Types inherited from WObjectNDIP< WMeshReaderInterface >
typedef std::shared_ptr< WObjectNDIPSPtr
 Shared ptr to an instance. More...
 
typedef std::shared_ptr< const WObjectNDIPConstSPtr
 Shared ptr to a const instance. More...
 
- Protected Member Functions inherited from WObjectNDIP< WMeshReaderInterface >
 WObjectNDIP (std::string name, std::string description, const char **icon=NULL)
 Construct a NDIP'ed object. More...
 
- Protected Attributes inherited from WObjectNDIP< WMeshReaderInterface >
WProperties::SPtr m_properties
 the properties of the object. More...
 

Detailed Description

Load BrainVISA meshes.

Definition at line 35 of file WMeshReaderBrainVISA.h.

Constructor & Destructor Documentation

◆ WMeshReaderBrainVISA()

WMeshReaderBrainVISA::WMeshReaderBrainVISA ( )

◆ ~WMeshReaderBrainVISA()

WMeshReaderBrainVISA::~WMeshReaderBrainVISA ( )
virtual

Destructor.

Definition at line 40 of file WMeshReaderBrainVISA.cpp.

Member Function Documentation

◆ operator()()

WTriangleMesh::SPtr WMeshReaderBrainVISA::operator() ( WProgressCombiner::SPtr  parentProgress,
boost::filesystem::path  file 
)
virtual

Load the dataset.

Throws exceptions if appropriate. Refer to the implementing class.

Parameters
parentProgressthe progress indicator
filepath to the file to load
Returns
the loaded mesh

Implements WMeshReaderInterface.

Definition at line 45 of file WMeshReaderBrainVISA.cpp.

References WLogger::addLogMessage(), WLogger::getLogger(), m_propDatasetSizeY, and m_propDatasetSizeZ.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_propDatasetSizeX

WPropInt WMeshReaderBrainVISA::m_propDatasetSizeX
private

Size of the dataset (X)

Definition at line 59 of file WMeshReaderBrainVISA.h.

Referenced by WMeshReaderBrainVISA().

◆ m_propDatasetSizeY

WPropInt WMeshReaderBrainVISA::m_propDatasetSizeY
private

Size of the dataset (Y)

Definition at line 60 of file WMeshReaderBrainVISA.h.

Referenced by operator()(), and WMeshReaderBrainVISA().

◆ m_propDatasetSizeZ

WPropInt WMeshReaderBrainVISA::m_propDatasetSizeZ
private

Size of the dataset (Z)

Definition at line 61 of file WMeshReaderBrainVISA.h.

Referenced by operator()(), and WMeshReaderBrainVISA().


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