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

#include <Solid.h>

Inheritance diagram for ModelFile:
ModelFile3DS ModelFileMAG ModelFileOBJ

List of all members.

Public Member Functions

 ModelFile (const char *fname)
virtual ~ModelFile ()
virtual bool Load (Model *m, double scale=1.0)
virtual bool Save (Model *m)

Protected Attributes

char filename [256]
Modelmodel
char * pname
int * pnverts
int * pnpolys
float * pradius

Detailed Description

Definition at line 290 of file Solid.h.


Constructor & Destructor Documentation

ModelFile::ModelFile ( const char *  fname)

Definition at line 2434 of file Solid.cpp.

ModelFile::~ModelFile ( )
virtual

Definition at line 2443 of file Solid.cpp.


Member Function Documentation

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

Reimplemented in ModelFile3DS, ModelFileMAG, and ModelFileOBJ.

Definition at line 2448 of file Solid.cpp.

bool ModelFile::Save ( Model m)
virtual

Reimplemented in ModelFile3DS, ModelFileMAG, and ModelFileOBJ.

Definition at line 2465 of file Solid.cpp.


Member Data Documentation

char ModelFile::filename[256]
protected

Definition at line 300 of file Solid.h.

Model* ModelFile::model
protected

Definition at line 301 of file Solid.h.

char* ModelFile::pname
protected

Definition at line 304 of file Solid.h.

int* ModelFile::pnpolys
protected

Definition at line 306 of file Solid.h.

int* ModelFile::pnverts
protected

Definition at line 305 of file Solid.h.

float* ModelFile::pradius
protected

Definition at line 307 of file Solid.h.


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