Alphabetical Class List   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

void FitWorld ()
void FlushFromMessage (const char *in_data, unsigned int data_length)
void DetachScene ()
void AttachScene (void *h)
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 ()
void SetShadowMode (HShadowMode shadowMode)


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.


Member Function Documentation

void HCtrlView::AttachScene void *    h
 

Rebind view

void HCtrlView::CreateProgressWindow  
 

Initialize percentage loading progress display

void HCtrlView::DeleteProgressWindow  
 

Clean Up Progress Window

void HCtrlView::DetachScene  
 

Bind View to null driver

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
 

Overloaded FlushFromMessage (deletes note geometry)

void HCtrlView::FlushScene  
 

Overloaded Flush Scene

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

bool HCtrlView::SceneDetached   [inline]
 

Returns:
true = scene is detached, false = scene is not detached

void HCtrlView::SetHasCamera bool    hascamera [inline]
 

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 \maram num progress (in percent)

void HCtrlView::SetShadowMode HShadowMode    shadowMode
 

Sets the shadow mode. Use this function to create hard/soft shadow or destroy the shadow

Parameters:
ShadowModeType  shadowMode enum to type ShadowModeType, could be NO_SHADOW, SOFT_SHADOW or HARD_SHADOW


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


Copyright © 2002 Tech Soft 3D