A view image depth 3D tool.
Inherits CLUViz::Net::ViewToolBase.
Public Member Functions | |
ViewImageDepth3dTool () | |
Default constructor. More... | |
ViewImageDepth3dTool (ViewCtrl^ xViewCtrl) | |
Constructor that attaches to the given view control. See AttachTo. More... | |
void | AttachTo (ViewCtrl^ xViewCtrl) |
Attaches to the given view control. Detaches from last view control by calling Detach. Loads the provided tool script. More... | |
void | Clear () |
Clears this object to its blank/initial state. More... | |
ViewCtrl^ | Detach () |
Detaches this ViewToolBase from the last view control. This resets the loaded script and makes this class invalid. More... | |
void | SetImageDepth (Rx::InteropNet::Runtime28::IImage^ imgTexture, Rx::InteropNet::Runtime28::IImage^ imgDepth, double dObjectWidth, double dObjectScale, double dDepthMin, double dDepthMax) |
Sets the image depth. More... | |
Protected Member Functions | |
virtual | ~ViewImageDepth3dTool () |
Destructor. More... | |
void | _Init () |
Initializes this object. More... | |
virtual void | _LoadToolScript () override |
Loads the internal tool script. More... | |
Protected Attributes | |
Rx::Net::StdVboMoniker^ | m_xObject |
The standard VBO moniker More... | |
ViewCtrl^ | m_xViewCtrl |
The view control More... | |
Properties | |
int | CircleEdgeCount |
Gets or sets the number of edges that describes a circle. The higher the number the slower the drawing. Default: 32. More... | |
bool | IsValid [get] |
Gets a value indicating whether this ViewToolBase is valid. This base is valid if ViewToolBase or AttachTo has been called with a valid reference to a ViewCtrl. More... | |
System::Double | UnitsPerMM [get, set] |
Gets or sets a factor that is applied to each vertex. Default is 1. More... | |
ViewCtrl^ | ViewControl [get] |
Gets the view control that has this ViewToolBase attached. More... | |
CLUViz::Net::ViewImageDepth3dTool::ViewImageDepth3dTool | ( | ) |
Default constructor.
To make the instance valid, you have to call AttachTo with a valid reference to a view control.
CLUViz::Net::ViewImageDepth3dTool::ViewImageDepth3dTool | ( | ViewCtrl^ | xViewCtrl | ) |
Constructor that attaches to the given view control. See AttachTo.
xViewCtrl | [in] The view control to attach to. |
|
protectedvirtual |
Destructor.
|
protected |
Initializes this object.
|
overrideprotectedvirtual |
Loads the internal tool script.
Implements CLUViz::Net::ViewToolBase.
|
inherited |
Attaches to the given view control. Detaches from last view control by calling Detach. Loads the provided tool script.
xViewCtrl | [in] The view control. |
void CLUViz::Net::ViewImageDepth3dTool::Clear | ( | ) |
Clears this object to its blank/initial state.
|
inherited |
Detaches this ViewToolBase from the last view control. This resets the loaded script and makes this class invalid.
void CLUViz::Net::ViewImageDepth3dTool::SetImageDepth | ( | Rx::InteropNet::Runtime28::IImage^ | imgTexture, |
Rx::InteropNet::Runtime28::IImage^ | imgDepth, | ||
double | dObjectWidth, | ||
double | dObjectScale, | ||
double | dDepthMin, | ||
double | dDepthMax | ||
) |
Sets the image depth.
imgTexture | [in] The texture image. |
imgDepth | [in] The depth image. |
dObjectWidth | Width of the object. |
dObjectScale | The object scale. |
dDepthMin | The minimum depth. |
dDepthMax | The maximum depth. |
|
protectedinherited |
The standard VBO moniker
|
protectedinherited |
The view control
|
inherited |
Gets or sets the number of edges that describes a circle. The higher the number the slower the drawing. Default: 32.
|
getinherited |
Gets a value indicating whether this ViewToolBase is valid. This base is valid if ViewToolBase or AttachTo has been called with a valid reference to a ViewCtrl.
|
getset |
Gets or sets a factor that is applied to each vertex. Default is 1.
|
getinherited |
Gets the view control that has this ViewToolBase attached.