MeshModel Class |
Namespace: Arction.WinForms.Charting.Views.View3D
The MeshModel type exposes the following members.
| Name | Description | |
|---|---|---|
| MeshModel |
Constructor.
| |
| MeshModel(View3D) |
Constructor. Use primary axis for axis binding.
| |
| MeshModel(View3D, Axis3DBinding, Axis3DBinding, Axis3DBinding) |
Constructor.
|
| Name | Description | |
|---|---|---|
| AllowUserInteraction |
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.) | |
| Cull |
Face culling determines which faces are not rendered based on their winding order. If model show wrong faces, culling may be an issue.
| |
| Fill |
Render as filled.
| |
| Highlight |
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.) | |
| ModelFileName |
Model file name.
| |
| Position |
Position (offset) in axis values.
| |
| RenderingOrder |
Sets MeshModel's rendering order in relation to other series.
| |
| Rotation |
Rotating angles, in degrees
| |
| ShadeMode |
MeshModel shading mode.
| |
| Size |
Scaling factor.
| |
| TrackTriangle |
Enable sending events of model face tracking.
| |
| Wireframe |
Render as wireframe.
| |
| WireframeLineColor |
Wireframe color.
| |
| Visible |
Visible.
| |
| XAxisBinding |
X axis binding
| |
| YAxisBinding |
Y axis binding
| |
| ZAxisBinding |
Z axis binding
|
| Name | Description | |
|---|---|---|
| Create(PointFloat3D, Int32) |
Create a mesh model from positions and optionally colors.
| |
| Create(PointFloat3D, Int32, PointFloat3D, Int32) |
Create a mesh model from positions, colors, normals and optional indices.
| |
| Create(PointFloat3D, PointFloat, Image, TextureWrapMode, Int32) |
Create a mesh model from positions, texture coordinates, bitmap and optional indices.
| |
| Create(PointFloat3D, PointFloat3D, PointFloat, Image, TextureWrapMode, Int32) |
Create a mesh model from positions, normals, texture coordinates, bitmap and optional indices.
| |
| CreateFromTriangles(PointFloat3D, Color, PointFloat3D) |
Create a mesh model from positions and colors. Positions must be triplets of triangle points and each color in input is color of each triangle.
| |
| CreateFromTriangles(PointFloat3D, Int32, PointFloat3D) |
Create a mesh model from positions and colors. Positions must be triplets of triangle points and each color in input is color of each triangle.
| |
| Dispose |
Release all resources used by this instance.
(Inherited from ChartNode.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsHighlighted |
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.) | |
| IsPositionOver |
Is position over item.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean).) | |
| LoadFromFile |
Load from obj format file (.obj).
| |
| LoadFromResource |
Load from obj format resource.
| |
| LoadFromStream |
Load from obj file stream (.obj).
| |
| RemoveHighlight |
Removes forced highlighting.
(Inherited from HighlightingItemBase.) | |
| SetHighlight |
Highlights the object.
(Inherited from HighlightingItemBase.)This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set. | |
| SetProperCursor |
Set proper drag cursor. Default is hand.
(Inherited from UserInteractiveObject.) | |
| ToString |
Convert class description to string
(Overrides HighlightingItemBaseToString.) | |
| UpdateFillBitmap |
Update mesh bitmap, without reconstructing the geometry.
| |
| UpdateFillColors |
Update mesh colors. The color order must be identical with GeometryConstructed event vertex array.
| |
| UpdateWireframeColors |
Update mesh wireframe colors. The color order must be identical with GeometryConstructed event vertex array.
|
| Name | Description | |
|---|---|---|
| GeometryConstructed |
Geometry has been constructed.
| |
| HighlightedStateChanged |
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.) | |
| MouseClick |
Mouse button has been clicked.
(Inherited from UserInteractiveObject.) | |
| MouseDoubleClick |
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.) | |
| MouseDown |
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.) | |
| MouseOverOff |
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.) | |
| MouseOverOn |
Mouse has been moved over object.
(Inherited from UserInteractiveObject.) | |
| MouseUp |
Mouse button has been released.
(Inherited from UserInteractiveObject.) | |
| TriangleTraced |
User has traced a triangle of mesh with user interactive device.
|
| Name | Description | |
|---|---|---|
| Tag |
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.) |