Class Hierarchy   File List   Compound Members  

HCtrlView Class Reference

A HOOPS/ActiveX specific implmentation of the HOOPS/MVO HBaseView class. More...

#include <HCtrlView.h>

List of all members.

Public Methods

 HCtrlView (HBaseModel * model, HDB *pDB)
void Init (void)
void CreateViewHeirarchy (void)
void ConfigureRealDriver (HWND hWnd, HPALETTE hPalette)
void ConfigureNullDriver (void)
void DeleteDriver (void)


Detailed Description

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 & Destructor Documentation

HCtrlView::HCtrlView ( HBaseModel * pModel,
HDB * pDB )

Custom constructor.

Parameters:
pModel   A pointer to the HBaseModel object associated with this view (with this control)
pDB   A pointer to the HDB object associated with this control's module

Member Function Documentation

void HCtrlView::ConfigureNullDriver ( void )

Sets up a null driver instance. This is always necessary to do initially, because the control may be started up but a live window display context may not exist yet. (i.e. when a control is initially embedded within an MS Office document)

void HCtrlView::ConfigureRealDriver ( HWND hWnd,
HPALETTE hPalette )

Sets up a driver instance which corresponds to a live window display context.

Parameters:
hWnd   Handle to the GDI window associated with the CHoopsControl object
hPalette   Handler to the palette to be used by HOOPS/3dGS for support 8-bit mode. This is only necessary when using the HOOPS MSW Driver (instead of OpenGL) and 8-bit displays need to be supported.

void HCtrlView::CreateViewHeirarchy ( void )

Creates an initial segment hierarchy in the HOOPS/3dGS scene-graph which corresponds to a standard HOOPS/MVO view/scene

void HCtrlView::DeleteDriver ( void )

Deletes the HOOPS/3dGS driver instance associated with this control

void HCtrlView::Init ( void )

Initializes the view object, setting up default window/geometry colors/visibilities, etc...


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


Copyright © 2000 Tech Soft 3D