Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ModelFileOBJ Class Reference

#include <ModelFileOBJ.h>

Inheritance diagram for ModelFileOBJ:
ModelFile

List of all members.

Public Member Functions

 ModelFileOBJ (const char *fname)
virtual ~ModelFileOBJ ()
virtual bool Load (Model *m, double scale=1.0)
virtual bool Save (Model *m)
- Public Member Functions inherited from ModelFile
 ModelFile (const char *fname)
virtual ~ModelFile ()

Additional Inherited Members

- Protected Attributes inherited from ModelFile
char filename [256]
Modelmodel
char * pname
int * pnverts
int * pnpolys
float * pradius

Detailed Description

Definition at line 22 of file ModelFileOBJ.h.


Constructor & Destructor Documentation

ModelFileOBJ::ModelFileOBJ ( const char *  fname)

Definition at line 27 of file ModelFileOBJ.cpp.

ModelFileOBJ::~ModelFileOBJ ( )
virtual

Definition at line 32 of file ModelFileOBJ.cpp.


Member Function Documentation

bool ModelFileOBJ::Load ( Model m,
double  scale = 1.0 
)
virtual

Reimplemented from ModelFile.

Definition at line 252 of file ModelFileOBJ.cpp.

bool ModelFileOBJ::Save ( Model m)
virtual

Reimplemented from ModelFile.

Definition at line 655 of file ModelFileOBJ.cpp.


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