Creating a Prototype
Defining A Scene Graph
Tutorials
HOOPS 3DF
TechSoft3d
SEARCH:
3D Tutorial: Overview
HSpheresModel.h
Go to the documentation of this file.
1
// HSpheresModel.h : interface of the HSpheresModel.cpp class, derived from HBaseModel
2
// Adds application-specific data and members for each model
3
4
#ifndef _HSpheresModel_H
5
#define _HSpheresModel_H
6
7
#include "HDB.h"
8
#include "HBaseModel.h"
9
#include "HTools.h"
10
11
12
class
HSpheresModel
:
public
HBaseModel
13
{
14
public
:
15
16
HSpheresModel
();
17
~HSpheresModel
();
18
19
// Overrides
20
HFileInputResult
Read
(
const
char
* FileName);
21
bool
Write
(
const
char
* FileName,
HBaseView
* pHView,
int
version,
int
width = 0,
int
height = 0);
22
24
void
DeleteAllEntities
();
25
27
bool
IsSolidModel
(){
return
m_bSolidModel
; };
28
29
protected
:
30
31
32
// do we have any solid modeler entities
33
bool
m_bSolidModel
;
34
35
};
36
37
#endif
38
39
40
41
HSpheresModel
Definition:
HSpheresModel.h:12
HSpheresModel::DeleteAllEntities
void DeleteAllEntities()
HSpheresModel::IsSolidModel
bool IsSolidModel()
Definition:
HSpheresModel.h:27
HSpheresModel::Write
bool Write(const char *FileName, HBaseView *pHView, int version, int width=0, int height=0)
HSpheresModel::~HSpheresModel
~HSpheresModel()
HBaseModel
HBaseView
HSpheresModel::Read
HFileInputResult Read(const char *FileName)
HSpheresModel::HSpheresModel
HSpheresModel()
HSpheresModel::m_bSolidModel
bool m_bSolidModel
Definition:
HSpheresModel.h:27