Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::IO::OBJFileManager Class Reference

#include <IO/deprecated/OBJFileManager.hpp>

+ Inheritance diagram for Ra::IO::OBJFileManager:
+ Collaboration diagram for Ra::IO::OBJFileManager:

Public Member Functions

 OBJFileManager ()
 CONSTRUCTOR.
 
 ~OBJFileManager () override
 DESTRUCTOR.
 
std::string fileExtension () const override
 INTERFACE.
 
bool importData (std::istream &file, Core::Geometry::TriangleMesh &data) override
 
bool exportData (std::ostream &file, const Core::Geometry::TriangleMesh &data) override
 
- Public Member Functions inherited from Ra::IO::FileManager< Core::Geometry::TriangleMesh >
 FileManager ()=default
 CONSTRUCTOR.
 
virtual ~FileManager ()=default
 DESTRUCTOR.
 
bool load (const std::string &filename, Core::Geometry::TriangleMesh &data, const bool SAVE_LOG_FILE=false)
 INTERFACE.
 
bool save (const std::string &filename, const Core::Geometry::TriangleMesh &data, const bool SAVE_LOG_FILE=false)
 
std::string log () const
 LOG.
 

Additional Inherited Members

- Public Types inherited from Ra::IO::FileManager< Core::Geometry::TriangleMesh >
enum  LogEntryType
 ENUM. More...
 
- Protected Member Functions inherited from Ra::IO::FileManager< Core::Geometry::TriangleMesh >
void addLogEntry (const std::string &text)
 LOG.
 
void addLogEntry (const std::string &text, const LogEntryType type)
 
void addLogWarningEntry (const std::string &text)
 
void addLogErrorEntry (const std::string &text)
 

Detailed Description

Warning
will be removed once integration of file saving is done in new IO, see https://github.com/STORM-IRIT/Radium-Engine/issues/362
Todo
reimplement in IO
Deprecated
see https://github.com/STORM-IRIT/Radium-Engine/issues/362

Definition at line 14 of file OBJFileManager.hpp.

Constructor & Destructor Documentation

◆ OBJFileManager()

Ra::IO::OBJFileManager::OBJFileManager ( )

CONSTRUCTOR.

===============================================================================

CONSTRUCTOR

Definition at line 12 of file OBJFileManager.cpp.

◆ ~OBJFileManager()

Ra::IO::OBJFileManager::~OBJFileManager ( )
override

DESTRUCTOR.

===============================================================================

DESTRUCTOR

Definition at line 17 of file OBJFileManager.cpp.

Member Function Documentation

◆ exportData()

bool Ra::IO::OBJFileManager::exportData ( std::ostream & file,
const Core::Geometry::TriangleMesh & data )
overridevirtual

◆ fileExtension()

std::string Ra::IO::OBJFileManager::fileExtension ( ) const
overridevirtual

INTERFACE.

===============================================================================

INTERFACE

Implements Ra::IO::FileManager< Core::Geometry::TriangleMesh >.

Definition at line 22 of file OBJFileManager.cpp.

◆ importData()

bool Ra::IO::OBJFileManager::importData ( std::istream & file,
Core::Geometry::TriangleMesh & data )
overridevirtual

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