Interface ICamApiViewPort
View port interface: a rendering surface hosted in a caller window. Many
viewports can belong to one view manager and all draw its shared set of
visual objects. Created via ICamApiVisualisationFactory.CreateViewPort.
Assembly: CAMAPI.ViewPort.dll
Syntax
[Guid("856044DC-0487-4609-888E-CC19F053C3AE")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiViewPort
Properties
Cube
Declaration
ICamApiViewCube Cube { get; }
Property Value
Matrix
View port transformation matrix. Setting this property changes the view immediately.
Declaration
TST3DMatrix Matrix { get; set; }
Property Value
ScaleFactor
Declaration
double ScaleFactor { get; }
Property Value
ViewBox
View port bounding box. Setting this property changes the view immediately.
Declaration
TST2DBox ViewBox { get; set; }
Property Value
ViewManager
The view manager that owns this viewport's scene. All viewports of the
same manager render the same visual objects. This is the only way to
reach ENCY's main scene: ICamApiApplicationMainForm.MainViewPort.ViewManager.
Declaration
ICamApiViewManager ViewManager { get; }
Property Value
ViewMode
Declaration
TViewPortViewMode ViewMode { get; }
Property Value
Methods
SaveImage(string, int, int)
Declaration
bool SaveImage(string FilePath, int Width, int Height)
Parameters
Returns
SetMatrixFluently(TST3DMatrix)
Declaration
void SetMatrixFluently(TST3DMatrix Matrix)
Parameters
SetViewBoxFluently(TST2DBox)
Declaration
void SetViewBoxFluently(TST2DBox Box)
Parameters
ZoomAll(bool)
Declaration
void ZoomAll(bool Fluently)
Parameters
| Type |
Name |
Description |
| bool |
Fluently |
|