#include <HSoccerModel.h>
Public Member Functions | |
HSoccerModel () | |
~HSoccerModel () | |
void | Init () |
HFileInputResult | Read (const char *FileName) |
bool | Write (const char *FileName, HBaseView *pHView, int version, int width=0, int height=0) |
void | DeleteAllEntities () |
bool | IsSolidModel () |
struct vlist_s * | GetLayerList () |
Static Public Member Functions | |
static void | InsertFilledRectangle (const char *seg, float x0, float y0, float x1, float y1) |
Protected Attributes | |
struct vlist_s * | m_pLayers |
bool | m_bSolidModel |
HSoccerModel::HSoccerModel | ( | ) |
HSoccerModel::~HSoccerModel | ( | ) |
void HSoccerModel::Init | ( | ) | [virtual] |
Reimplemented from HBaseModel.
static void HSoccerModel::InsertFilledRectangle | ( | const char * | seg, | |
float | x0, | |||
float | y0, | |||
float | x1, | |||
float | y1 | |||
) | [static] |
utility function that inserts a polygon into the specified segment
HFileInputResult HSoccerModel::Read | ( | const char * | FileName | ) |
bool HSoccerModel::Write | ( | const char * | FileName, | |
HBaseView * | pHView, | |||
int | version, | |||
int | width = 0 , |
|||
int | height = 0 | |||
) |
void HSoccerModel::DeleteAllEntities | ( | ) |
Delete all of the HOOPS/3dGS scene-graph associated with this HSoccerModel object
bool HSoccerModel::IsSolidModel | ( | ) | [inline] |
Returns whether the scene-graph contains geometry representing a solid model
References m_bSolidModel.
struct vlist_s* HSoccerModel::GetLayerList | ( | ) | [inline, read] |
Returns a pointer to the list of layers associated with the model
References m_pLayers.
struct vlist_s* HSoccerModel::m_pLayers [read, protected] |
keys of the segments that represent the layers in the scene-graph
Referenced by GetLayerList().
bool HSoccerModel::m_bSolidModel [protected] |
we have any solid modeler entities
Referenced by IsSolidModel().