#include <Hoops3dStreamCtrl.h>
Inherits CProxy_IHoops3dStreamCtrlEvents< T >.
Public Member Functions | |
STDMETHOD() | SetSelectionMarkerColor (float r, float g, float b, float a) |
STDMETHOD() | SetSelectionEdgeColor (float r, float g, float b, float a) |
STDMETHOD() | SetSelectionFaceColor (float r, float g, float b, float a) |
STDMETHOD() | ShowOptionsDialog () |
STDMETHOD() | GetPathFromIndex (int index, BSTR *pPath) |
STDMETHOD() | KeyToIndex (BSTR key, int *pIndex) |
STDMETHOD() | Run (BSTR command) |
STDMETHOD() | Select (BSTR key) |
STDMETHOD() | SelectFromIdentifier (int identifier) |
STDMETHOD() | SelectFromPath (BSTR path) |
STDMETHOD() | AddFileType (BSTR filetype) |
STDMETHOD() | FilterIdentifier (int oldidentifier, int *newidentifier) |
STDMETHOD() | GenerateNavigationInfo (int level, BSTR *filepath) |
STDMETHOD() | GenerateNavigationInfoFromNodePath (BSTR nodepath, BSTR *filepath) |
STDMETHOD() | ShowPageSetupDialog () |
STDMETHOD() | ShowPrintDialog () |
STDMETHOD() | CopyToClipboard () |
STDMETHOD() | ShowFileSaveDialog () |
STDMETHOD() | ShowFileOpenDialog () |
STDMETHODIMP | SetRenderMode (BSTR rendermode) |
STDMETHOD() | ShowCuttingPlane (BSTR name, BOOL onoff) |
STDMETHOD() | BhvPlay () |
STDMETHOD() | FlushScene () |
STDMETHOD() | BhvPause () |
STDMETHOD() | BhvRewind () |
STDMETHOD() | OpenModelSegment () |
STDMETHOD() | OpenSceneSegment () |
STDMETHOD() | SetFramerateMode (BOOL onoff) |
STDMETHOD() | SetBackplaneCullingMode (BOOL onoff) |
STDMETHOD() | SetPolygonHandednessNone () |
STDMETHOD() | SetPolygonHandednessRight () |
STDMETHOD() | SetPolygonHandednessLeft () |
STDMETHOD() | AntialiasScene () |
STDMETHOD() | SetShadowMode (BOOL onoff) |
STDMETHOD() | SetProjectionModeOrthographic () |
STDMETHOD() | SetProjectionModePerspective () |
STDMETHOD() | SaveRestoreMarkup (int layernum) |
STDMETHOD() | SetCameraToIsometric () |
STDMETHOD() | SetCameraToPlaneYX () |
STDMETHOD() | SetCameraToPlaneZY () |
STDMETHOD() | SetCameraToPlaneZX () |
STDMETHOD() | SetCameraToPlaneYZ () |
STDMETHOD() | SetCameraToPlaneXZ () |
STDMETHOD() | SetViewAxis (float fx, float fy, float fz, float tx, float ty, float tz) |
STDMETHOD() | SetCameraToPlaneXY () |
STDMETHOD() | InsertCuttingPlane () |
STDMETHOD() | SetRenderModeHiddenLine () |
STDMETHOD() | SetRenderModeWireframe () |
STDMETHOD() | SetRenderModeGouraud () |
STDMETHOD() | SetRenderModeGouraudWithEdges () |
STDMETHOD() | SetRenderModeFlat () |
STDMETHOD() | SetRenderModeShaded () |
STDMETHOD() | SetOperator (BSTR operator_name) |
STDMETHOD() | SetBackgroundColors (float r_top, float g_top, float b_top, float r_bottom, float g_bottom, float b_bottom, int percent) |
STDMETHOD() | SetAmbientColor (float r_top, float g_top, float b_top) |
STDMETHOD() | SetCamera (float px, float py, float pz, float tx, float ty, float tz, float ux, float uy, float uz, float width, float height) |
STDMETHOD() | FitWorld () |
STDMETHOD() | AbortDownload () |
STDMETHOD() | BhvActivateAllAnimations () |
STDMETHOD() | BhvDeactivateAllAnimations () |
STDMETHOD() | BhvActivateAnimation (BSTR animationname, BOOL allowPartial) |
STDMETHOD() | BhvDeactivateAnimation (BSTR animationname, BOOL allowPartial) |
STDMETHOD() | BhvStartAnimation (BSTR animationname) |
STDMETHOD() | BhvStopAnimation (BSTR animationname) |
STDMETHOD() | BhvRewindAnimation (BSTR animationname) |
STDMETHOD() | BhvSetInfinitePlay (BOOL onoff) |
STDMETHOD() | ConfigureFromFile () |
HWND | Create (HWND hWndParent, RECT &rcPos, LPCTSTR szWindowName=NULL, DWORD dwStyle=WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS|WS_OVERLAPPED, DWORD dwExStyle=0, UINT nID=0) |
HRESULT | OnDraw (ATL_DRAWINFO &di) |
bool | GetConfigProperty (char *tagname, char *propertyname, char *result, vlist_s *configurationlist=0) |
HUtilityXMLTag * | GetConfigTag (char *tagname) |
bool | ReadConfigFile (char *ConfigFile, struct vlist_s *ConfigurationList) |
HCtrlView * | GetHoopsView () |
bool | RestoreCamera () |
void | Set2dModel (bool modeltype) |
void | SetNoOrbit (bool noorbit) |
CDataLoader * | GetDataLoader () |
HRESULT | ShowFileDialog (TCHAR *ret_filename_buff, unsigned int buff_size, HWND owner=0) |
void | SerializeConfiguration () |
Static Public Member Functions | |
static void | ConvertToChar (char *mbstr, const wchar_t *wcstr, size_t count) |
static void | ConvertToBSTR (wchar_t *wcstr, const char *mbstr, size_t count) |
static HRESULT | ShowFileDialog2 (TCHAR *ret_filename_buff, unsigned int buff_size, HWND owner=0) |
static HRESULT | ShowFileSaveDialog (TCHAR *ret_filename_buff, unsigned int buff_size, HWND owner=0) |
Protected Member Functions | |
void | DrawToMetafile (HWND hWnd, HDC hDC) |
void | WriteFileToArchive (LPSTREAM pStm) |
void | ReadFileFromArchive (LPSTREAM pStm) |
void | InitModel () |
void | StartDownload () |
void | OnData (CBindStatusCallback< CHoops3dStreamCtrl > *pbsc, BYTE *pBytes, DWORD dwSize) |
void | LocalSetOperator (HBaseOperator *NewOperator) |
bool | SaveFile (LPCTSTR csFilePathName) |
bool | Print () |
void | GetPointArrayFromVariant (VARIANT *varKeys, HPoint **array, int &length) |
void | GetFloatArrayFromVariant (VARIANT *varKeys, float **array, int &length) |
void | GetByteArrayFromVariant (VARIANT *varKeys, char **array, int &length) |
void | GetArrayFromVariant (VARIANT *varKeys, float **arrayfloat, int **arrayint, char **arraychar, int &length) |
void | GetArrayFromVariant2 (VARIANT *varKeys, void **ret_array, char *type, int &length) |
void | GetIntegerArrayFromVariant (VARIANT *varKeys, int **arrayint, int &length) |
void | GetShortArrayFromVariant (VARIANT *varKeys, short **arrayshort, int &length) |
Protected Attributes | |
struct vlist_s * | m_ConfigurationList |
HCtrlView * | m_pView |
HCtrlDB * | m_pHDB |
HBaseModel * | m_pModel |
CDataLoader * | m_pDataLoader |
struct vlist_s * | m_FileTypeList |
bool | m_bMetaPrint |
bool | m_bSoftwareRendering |
bool | m_bFastPrint |
bool | m_bUseAntialiasing |
bool | m_bUseHardwareAntialiasing |
int | m_MetafileType |
bool | m_bClipboardTruecolor |
BSTR | m_Filename |
bool | m_bFilenameChanged |
bool | m_bEmbed |
bool | m_bIs2dModel |
bool | m_bNoOrbit |
bool | m_bAllowMenu |
bool | m_bAllowEntitySelection |
int | m_iPrintFlag |
CHoops3dStreamCtrl encapsulates the HOOPS view as well as the HOOPS model object. By subclassing from a large number of ATL template classes it also provides support for serialization, embedding and other control specific features.
The control's interface (it's public properties/methods) are doumemented in the Reference Manual entry for IHoops3dStreamCtrl
STDMETHOD() CHoops3dStreamCtrl::SetSelectionMarkerColor | ( | float | r, | |
float | g, | |||
float | b, | |||
float | a | |||
) |
method: Sets Selection Color for Markers
r | Red Component | |
g | Green Component | |
g | Blue Component | |
a | Alpha Component |
STDMETHOD() CHoops3dStreamCtrl::SetSelectionEdgeColor | ( | float | r, | |
float | g, | |||
float | b, | |||
float | a | |||
) |
method: Sets Selection Color for Edges
r | Red Component | |
g | Green Component | |
g | Blue Component | |
a | Alpha Component |
STDMETHOD() CHoops3dStreamCtrl::SetSelectionFaceColor | ( | float | r, | |
float | g, | |||
float | b, | |||
float | a | |||
) |
method: Sets Selection Color for Faces
r | Red Component | |
g | Green Component | |
g | Blue Component | |
a | Alpha Component |
STDMETHOD() CHoops3dStreamCtrl::ShowOptionsDialog | ( | ) |
method: Show Options Dialog
STDMETHOD() CHoops3dStreamCtrl::GetPathFromIndex | ( | int | index, | |
BSTR * | pPath | |||
) |
method: Retrieves full path from Index
index | Index to retrieve path from | |
pPath | Full Path |
STDMETHOD() CHoops3dStreamCtrl::KeyToIndex | ( | BSTR | key, | |
int * | pIndex | |||
) |
method: Convert Key to persistent Identifier
key | HOOPS key (as text string) | |
pIndex | Persistent Index for object associated to given key |
STDMETHOD() CHoops3dStreamCtrl::Run | ( | BSTR | command | ) |
method: Activates a number of different actions which do not require additional parameters
command | Command to execute |
STDMETHOD() CHoops3dStreamCtrl::Select | ( | BSTR | key | ) |
method: Select entity by HOOPS key
key | HOOPS key |
STDMETHOD() CHoops3dStreamCtrl::SelectFromIdentifier | ( | int | identifier | ) |
method: Select entity by persistent identifier
identifier | Persinstent Identifier |
STDMETHOD() CHoops3dStreamCtrl::SelectFromPath | ( | BSTR | path | ) |
method: Select entity by HOOPS segment path
path | Segment Path |
STDMETHOD() CHoops3dStreamCtrl::AddFileType | ( | BSTR | filetype | ) |
method: Adds valid file types (used in SaveAs and FileLoad Dialogs)
filetype | File Type Extension |
STDMETHOD() CHoops3dStreamCtrl::FilterIdentifier | ( | int | oldidentifier, | |
int * | newidentifier | |||
) |
method: Modify given identifier by looking at its parents
oldidentifier | Identifier to filter | |
newidentifier | Identifier after filtering |
STDMETHOD() CHoops3dStreamCtrl::GenerateNavigationInfo | ( | int | level, | |
BSTR * | filepath | |||
) |
method: Generates model Structure XML file from specified level
level | level to start XML generation from | |
filepath | File to store xml data to |
STDMETHOD() CHoops3dStreamCtrl::GenerateNavigationInfoFromNodePath | ( | BSTR | nodepath, | |
BSTR * | filepath | |||
) |
method: Generates model Structure XML file starting from specified path
nodepath | Path to start XML generation from | |
filepath | File to store xml data to |
STDMETHOD() CHoops3dStreamCtrl::ShowPageSetupDialog | ( | ) |
method: Shows Page Setup Print Dialog
STDMETHOD() CHoops3dStreamCtrl::ShowPrintDialog | ( | ) |
method: Shows Print Dialog
STDMETHOD() CHoops3dStreamCtrl::CopyToClipboard | ( | ) |
method: Performs a copy to clipboard of current scene
STDMETHOD() CHoops3dStreamCtrl::ShowFileSaveDialog | ( | ) |
method: Shows "Save As" dialog
STDMETHOD() CHoops3dStreamCtrl::ShowFileOpenDialog | ( | ) |
Method:Displays File Open Dialog Window
STDMETHODIMP CHoops3dStreamCtrl::SetRenderMode | ( | BSTR | rendermode | ) |
Method: Set Rendermode
rendermode | Rendermode string (shaded, flat, gouraud, wireframe, hidden line) |
STDMETHOD() CHoops3dStreamCtrl::ShowCuttingPlane | ( | BSTR | name, | |
BOOL | onoff | |||
) |
Method: Show specific cutting plane
name | Name of cutting plane to show/hide | |
onoff | Show or hide cutting plane |
STDMETHOD() CHoops3dStreamCtrl::BhvPlay | ( | ) |
Method: Play Animation
STDMETHOD() CHoops3dStreamCtrl::FlushScene | ( | ) |
Method: Flush Currently Loaded Scene
STDMETHOD() CHoops3dStreamCtrl::BhvPause | ( | ) |
Method: Pause ANimation
STDMETHOD() CHoops3dStreamCtrl::BhvRewind | ( | ) |
Method: Rewind Animation
STDMETHOD() CHoops3dStreamCtrl::OpenModelSegment | ( | ) |
Method: open model segment
STDMETHOD() CHoops3dStreamCtrl::OpenSceneSegment | ( | ) |
Method: open scene segment
STDMETHOD() CHoops3dStreamCtrl::SetFramerateMode | ( | BOOL | onoff | ) |
Method: Turn framerate logic on/off
onoff | true = framerate on, false = framerate off |
STDMETHOD() CHoops3dStreamCtrl::SetBackplaneCullingMode | ( | BOOL | onoff | ) |
Method: Turn backplane culling on/off
onoff | true = backplane culling on, false = backplane culling off |
STDMETHOD() CHoops3dStreamCtrl::SetPolygonHandednessNone | ( | ) |
Method: Set no polygon handedness
STDMETHOD() CHoops3dStreamCtrl::SetPolygonHandednessRight | ( | ) |
Method: Set polygon handedness right
STDMETHOD() CHoops3dStreamCtrl::SetPolygonHandednessLeft | ( | ) |
Method: set polygon handedness left
STDMETHOD() CHoops3dStreamCtrl::AntialiasScene | ( | ) |
Method: antialias current scene
STDMETHOD() CHoops3dStreamCtrl::SetShadowMode | ( | BOOL | onoff | ) |
Method: Turn smooth shadow on/off
onoff | true = shadow on, false = shadow off |
STDMETHOD() CHoops3dStreamCtrl::SetProjectionModeOrthographic | ( | ) |
Method: set orthographic projection
STDMETHOD() CHoops3dStreamCtrl::SetProjectionModePerspective | ( | ) |
Method: set perpective projection
STDMETHOD() CHoops3dStreamCtrl::SaveRestoreMarkup | ( | int | layernum | ) |
Method: save/restore markup layer
layernum | markup layer |
STDMETHOD() CHoops3dStreamCtrl::SetCameraToIsometric | ( | ) |
Method: set isometric camera view
STDMETHOD() CHoops3dStreamCtrl::SetCameraToPlaneYX | ( | ) |
Method: set YX camera view
STDMETHOD() CHoops3dStreamCtrl::SetCameraToPlaneZY | ( | ) |
Method: set ZY camera view
STDMETHOD() CHoops3dStreamCtrl::SetCameraToPlaneZX | ( | ) |
Method: set ZX camera view
STDMETHOD() CHoops3dStreamCtrl::SetCameraToPlaneYZ | ( | ) |
Method: set YZ camera view
STDMETHOD() CHoops3dStreamCtrl::SetCameraToPlaneXZ | ( | ) |
Method: set XZ camera view
STDMETHOD() CHoops3dStreamCtrl::SetViewAxis | ( | float | fx, | |
float | fy, | |||
float | fz, | |||
float | tx, | |||
float | ty, | |||
float | tz | |||
) |
Method: Set the front and up direction of the camera.
STDMETHOD() CHoops3dStreamCtrl::SetCameraToPlaneXY | ( | ) |
Method: set XY camera view
STDMETHOD() CHoops3dStreamCtrl::InsertCuttingPlane | ( | ) |
Method: insert interactive cutting plane
STDMETHOD() CHoops3dStreamCtrl::SetRenderModeHiddenLine | ( | ) |
Method: set hidden line render mode
STDMETHOD() CHoops3dStreamCtrl::SetRenderModeWireframe | ( | ) |
Method: set wireframe render mode
STDMETHOD() CHoops3dStreamCtrl::SetRenderModeGouraud | ( | ) |
Method: set gouraud render mode
STDMETHOD() CHoops3dStreamCtrl::SetRenderModeGouraudWithEdges | ( | ) |
Method: set gouraud render mode with edges on
STDMETHOD() CHoops3dStreamCtrl::SetRenderModeFlat | ( | ) |
Method: set flat render mode
STDMETHOD() CHoops3dStreamCtrl::SetRenderModeShaded | ( | ) |
Method: set shaded render mode
STDMETHOD() CHoops3dStreamCtrl::SetOperator | ( | BSTR | operator_name | ) |
Method: set operator
operator_name | name of operator (as defined in HOp...GetName() |
STDMETHOD() CHoops3dStreamCtrl::SetBackgroundColors | ( | float | r_top, | |
float | g_top, | |||
float | b_top, | |||
float | r_bottom, | |||
float | g_bottom, | |||
float | b_bottom, | |||
int | percent | |||
) |
Method: set window background colors
STDMETHOD() CHoops3dStreamCtrl::SetAmbientColor | ( | float | r_top, | |
float | g_top, | |||
float | b_top | |||
) |
Method: set ambient color
STDMETHOD() CHoops3dStreamCtrl::SetCamera | ( | float | px, | |
float | py, | |||
float | pz, | |||
float | tx, | |||
float | ty, | |||
float | tz, | |||
float | ux, | |||
float | uy, | |||
float | uz, | |||
float | width, | |||
float | height | |||
) |
Property: Set camera parameters
px | camera position x parameter | |
py | camera position y parameter | |
pz | camera position z parameter | |
tx | camera target x parameter | |
ty | camera target y parameter | |
tz | camera target z parameter | |
ux | camera up-vector x parameter | |
uy | camera up-vector y parameter | |
uz | camera up-vector z parameter | |
width | camera width | |
height | camera height |
STDMETHOD() CHoops3dStreamCtrl::FitWorld | ( | ) |
Property: Fit camera to scene extents
STDMETHOD() CHoops3dStreamCtrl::AbortDownload | ( | ) |
Property: Abort download of current stream file
STDMETHOD() CHoops3dStreamCtrl::BhvActivateAllAnimations | ( | ) |
Property: Activates all animations on current dataset
STDMETHOD() CHoops3dStreamCtrl::BhvDeactivateAllAnimations | ( | ) |
Property: DeActivates all animations on current dataset
STDMETHOD() CHoops3dStreamCtrl::BhvActivateAnimation | ( | BSTR | animationname, | |
BOOL | allowPartial | |||
) |
Property: Activate one animation
animationname | Name of animation | |
allowPartial | Allow partial name match in animation name |
STDMETHOD() CHoops3dStreamCtrl::BhvDeactivateAnimation | ( | BSTR | animationname, | |
BOOL | allowPartial | |||
) |
Property: DeActivate one animation
animationname | Name of animation | |
allowPartial | Allow partial name match in animation name |
STDMETHOD() CHoops3dStreamCtrl::BhvStartAnimation | ( | BSTR | animationname | ) |
Property: Start one animation
animationname | Name of animation |
STDMETHOD() CHoops3dStreamCtrl::BhvStopAnimation | ( | BSTR | animationname | ) |
Property: Stop one animation
animationname | Name of animation |
STDMETHOD() CHoops3dStreamCtrl::BhvRewindAnimation | ( | BSTR | animationname | ) |
Property: Rewind one animation
animationname | Name of animation |
STDMETHOD() CHoops3dStreamCtrl::BhvSetInfinitePlay | ( | BOOL | onoff | ) |
Method: Turn Infinite Play On/Off (looping animations will play infinitely)
onoff | true = infinite play on, false = infinite play off |
STDMETHOD() CHoops3dStreamCtrl::ConfigureFromFile | ( | ) |
Reads configuration file and configures viewer settings
HWND CHoops3dStreamCtrl::Create | ( | HWND | hWndParent, | |
RECT & | rcPos, | |||
LPCTSTR | szWindowName = NULL , |
|||
DWORD | dwStyle = WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS|WS_OVERLAPPED , |
|||
DWORD | dwExStyle = 0 , |
|||
UINT | nID = 0 | |||
) |
Overloaded "Create" Function. Initializes various class members.
HRESULT CHoops3dStreamCtrl::OnDraw | ( | ATL_DRAWINFO & | di | ) |
Message: OnDraw message handler
di | drawinfo structure |
bool CHoops3dStreamCtrl::GetConfigProperty | ( | char * | tagname, | |
char * | propertyname, | |||
char * | result, | |||
vlist_s * | configurationlist = 0 | |||
) |
Retrieves Individual property of configuration item
tagname | Name of Tag for configuration item | |
propertyname | Name of Property to retrieve | |
result | Contents of requested property | |
configurationlist | Optional list of configuration items (if 0 list assosicated to control is used) |
HUtilityXMLTag* CHoops3dStreamCtrl::GetConfigTag | ( | char * | tagname | ) |
Retrieves XMLTag Object from tagname
tagname | Name of Tag to retrieve |
bool CHoops3dStreamCtrl::ReadConfigFile | ( | char * | ConfigFile, | |
struct vlist_s * | ConfigurationList | |||
) |
Read Configuration file and update configuration list
ConfigFile | Configuration File to read from | |
ConfigurationList | List of Configuration Items |
static void CHoops3dStreamCtrl::ConvertToChar | ( | char * | mbstr, | |
const wchar_t * | wcstr, | |||
size_t | count | |||
) | [static] |
Convert Wide Character String (BSTR) to Multibyte String (char)
mbstr | Multibyte String (returned) | |
wcstr | Wide Character String | |
count | Size of Wide Character String |
static void CHoops3dStreamCtrl::ConvertToBSTR | ( | wchar_t * | wcstr, | |
const char * | mbstr, | |||
size_t | count | |||
) | [static] |
Convert Multibyte String (char) to Wide Character String (BSTR)
wcstr | Wide Character String (returned) | |
mbstr | Multibyte String | |
count | Size of Multibyte String |
bool CHoops3dStreamCtrl::RestoreCamera | ( | ) |
Restore Camera from stored values
void CHoops3dStreamCtrl::Set2dModel | ( | bool | modeltype | ) |
Set file type of currently loaded file (2d or 3d)
modeltype | true = 2d model , false = 3d model |
void CHoops3dStreamCtrl::SetNoOrbit | ( | bool | noorbit | ) |
Enable/Disable orbit operator selectability
noorbit | true = orbit operator is deselected and greyed out in right click menu, orbit operator not grayed out |
CDataLoader* CHoops3dStreamCtrl::GetDataLoader | ( | ) | [inline] |
Returns Pointer to DataLoader
HRESULT CHoops3dStreamCtrl::ShowFileDialog | ( | TCHAR * | ret_filename_buff, | |
unsigned int | buff_size, | |||
HWND | owner = 0 | |||
) |
Shows the standard File-Open dialog box and returns the name of the file chosen.
ret_filename_buff | TCHAR array to receive the fully qualified file name chosen by the user | |
buff_size | size of the filename buffer provided | |
owner | window handle to the owner. Defaults to null. return S_OK if succeeds |
static HRESULT CHoops3dStreamCtrl::ShowFileDialog2 | ( | TCHAR * | ret_filename_buff, | |
unsigned int | buff_size, | |||
HWND | owner = 0 | |||
) | [static] |
Shows the standard File-Open dialog box and returns the name of the file chosen.
ret_filename_buff | TCHAR array to receive the fully qualified file name chosen by the user | |
buff_size | size of the filename buffer provided | |
owner | window handle to the owner. Defaults to null. return S_OK if succeeds |
static HRESULT CHoops3dStreamCtrl::ShowFileSaveDialog | ( | TCHAR * | ret_filename_buff, | |
unsigned int | buff_size, | |||
HWND | owner = 0 | |||
) | [static] |
Shows the standard File-Save As dialog box and returns the name of the file chosen.
ret_filename_buff | TCHAR array to receive the fully qualified file name chosen by the user | |
buff_size | size of the filename buffer provided | |
owner | window handle to the owner. Defaults to null. return S_OK if succeeds |
void CHoops3dStreamCtrl::SerializeConfiguration | ( | ) |
Saves current configuration information to file
void CHoops3dStreamCtrl::DrawToMetafile | ( | HWND | hWnd, | |
HDC | hDC | |||
) | [protected] |
serialization of control data to metafile
void CHoops3dStreamCtrl::WriteFileToArchive | ( | LPSTREAM | pStm | ) | [protected] |
serialization of control data
void CHoops3dStreamCtrl::ReadFileFromArchive | ( | LPSTREAM | pStm | ) | [protected] |
deserialization of control data
void CHoops3dStreamCtrl::InitModel | ( | ) | [protected] |
initial HOOPS model
void CHoops3dStreamCtrl::StartDownload | ( | ) | [protected] |
download new file
void CHoops3dStreamCtrl::OnData | ( | CBindStatusCallback< CHoops3dStreamCtrl > * | pbsc, | |
BYTE * | pBytes, | |||
DWORD | dwSize | |||
) | [protected] |
Callback for new Stream Data
void CHoops3dStreamCtrl::LocalSetOperator | ( | HBaseOperator * | NewOperator | ) | [protected] |
change operator
bool CHoops3dStreamCtrl::SaveFile | ( | LPCTSTR | csFilePathName | ) | [protected] |
helper function for save a file
bool CHoops3dStreamCtrl::Print | ( | ) | [protected] |
helper function for printing
void CHoops3dStreamCtrl::GetPointArrayFromVariant | ( | VARIANT * | varKeys, | |
HPoint ** | array, | |||
int & | length | |||
) | [protected] |
Retrieves Point Array from Variant
varKeys | Variant containing point array | |
array | Point Array | |
length | length of point array |
void CHoops3dStreamCtrl::GetFloatArrayFromVariant | ( | VARIANT * | varKeys, | |
float ** | array, | |||
int & | length | |||
) | [protected] |
Retrieves float Array from Variant
varKeys | Variant containing float array | |
array | float array | |
length | length of float array |
void CHoops3dStreamCtrl::GetByteArrayFromVariant | ( | VARIANT * | varKeys, | |
char ** | array, | |||
int & | length | |||
) | [protected] |
Retrieves byte Array from Variant
varKeys | Variant containing byte array | |
array | byte array | |
length | length of byte array |
void CHoops3dStreamCtrl::GetArrayFromVariant | ( | VARIANT * | varKeys, | |
float ** | arrayfloat, | |||
int ** | arrayint, | |||
char ** | arraychar, | |||
int & | length | |||
) | [protected] |
Retrieves arrays of various types from variant
varKeys | Variant containing float array | |
arrayfloat | float array | |
arrayint | integer array | |
arraychar | byte array | |
length | length of array |
void CHoops3dStreamCtrl::GetArrayFromVariant2 | ( | VARIANT * | varKeys, | |
void ** | ret_array, | |||
char * | type, | |||
int & | length | |||
) | [protected] |
Retrieves arrays of various types from variant
varKeys | Variant containing float array | |
ret_array | void array | |
arraychar | char array | |
length | length of array |
void CHoops3dStreamCtrl::GetIntegerArrayFromVariant | ( | VARIANT * | varKeys, | |
int ** | arrayint, | |||
int & | length | |||
) | [protected] |
Retrieves integer Array from Variant
varKeys | Variant containing integer array | |
arrayint | integer array | |
length | length of integer array |
void CHoops3dStreamCtrl::GetShortArrayFromVariant | ( | VARIANT * | varKeys, | |
short ** | arrayshort, | |||
int & | length | |||
) | [protected] |
Retrieves short integer Array from Variant
varKeys | Variant containing short integer array | |
arrayshort | short integer array | |
length | length of short integer array |
struct vlist_s* CHoops3dStreamCtrl::m_ConfigurationList [read, protected] |
Pointer to Configuration List
HCtrlView* CHoops3dStreamCtrl::m_pView [protected] |
Pointer to HOOPS View Object
HCtrlDB* CHoops3dStreamCtrl::m_pHDB [protected] |
Pointer to HOOPS Database Object
HBaseModel* CHoops3dStreamCtrl::m_pModel [protected] |
Pointer to HOOPS Model Object
CDataLoader* CHoops3dStreamCtrl::m_pDataLoader [protected] |
Pointer to Dataloader Class
struct vlist_s* CHoops3dStreamCtrl::m_FileTypeList [read, protected] |
Pointer to File Type List
bool CHoops3dStreamCtrl::m_bMetaPrint [protected] |
Metafile Printing flag
bool CHoops3dStreamCtrl::m_bSoftwareRendering [protected] |
Use Software Rendering flag
bool CHoops3dStreamCtrl::m_bFastPrint [protected] |
Fast Printing flag
bool CHoops3dStreamCtrl::m_bUseAntialiasing [protected] |
Use Antialiasing flag
bool CHoops3dStreamCtrl::m_bUseHardwareAntialiasing [protected] |
Use Hardware Antialiasing flag
int CHoops3dStreamCtrl::m_MetafileType [protected] |
Metafile Type (EMF/WMF)
bool CHoops3dStreamCtrl::m_bClipboardTruecolor [protected] |
Clipboard is truecolor
BSTR CHoops3dStreamCtrl::m_Filename [protected] |
name of currently loaded file
bool CHoops3dStreamCtrl::m_bFilenameChanged [protected] |
indicates changed filename
bool CHoops3dStreamCtrl::m_bEmbed [protected] |
indicates if control should be embedded in it's container
bool CHoops3dStreamCtrl::m_bIs2dModel [protected] |
indicates if loaded model is 2d or 3d type
bool CHoops3dStreamCtrl::m_bNoOrbit [protected] |
indicates if loaded model is 2d or 3d type
bool CHoops3dStreamCtrl::m_bAllowMenu [protected] |
True: right click menu is enabled
bool CHoops3dStreamCtrl::m_bAllowEntitySelection [protected] |
Use Entity Selection flag
int CHoops3dStreamCtrl::m_iPrintFlag [protected] |
indicates whether printing or not