#include <ivffile/IvfFileReader.h>
Inheritance diagram for CIvfFileReader:
Public Member Functions | |
CIvfFileReader () | |
virtual | ~CIvfFileReader () |
IvfClassInfo ("CIvfFileReader", CIvfFileBase) | |
void | getSize (double *min, double *max) |
void | setReverseFace (bool flag) |
bool | getReverseFace () |
void | setScaling (double scaleFactor) |
double | getScaling () |
void | getMidpoint (double &x, double &y, double &z) |
virtual void | read () |
Protected Member Functions | |
void | getLine (std::istream &in, std::string &row) |
bool | findPos (const char *keyword, std::string &row, int &pos) |
bool | find (const char *keyword, std::string &row) |
void | getLine (std::string &row) |
void | maxMinCalc (double x, double y, double z) |
void | resetSize () |
This class implements basic functions for parsing a text based 3d geometry file. It also serves as a base class for file readers. File readers should override the read() method and assign imported geometry using the setShape() method in the CIvfFileBase class.
Definition at line 46 of file IvfFileReader.h.
|
CIvfFileReader constructor |
|
CIvfFileReader destructor |
|
Return midpoint of loaded model |
|
Get handling of face orientation (Not completely impl.) |
|
Get scaling of loaded model (Not completely impl.) |
|
Returns min/max size of read geometry For this method to work, any derived file loaders must use the maxMinCalc() and resetSize() when reading the file. (Not completely implemented yet...) |
|
Virtual method for reading the model This method is implemented in derived file loaders. Reimplemented in CIvfAc3DReader, CIvfDxfReader, and CIvfPolyReader. |
|
Set handling of face orientation (Not completely impl.) |
|
Set scaling of loaded model (Not completely impl.) |