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

#include <ModelFileMAG.h>

Inheritance diagram for ModelFileMAG:
ModelFile

List of all members.

Public Member Functions

 ModelFileMAG (const char *fname)
virtual ~ModelFileMAG ()
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 ()

Protected Member Functions

virtual bool LoadMag5 (FILE *fp, Model *m, double scale)
virtual bool LoadMag6 (FILE *fp, Model *m, double scale)

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 ModelFileMAG.h.


Constructor & Destructor Documentation

ModelFileMAG::ModelFileMAG ( const char *  fname)

Definition at line 54 of file ModelFileMAG.cpp.

ModelFileMAG::~ModelFileMAG ( )
virtual

Definition at line 59 of file ModelFileMAG.cpp.


Member Function Documentation

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

Reimplemented from ModelFile.

Definition at line 66 of file ModelFileMAG.cpp.

bool ModelFileMAG::LoadMag5 ( FILE *  fp,
Model m,
double  scale 
)
protectedvirtual

Definition at line 358 of file ModelFileMAG.cpp.

bool ModelFileMAG::LoadMag6 ( FILE *  fp,
Model m,
double  scale 
)
protectedvirtual

Definition at line 629 of file ModelFileMAG.cpp.

bool ModelFileMAG::Save ( Model m)
virtual

Reimplemented from ModelFile.

Definition at line 134 of file ModelFileMAG.cpp.


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