A HOOPS/ActiveX specific implmentation of the HOOPS/MVO HBaseView class.
More...
#include <HCtrlView.h>
|
| HCtrlView (HBaseModel *model) |
|
| HCtrlView (HBaseModel *model, const char *alias, const char *driver_type, const char *instance_name, void *window_handle, void *colormap) |
|
void | Init (void) |
|
void | CreateViewHeirarchy (void) |
|
void | ReconfigureView (HWND hWnd, HPALETTE hPalette, char *drivertype) |
|
void | DeleteDriver (void) |
|
void | FitWorld () |
|
void | FlushFromMessage (const char *in_data, unsigned int data_length) |
|
void | DetachScene () |
|
void | AttachScene (void *h, char *drivertype) |
|
void | GetWindowSize (int &xmax, int &ymax) |
|
void | CreateProgressWindow () |
|
void | DeleteProgressWindow () |
|
void | SetProgressWindow (int num) |
|
void | DoSmoothTransition (bool prepare) |
|
bool | SceneDetached () |
|
void | FlushScene () |
|
void | SetHasCamera (bool hascamera) |
|
bool | GetHasCamera () |
|
bool | OperatorStarted () |
|
A HOOPS/ActiveX specific implmentation of the HOOPS/MVO HBaseView class.
HCtrlView provides additional methods to support ActiveX behaviors. The HOOPS/MVO HBaseView class that is used in conjunction with HOOPS/ActiveX should be based on HCtrlView.
Constructor
- Parameters
-
model | Pointer to HBaseMode object |
HCtrlView::HCtrlView |
( |
HBaseModel * |
model, |
|
|
const char * |
alias, |
|
|
const char * |
driver_type, |
|
|
const char * |
instance_name, |
|
|
void * |
window_handle, |
|
|
void * |
colormap |
|
) |
| |
void HCtrlView::AttachScene |
( |
void * |
h, |
|
|
char * |
drivertype |
|
) |
| |
void HCtrlView::CreateProgressWindow |
( |
| ) |
|
Initialize percentage loading progress display
void HCtrlView::CreateViewHeirarchy |
( |
void |
| ) |
|
Creates initial segment hierachy
void HCtrlView::DeleteDriver |
( |
void |
| ) |
|
void HCtrlView::DeleteProgressWindow |
( |
| ) |
|
void HCtrlView::DetachScene |
( |
| ) |
|
void HCtrlView::DoSmoothTransition |
( |
bool |
prepare | ) |
|
Perform smooth transition
- Parameters
-
prepare | true = retrieve current camera parameters, false = perform transition |
void HCtrlView::FitWorld |
( |
| ) |
|
Smooth Transition Fit World
void HCtrlView::FlushFromMessage |
( |
const char * |
in_data, |
|
|
unsigned int |
data_length |
|
) |
| |
|
virtual |
Overloaded FlushFromMessage (deletes note geometry)
Reimplemented from HBaseView.
void HCtrlView::FlushScene |
( |
| ) |
|
bool HCtrlView::GetHasCamera |
( |
| ) |
|
|
inline |
- Returns
- true = hsf file has initial camera setting, false = hsf file has no initial camera setting
void HCtrlView::GetWindowSize |
( |
int & |
xmax, |
|
|
int & |
ymax |
|
) |
| |
Get screen extents of current view
- Parameters
-
xmax | extents in x direction |
ymax | extents in y direction |
void HCtrlView::Init |
( |
void |
| ) |
|
|
virtual |
General Initialization
Reimplemented from HBaseView.
bool HCtrlView::OperatorStarted |
( |
| ) |
|
- Returns
- true = ocurrent perator has been started (e.g. user is currently orbiting)
void HCtrlView::ReconfigureView |
( |
HWND |
hWnd, |
|
|
HPALETTE |
hPalette, |
|
|
char * |
drivertype |
|
) |
| |
Reconfigures existing view
- Parameters
-
hWnd | Window Handle |
hPalette | Window Palette |
drivertype | Type of Driver |
bool HCtrlView::SceneDetached |
( |
| ) |
|
|
inline |
- Returns
- true = scene is detached, false = scene is not detached
void HCtrlView::SetHasCamera |
( |
bool |
hascamera | ) |
|
|
inline |
- Returns
- true = operator has started, false = operator has not started
Set has camera flag for HSF loading
- Parameters
-
hascamera | true = hsf file has initial camera setting, false = hsf file has no initial camera setting |
void HCtrlView::SetProgressWindow |
( |
int |
num | ) |
|
Set progress percentage
- Parameters
-
The documentation for this class was generated from the following file: