CLUViz .NET View Control
Inherits UserControl.
Public Member Functions | |
ViewCtrl () | |
Default constructor. More... | |
ViewCtrl (bool bCreateSharedRC, __int64 hGLRC) | |
Constructor. More... | |
void | ClearScript () |
Unloads the script that has been loaded by SetScript or LoadScript and places 'CLUViz' in the center. More... | |
void | ClearScript (System::String^ sText) |
Unloads the script that has been loaded by SetScript or LoadScript and places the given string in the center. More... | |
void | ClearScript (System::String^ sText, System::Drawing::Color xBackgroundColor) |
Unloads the script that has been loaded by SetScript or LoadScript and places the given string in the center. More... | |
void | EnableDrawing (bool bEnable) |
Enables/Disables the drawing of the CLUViz scene graph. The script is still executed when calling ExecScript() or if the user uses any tools. More... | |
void | EnableDrawing (bool bEnable, bool bDoRedisplay) |
Enables/Disables the drawing of the CLUViz scene graph. The script is still executed when calling ExecScript() or if the user uses any tools. More... | |
void | EnableViewErrorEvents (bool bEnable) |
Enables/Disables the view error events. More... | |
void | EnableViewMouseEvents (bool bEnable) |
Enables/Disables the view mouse events. Must not be called if 'IsLoaded' is false. More... | |
void | ExecScript (System::String^ sMessage) |
Executes the script and sets the internal script variable 'ToolName' to the given string. More... | |
void | ExecScript (System::String^ sMessage, System::String^ %sScriptOutput) |
Executes the script and sets the internal script variable 'ToolName' to the given string. More... | |
System::String^ | GetSceneGraphPrint () |
Gets the ASCII formatted CluViz scene graph created by the current script. It can be used for debug purposes. More... | |
void | GetScriptOutput ([Out] array< System::String^ >^%asText, [Out] bool% bIsError) |
Gets the script output produced during script execution. More... | |
System::String^ | GetScriptOutput ([Out] bool% bIsError) |
Gets the script output produced during script execution. More... | |
System::String^ | GetScriptOutput () |
Gets the script output produced during script execution. More... | |
void | GetVarColor (System::String^ sVarName, [Out] System::Drawing::Color% colValue) |
Gets the value of a CluViz color variable. More... | |
void | GetVarImage (System::String^ sVarName, Rx::InteropNet::Runtime28::IImage^ imgValue) |
Gets the value of a CluViz image variable. More... | |
void | GetVarNumber (System::String^ sVarName, [Out] int% iValue) |
Gets the value of a CluViz script variable. More... | |
void | GetVarNumber (System::String^ sVarName, [Out] bool% bValue) |
Gets the value of a CluViz script variable. More... | |
void | GetVarNumber (System::String^ sVarName, [Out] double% dValue) |
Gets the value of a CluViz script variable. More... | |
void | GetVarString (System::String^ sVarName, [Out] System::String^ %sValue) |
Gets the value of a CluViz script variable. More... | |
void | GetVarString (System::String^ sVarName, [Out] System::String^ %sValue, int iMaxLen) |
Gets the value of a CluViz script variable. More... | |
void | GetVarTensor (System::String^ sVarName, [Out] array< int >^%aiDim, [Out] array< double >^%adValue) |
Gets the values and dimensions of a CluViz tensor. More... | |
void | LoadScript (System::String^ sFilename) |
Loads a script from file. More... | |
void | LoadScript (System::String^ sFilename, System::String^ sPass) |
Loads a script from file. More... | |
void | LockVis (bool bLock) |
Locks or unlocks the visualization. You must NOT call ExecScript while locked. More... | |
void | MakeCurrentSharedRC () |
Makes the shared OpenGL rendering context the current one. More... | |
void | PauseDrawing (bool bEnablePause) |
Pause drawing for short period of time. While paused, all keyboard and mouse events are blocked (and queued) until the pause is disabled. More... | |
virtual void | Refresh () override |
Forces the control to invalidate its client area and immediately redraw itself. More... | |
void | ResumeLayout (bool bPerformLayout) |
Resumes layout. This enables resizing of CLU window. More... | |
void | SetScript (System::String^ sScript) |
Sets the CluViz script for this control as a string. More... | |
void | SetScript (System::String^ sScript, bool bResetEnv) |
Sets the CluViz script for this control as a string. More... | |
void | SetVarColor (System::String^ sVarName, System::Drawing::Color colValue) |
Sets the value of a CluViz color variable. More... | |
void | SetVarColor (System::String^ sVarName, Rx::Net::Vector4D colValue) |
Sets the value of a CluViz color variable. More... | |
void | SetVarImage (System::String^ sVarName, Rx::InteropNet::Runtime28::IImage^ imgValue) |
Sets the value of a CluViz image variable. More... | |
void | SetVarNumber (System::String^ sVarName, int iValue) |
Sets the value of a CluViz variable. More... | |
void | SetVarNumber (System::String^ sVarName, bool bValue) |
Sets the value of a CluViz variable. More... | |
void | SetVarNumber (System::String^ sVarName, float fValue) |
Sets the value of a CluViz variable. More... | |
void | SetVarNumber (System::String^ sVarName, double dValue) |
Sets the value of a CluViz variable. More... | |
void | SetVarObject (System::String^ sVarName, Rx::Net::StdVboMoniker^ xObject) |
Sets the value of a CluViz vertex buffer object variable. More... | |
void | SetVarString (System::String^ sVarName, System::String^ sValue) |
Sets the value of a CluViz variable. More... | |
void | SetVarStringList (System::String^ sVarName, array< System::String^ >^asValue) |
Sets the value of a CluViz variable. More... | |
void | SetVarTensor (System::String^ sVarName, array< int >^aiDim, array< double >^adData) |
Sets the value of a CluViz tensor variable. More... | |
void | SuspendLayout () |
Suspends layout. This disables resizing of CLU window to achieve better performance while performing layout of windows. More... | |
void | Update () |
Updates the visualization and waits for the completion. More... | |
void | Update (bool bWait) |
Updates the visualization. More... | |
Protected Member Functions | |
!ViewCtrl () | |
Finalizer. This is called by the garbage collector. More... | |
virtual | ~ViewCtrl () |
Destructor. This is NOT called by the garbage collector. The destructor is used to free native resources explicitly by calling delete on an instance. This does not free the managed resources used. More... | |
System::String^ | _GetLastError (System::String^ sPreString) |
Gets the last error. More... | |
void | _Init (bool bCreateSharedRC, __int64 hGLRC) |
Initializes this object. More... | |
void | _SetPosSize () |
Sets the position and the size. More... | |
bool | _TranslateControlKey (int% iCLUKey, System::Windows::Forms::Keys eKey) |
Translate control key. More... | |
void | _UpdateModifierKeys () |
Updates the modifier keys. More... | |
virtual bool | IsInputKey (System::Windows::Forms::Keys eKey) override |
Query if 'eKey' is input key. More... | |
bool | IsMouseDown () |
Test if any mouse button is pressed down. More... | |
virtual void | OnEnabledChanged (System::EventArgs^ e) override |
Executes the enabled changed action. More... | |
virtual void | OnGotFocus (System::EventArgs^ e) override |
Executes the got focus action. More... | |
virtual void | OnKeyDown (System::Windows::Forms::KeyEventArgs^ e) override |
Executes the key down action. More... | |
virtual void | OnKeyPress (System::Windows::Forms::KeyPressEventArgs^ e) override |
Executes the key press action. More... | |
virtual void | OnKeyUp (System::Windows::Forms::KeyEventArgs^ e) override |
Executes the key up action. More... | |
virtual void | OnLostFocus (System::EventArgs^ e) override |
Executes the lost focus action. More... | |
virtual void | OnMouseDown (System::Windows::Forms::MouseEventArgs^ e) override |
Executes the mouse down action. More... | |
virtual void | OnMouseEnter (System::EventArgs^ e) override |
Executes the mouse enter action. More... | |
virtual void | OnMouseLeave (System::EventArgs^ e) override |
Executes the mouse leave action. More... | |
virtual void | OnMouseMove (System::Windows::Forms::MouseEventArgs^ e) override |
Executes the mouse move action. More... | |
virtual void | OnMouseUp (System::Windows::Forms::MouseEventArgs^ e) override |
Executes the mouse up action. More... | |
virtual void | OnPaint (System::Windows::Forms::PaintEventArgs^ e) override |
Paints this window. More... | |
virtual void | OnPaintBackground (System::Windows::Forms::PaintEventArgs^ e) override |
Executes the paint background action. More... | |
virtual void | OnParentChanged (System::EventArgs^ e) override |
Executes the parent changed action. More... | |
virtual void | OnResize (System::EventArgs^ e) override |
Executes the resize action. More... | |
void | OnViewMouseEvent (CLUViz::SMouseEventData *pvData, void *pvContext) |
Executes the view mouse event action. More... | |
void | OnViewMouseEventInvoked (CLUViz::Net::SMouseEventData^ xData) |
Executes the view mouse event invoked action. More... | |
virtual void | WndProc (System::Windows::Forms::Message% m) override |
WndProc. More... | |
Properties | |
int | CluHandle [get] |
Gets the handle of the inner CLU view. More... | |
System::Windows::Forms::CreateParams^ | CreateParams [get] |
Adds the class styles VREDRAW, HREDRAW and OWNDC to support OpenGL rendering. More... | |
bool | FocusOnMouseOver |
Gets or sets a value indicating whether this control gets the focus on mouse over. More... | |
__int64 | SharedGLRC [get] |
Gets the shared OpenGL rendering context. Is 0 if no shared context has been created. More... | |
System::Collections::Generic::List< int >^ | SyncedHandles |
Gets a list of CLU view handles that are synchronized with this view control. Mouse events of this view control are also passed to these handles. More... | |
Events | |
ViewErrorEventHandler^ | ViewErrorEvent |
Occurs when the internal script throws an error. More... | |
ViewMouseEventHandler^ | ViewMouseEvent |
Occurs when the mouse interaction with the control triggers an action. More... | |
ViewMouseEventHandler^ | ViewMouseEventInvoked |
Occurs when the mouse interaction with the control triggers an action. The listeners of this events are allowed to call arbitrary script executes within the event handler. More... | |
CLUViz::Net::ViewCtrl::ViewCtrl | ( | ) |
Default constructor.
Creates a WinForms user control that can be placed on a form. This control allows interaction with a loaded CluViz script that visualizes its content using OpenGL.
CLUViz::Net::ViewCtrl::ViewCtrl | ( | bool | bCreateSharedRC, |
__int64 | hGLRC | ||
) |
Constructor.
Creates a WinForms user control that can be placed on a form. This control allows interaction with a loaded CluViz script that visualizes its content using OpenGL.
If you want to place multiple user controls on your form that should share OpenGL resources you must create the first user control with bCreateSharedRC set to true and hGLRC set to 0. This creates a shared rendering context. All further controls must be created with bCreateSharedRC set to false. In this case you must provide the created shared rendering context as the parameter hGLRC. You get the shared rendering context using the property SharedGLRC.
bCreateSharedRC | True to create a shared OpenGL rendering context. |
hGLRC | The shared OpenGL rendering context to use. Is ignored if bCreateSharedRC is true. Provide a 0 to not use a shared rendering context. |
|
protectedvirtual |
Destructor. This is NOT called by the garbage collector. The destructor is used to free native resources explicitly by calling delete on an instance. This does not free the managed resources used.
|
protected |
Finalizer. This is called by the garbage collector.
|
protected |
Gets the last error.
sPreString | [in] If non-null, the pre string. |
|
protected |
Initializes this object.
bCreateSharedRC | True to create shared rendering context. |
hGLRC | The shared rendering context. |
|
protected |
Sets the position and the size.
|
protected |
Translate control key.
iCLUKey | [in,out] Zero-based index of the clu key. |
eKey | The key. |
|
protected |
Updates the modifier keys.
void CLUViz::Net::ViewCtrl::ClearScript | ( | ) |
Unloads the script that has been loaded by SetScript or LoadScript and places 'CLUViz' in the center.
void CLUViz::Net::ViewCtrl::ClearScript | ( | System::String^ | sText | ) |
Unloads the script that has been loaded by SetScript or LoadScript and places the given string in the center.
sText | [in] The text to be placed in the center of this control. |
void CLUViz::Net::ViewCtrl::ClearScript | ( | System::String^ | sText, |
System::Drawing::Color | xBackgroundColor | ||
) |
Unloads the script that has been loaded by SetScript or LoadScript and places the given string in the center.
sText | [in] The text to be placed in the center of this control. |
xBackgroundColor | The background color. |
void CLUViz::Net::ViewCtrl::EnableDrawing | ( | bool | bEnable | ) |
Enables/Disables the drawing of the CLUViz scene graph. The script is still executed when calling ExecScript() or if the user uses any tools.
Disable the drawing will also disable all Keyboard / Mouse events.
bEnable | true to enable, false to disable. |
void CLUViz::Net::ViewCtrl::EnableDrawing | ( | bool | bEnable, |
bool | bDoRedisplay | ||
) |
Enables/Disables the drawing of the CLUViz scene graph. The script is still executed when calling ExecScript() or if the user uses any tools.
bEnable | true to enable, false to disable. |
bDoRedisplay | true to do redisplay. |
void CLUViz::Net::ViewCtrl::EnableViewErrorEvents | ( | bool | bEnable | ) |
Enables/Disables the view error events.
bEnable | True to enable, false to disable. |
void CLUViz::Net::ViewCtrl::EnableViewMouseEvents | ( | bool | bEnable | ) |
Enables/Disables the view mouse events. Must not be called if 'IsLoaded' is false.
bEnable | True to enable, false to disable. |
void CLUViz::Net::ViewCtrl::ExecScript | ( | System::String^ | sMessage | ) |
Executes the script and sets the internal script variable 'ToolName' to the given string.
sMessage | [in] The tool name string. |
Use the following code snippet in your script and call ExecScript("SetBGColorWhite")
to change the background color of the script visualization:
void CLUViz::Net::ViewCtrl::ExecScript | ( | System::String^ | sMessage, |
System::String^ % | sScriptOutput | ||
) |
Executes the script and sets the internal script variable 'ToolName' to the given string.
sMessage | [in] The tool name string. |
sScriptOutput | [out] Contains any text the script has procuded during execution. |
Use the following code snippet in your script and call ExecScript("SetBGColorWhite")
to change the background color of the script visualization:
System::String ^ CLUViz::Net::ViewCtrl::GetSceneGraphPrint | ( | ) |
Gets the ASCII formatted CluViz scene graph created by the current script. It can be used for debug purposes.
void CLUViz::Net::ViewCtrl::GetScriptOutput | ( | [Out] array< System::String^ >^% | asText, |
[Out] bool% | bIsError | ||
) |
Gets the script output produced during script execution.
asText | [out] An array of output string. |
bIsError | [out] Is true if the output contains error strings. |
System::String ^ CLUViz::Net::ViewCtrl::GetScriptOutput | ( | [Out] bool% | bIsError | ) |
Gets the script output produced during script execution.
bIsError | [out] Is true if the output contains error strings. |
System::String ^ CLUViz::Net::ViewCtrl::GetScriptOutput | ( | ) |
Gets the script output produced during script execution.
void CLUViz::Net::ViewCtrl::GetVarColor | ( | System::String^ | sVarName, |
[Out] System::Drawing::Color% | colValue | ||
) |
Gets the value of a CluViz color variable.
sVarName | [in] The name of the color variable. |
colValue | [out] The returned color. |
void CLUViz::Net::ViewCtrl::GetVarImage | ( | System::String^ | sVarName, |
Rx::InteropNet::Runtime28::IImage^ | imgValue | ||
) |
Gets the value of a CluViz image variable.
sVarName | [in] The name of the image variable. |
imgValue | [out] The returned image. |
void CLUViz::Net::ViewCtrl::GetVarNumber | ( | System::String^ | sVarName, |
[Out] int% | iValue | ||
) |
Gets the value of a CluViz script variable.
sVarName | [in] The name of the variable. |
iValue | [out] The returned value. |
void CLUViz::Net::ViewCtrl::GetVarNumber | ( | System::String^ | sVarName, |
[Out] bool% | bValue | ||
) |
Gets the value of a CluViz script variable.
sVarName | [in] The name of the variable. |
bValue | [out] The returned value. |
void CLUViz::Net::ViewCtrl::GetVarNumber | ( | System::String^ | sVarName, |
[Out] double% | dValue | ||
) |
Gets the value of a CluViz script variable.
sVarName | [in] The name of the variable. |
dValue | [out] The returned value. |
void CLUViz::Net::ViewCtrl::GetVarString | ( | System::String^ | sVarName, |
[Out] System::String^ % | sValue | ||
) |
Gets the value of a CluViz script variable.
sVarName | [in] The name of the variable. |
sValue | [out] The returned string. |
void CLUViz::Net::ViewCtrl::GetVarString | ( | System::String^ | sVarName, |
[Out] System::String^ % | sValue, | ||
int | iMaxLen | ||
) |
Gets the value of a CluViz script variable.
sVarName | [in] The name of the variable. |
sValue | [out] The returned string. |
iMaxLen | The maximum number of characters that should be returned. |
void CLUViz::Net::ViewCtrl::GetVarTensor | ( | System::String^ | sVarName, |
[Out] array< int >^% | aiDim, | ||
[Out] array< double >^% | adValue | ||
) |
Gets the values and dimensions of a CluViz tensor.
sVarName | [in] The name of the tensor. |
aiDim | [out] The returned tensor dimensions. The size of this array is the number of dimensions. |
adValue | [out] The returned tensor values. |
|
overrideprotectedvirtual |
Query if 'eKey' is input key.
eKey | The key. |
|
protected |
Test if any mouse button is pressed down.
void CLUViz::Net::ViewCtrl::LoadScript | ( | System::String^ | sFilename | ) |
Loads a script from file.
sFilename | [in] IThe file name of the CluViz script. |
void CLUViz::Net::ViewCtrl::LoadScript | ( | System::String^ | sFilename, |
System::String^ | sPass | ||
) |
Loads a script from file.
sFilename | [in] IThe file name of the CluViz script. |
sPass | [in] The password of the encrypted script. |
void CLUViz::Net::ViewCtrl::LockVis | ( | bool | bLock | ) |
Locks or unlocks the visualization. You must NOT call ExecScript while locked.
bLock | True to lock, false to unlock. |
void CLUViz::Net::ViewCtrl::MakeCurrentSharedRC | ( | ) |
Makes the shared OpenGL rendering context the current one.
This is required if you want to call OpenGL methods using this context by your own.
|
overrideprotectedvirtual |
Executes the enabled changed action.
e | [in,out] If non-null, the System::EventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the got focus action.
e | [in,out] If non-null, the System::EventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the key down action.
e | [in,out] If non-null, the System::Windows::Forms::KeyEventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the key press action.
e | [in,out] If non-null, the System::Windows::Forms::KeyPressEventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the key up action.
e | [in,out] If non-null, the System::Windows::Forms::KeyEventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the lost focus action.
e | [in,out] If non-null, the System::EventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the mouse down action.
e | [in,out] If non-null, the System::Windows::Forms::MouseEventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the mouse enter action.
e | [in,out] If non-null, the System::EventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the mouse leave action.
e | [in,out] If non-null, the System::EventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the mouse move action.
e | [in,out] If non-null, the System::Windows::Forms::MouseEventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the mouse up action.
e | [in,out] If non-null, the System::Windows::Forms::MouseEventArgs^ to process. |
|
overrideprotectedvirtual |
Paints this window.
e | [in,out] If non-null, the System::Windows::Forms::PaintEventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the paint background action.
e | [in,out] If non-null, the System::Windows::Forms::PaintEventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the parent changed action.
e | [in,out] If non-null, the System::EventArgs^ to process. |
|
overrideprotectedvirtual |
Executes the resize action.
e | [in,out] If non-null, the System::EventArgs^ to process. |
|
protected |
Executes the view mouse event action.
pvData | [in,out] If non-null, information describing the pv. |
pvContext | [in,out] If non-null, context for the pv. |
|
protected |
Executes the view mouse event invoked action.
xData | [in,out] If non-null, the data. |
void CLUViz::Net::ViewCtrl::PauseDrawing | ( | bool | bEnablePause | ) |
Pause drawing for short period of time. While paused, all keyboard and mouse events are blocked (and queued) until the pause is disabled.
bEnablePause | true to enable, false to disable the pause. |
|
overridevirtual |
Forces the control to invalidate its client area and immediately redraw itself.
void CLUViz::Net::ViewCtrl::ResumeLayout | ( | bool | bPerformLayout | ) |
Resumes layout. This enables resizing of CLU window.
bPerformLayout | True to perform layout and resize CLU window. |
void CLUViz::Net::ViewCtrl::SetScript | ( | System::String^ | sScript | ) |
Sets the CluViz script for this control as a string.
sScript | [in] The string containing the CluViz script content. |
void CLUViz::Net::ViewCtrl::SetScript | ( | System::String^ | sScript, |
bool | bResetEnv | ||
) |
Sets the CluViz script for this control as a string.
sScript | [in] The string containing the CluViz script content. |
bResetEnv | True to reset environment variables set by former scripts. |
void CLUViz::Net::ViewCtrl::SetVarColor | ( | System::String^ | sVarName, |
System::Drawing::Color | colValue | ||
) |
Sets the value of a CluViz color variable.
sVarName | [in] The name of the color variable. |
colValue | The color. |
void CLUViz::Net::ViewCtrl::SetVarColor | ( | System::String^ | sVarName, |
Rx::Net::Vector4D | colValue | ||
) |
Sets the value of a CluViz color variable.
sVarName | [in] The name of the color variable. |
colValue | The color. |
void CLUViz::Net::ViewCtrl::SetVarImage | ( | System::String^ | sVarName, |
Rx::InteropNet::Runtime28::IImage^ | imgValue | ||
) |
Sets the value of a CluViz image variable.
sVarName | [in] The name of the image variable. |
imgValue | [in,out] The image. |
void CLUViz::Net::ViewCtrl::SetVarNumber | ( | System::String^ | sVarName, |
int | iValue | ||
) |
Sets the value of a CluViz variable.
sVarName | [in] The name of the variable. |
iValue | The value of the variable. |
void CLUViz::Net::ViewCtrl::SetVarNumber | ( | System::String^ | sVarName, |
bool | bValue | ||
) |
Sets the value of a CluViz variable.
sVarName | [in] The name of the variable. |
bValue | The value of the variable. |
void CLUViz::Net::ViewCtrl::SetVarNumber | ( | System::String^ | sVarName, |
float | fValue | ||
) |
Sets the value of a CluViz variable.
sVarName | [in] The name of the variable. |
fValue | The value of the variable. |
void CLUViz::Net::ViewCtrl::SetVarNumber | ( | System::String^ | sVarName, |
double | dValue | ||
) |
Sets the value of a CluViz variable.
sVarName | [in] The name of the variable. |
dValue | The value of the variable. |
void CLUViz::Net::ViewCtrl::SetVarObject | ( | System::String^ | sVarName, |
Rx::Net::StdVboMoniker^ | xObject | ||
) |
Sets the value of a CluViz vertex buffer object variable.
sVarName | [in] The name of the vertex buffer object variable. |
xObject | [in,out] The vertex buffer object. |
void CLUViz::Net::ViewCtrl::SetVarString | ( | System::String^ | sVarName, |
System::String^ | sValue | ||
) |
Sets the value of a CluViz variable.
sVarName | [in] The name of the variable. |
sValue | [in] The value of the variable. |
void CLUViz::Net::ViewCtrl::SetVarStringList | ( | System::String^ | sVarName, |
array< System::String^ >^ | asValue | ||
) |
Sets the value of a CluViz variable.
sVarName | [in] The name of the variable. |
asValue | [in] The value of the variable. |
void CLUViz::Net::ViewCtrl::SetVarTensor | ( | System::String^ | sVarName, |
array< int >^ | aiDim, | ||
array< double >^ | adData | ||
) |
Sets the value of a CluViz tensor variable.
sVarName | [in] The name of the tensor. |
aiDim | [in,out] The dimensions of the tensor. |
adData | [in,out] The values of the tensor. |
void CLUViz::Net::ViewCtrl::SuspendLayout | ( | ) |
Suspends layout. This disables resizing of CLU window to achieve better performance while performing layout of windows.
void CLUViz::Net::ViewCtrl::Update | ( | ) |
Updates the visualization and waits for the completion.
void CLUViz::Net::ViewCtrl::Update | ( | bool | bWait | ) |
Updates the visualization.
bWait | True to wait for the completion. |
|
overrideprotectedvirtual |
WndProc.
m | [in,out] The System::Windows::Forms::Message % to process. |
|
get |
Gets the handle of the inner CLU view.
|
getprotected |
Adds the class styles VREDRAW, HREDRAW and OWNDC to support OpenGL rendering.
bool CLUViz::Net::ViewCtrl::FocusOnMouseOver |
Gets or sets a value indicating whether this control gets the focus on mouse over.
|
get |
Gets the shared OpenGL rendering context. Is 0 if no shared context has been created.
System:: Collections:: Generic:: List< int>^ CLUViz::Net::ViewCtrl::SyncedHandles |
Gets a list of CLU view handles that are synchronized with this view control. Mouse events of this view control are also passed to these handles.
ViewErrorEventHandler^ CLUViz::Net::ViewCtrl::ViewErrorEvent |
Occurs when the internal script throws an error.
ViewMouseEventHandler^ CLUViz::Net::ViewCtrl::ViewMouseEvent |
Occurs when the mouse interaction with the control triggers an action.
ViewMouseEventHandler^ CLUViz::Net::ViewCtrl::ViewMouseEventInvoked |
Occurs when the mouse interaction with the control triggers an action. The listeners of this events are allowed to call arbitrary script executes within the event handler.