Skip to main content
Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the 3D view.

Inheritance

object ← View ← HandledView ← View3D

Derived

View3DSpecialFit

Inherited Members

HandledView.Dispose(bool), HandledView.Handle, View.Activate(bool), View.Close(), View.Draw(), View.Resize(int, int), View.OnLButtonDblClk(uint, Point), View.OnLButtonDown(uint, Point), View.OnLButtonUp(uint, Point), View.OnMButtonDown(uint, Point), View.OnMButtonUp(uint, Point), View.OnRButtonDown(uint, Point), View.OnRButtonUp(uint, Point), View.OnMouseMove(uint, Point), View.OnMouseWheel(uint, short, Point), View.Dispose(bool), View.Dispose(), View.Document

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

View3D(UIntPtr, Document)

Initializes a new instance of the View3D class

Parameters

handleView UIntPtr The view handle. doc Document The document.

Fields

g_FrontViewPlane

Field Value

ViewPlane

g_bAdjacent

Field Value

bool

Properties

BackgroundColor

Gets the color of background.

Property Value

View3D.ViewBackgroundColor

IsPropertySupport

Property Value

bool

Perspective

Gets or sets the perspective.

Property Value

bool

RenderMode

Gets or sets the rendering mode.

Property Value

View3D.RenderingMode

Shadow

Gets or sets the shadow.

Property Value

bool

Methods

Activate(bool)

Activate view.

Parameters

bActivate bool

Close()

Close view.

Dispose(bool)

Parameters

A_0 bool

Draw()

Draw.

Fit()

Fit

FitCore()

Fits the core.

GetCursorMode()

Get cursor mode .

Returns

View3D.CursorMode The cursor mode.

GetData(XmlNode)

Gets the view3d information data.

Parameters

writer XmlNode The writer.

GetModelBoundingBox(ref VectorBase, ref VectorBase)

Gets the bounding box of model.

Parameters

vecMin VectorBase The min value of bounding box. vecMax VectorBase The max value of bounding box.

Returns

bool

GetPopupMenuResult()

Get result for popup menu.

Returns

int The result.

GetSpecialMenuResult()

Get result for special menu.

Returns

int The result.

GetUseFaceNormal()

Get face normal.

Returns

bool The use.

IsDefaultOperation()

Whether default or not for orientation.

Returns

bool true if default; otherwise, false.

OnContextMenu()

Called when [show context menu].

OnLButtonDblClk(uint, Point)

Called when [L-button double click].

Parameters

nFlags uint point Point

OnLButtonDown(uint, Point)

Called when [L-button down].

Parameters

nFlags uint point Point

OnLButtonUp(uint, Point)

Called when [L-button up].

Parameters

nFlags uint point Point

OnMButtonDown(uint, Point)

Called when [M-button down].

Parameters

nFlags uint point Point

OnMButtonUp(uint, Point)

Called when [M-button up].

Parameters

nFlags uint point Point

OnMouseMove(uint, Point)

Called when [mouse move].

Parameters

nFlags uint point Point

OnMouseWheel(uint, short, Point)

Called when [use mouse wheel].

Parameters

nFlags uint zDelta short pt Point

OnRButtonDown(uint, Point)

Called when [R-button down].

Parameters

nFlags uint point Point

OnRButtonUp(uint, Point)

Called when [R-button up].

Parameters

nFlags uint point Point

Resize(int, int)

Re-size.

Parameters

nWidth int The width. nHeight int The height.

SetData(XmlNode)

Sets the view3d information data.

Parameters

reader XmlNode The reader.

SetPopupMenuResult(int)

Parameters

nResult int

SetSpecialMenuResult(int)

Set result for special menu.

Parameters

nResult int The result.

SetSurfaceTolerance(double)

Set surface tolerance.

Parameters

dSurfaceTolerance double The surface tolerance.

SetUseFaceNormal(bool)

Set face normal.

Parameters

bNormal bool The use.

SetViewMode(ViewMode)

Set mode of view.

Parameters

mode View3D.ViewMode The view mode.

TransformCamera(TMatrix)

Transform.

Parameters

mat TMatrix The transform.