Creating a Prototype
Defining A Scene Graph
Tutorials
HOOPS 3DF
TechSoft3d
SEARCH:
2D Tutorial : Soccer
HSoccerView.h
Go to the documentation of this file.
1
// HSoccerView.h : interface of the HSoccerView class, derived from HBaseView
2
// Adds application-specific data and members for each view
3
4
#ifndef _HSoccerView_H
5
#define _HSoccerView_H
6
7
#include "
HBaseView.h
"
8
#include "HUtility.h"
9
#include "HSnapGrid.h"
10
11
class
HSelectionSet
;
12
13
14
class
HSoccerView
:
public
HBaseView
15
{
16
17
public
:
18
19
HSoccerView
(
HBaseModel
*model,
20
const
char
* alias = 0,
21
const
char
* driver_type = 0,
22
const
char
* instance_name = 0,
23
void
* window_handle = 0,
24
void
* colormap = 0,
25
void
* clip_override = 0);
26
~HSoccerView
();
27
28
void
Init
();
29
31
void
ProcessText
();
32
34
void
DeleteLayers
();
35
37
HSnapGrid
*
GetSnapGrid
() {
return
(
m_pSnapGrid
);}
38
40
bool
GetSnap
() {
return
(
m_bSnap
);}
41
43
void
SetSnap
(
bool
snap) {
m_bSnap
= snap;}
44
45
protected
:
46
48
HSnapGrid
*
m_pSnapGrid
;
49
51
bool
m_bSnap
;
52
};
53
54
#endif
55
56
57
58
HSelectionSet
HSoccerView::GetSnapGrid
HSnapGrid * GetSnapGrid()
Definition:
HSoccerView.h:37
HSoccerView::DeleteLayers
void DeleteLayers()
HSoccerView::~HSoccerView
~HSoccerView()
HSoccerView::m_pSnapGrid
HSnapGrid * m_pSnapGrid
Definition:
HSoccerView.h:48
HBaseModel
HSnapGrid
HBaseView
HBaseView.h
HSoccerView::Init
void Init()
HSoccerView::m_bSnap
bool m_bSnap
Definition:
HSoccerView.h:51
HSoccerView
Definition:
HSoccerView.h:14
HSoccerView::ProcessText
void ProcessText()
HSoccerView::SetSnap
void SetSnap(bool snap)
Definition:
HSoccerView.h:43
HSoccerView::HSoccerView
HSoccerView(HBaseModel *model, const char *alias=0, const char *driver_type=0, const char *instance_name=0, void *window_handle=0, void *colormap=0, void *clip_override=0)
HSoccerView::GetSnap
bool GetSnap()
Definition:
HSoccerView.h:40