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

#include <Skin.h>

List of all members.

Public Types

enum  { NAMELEN = 64 }

Public Member Functions

 Skin (const char *name=0)
virtual ~Skin ()
void ApplyTo (Model *model) const
void Restore (Model *model) const
const char * Name () const
const char * Path () const
int NumCells () const
void SetName (const char *n)
void SetPath (const char *n)
void AddMaterial (const Material *mtl)

Static Public Member Functions

static const char * TYPENAME ()

Protected Attributes

char name [NAMELEN]
char path [256]
List< SkinCellcells

Detailed Description

Definition at line 35 of file Skin.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
NAMELEN 

Definition at line 39 of file Skin.h.


Constructor & Destructor Documentation

Skin::Skin ( const char *  name = 0)

Definition at line 23 of file Skin.cpp.

Skin::~Skin ( )
virtual

Definition at line 39 of file Skin.cpp.


Member Function Documentation

void Skin::AddMaterial ( const Material mtl)

Definition at line 71 of file Skin.cpp.

void Skin::ApplyTo ( Model model) const

Definition at line 96 of file Skin.cpp.

const char* Skin::Name ( ) const
inline

Definition at line 49 of file Skin.h.

int Skin::NumCells ( ) const
inline

Definition at line 51 of file Skin.h.

const char* Skin::Path ( ) const
inline

Definition at line 50 of file Skin.h.

void Skin::Restore ( Model model) const

Definition at line 110 of file Skin.cpp.

void Skin::SetName ( const char *  n)

Definition at line 47 of file Skin.cpp.

void Skin::SetPath ( const char *  n)

Definition at line 56 of file Skin.cpp.

static const char* Skin::TYPENAME ( )
inlinestatic

Definition at line 38 of file Skin.h.


Member Data Documentation

List<SkinCell> Skin::cells
protected

Definition at line 60 of file Skin.h.

char Skin::name[NAMELEN]
protected

Definition at line 58 of file Skin.h.

char Skin::path[256]
protected

Definition at line 59 of file Skin.h.


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