Click or drag to resize

MeshModel Class

LightningChart .NET Help
Mesh model.
Inheritance Hierarchy

Namespace:  Arction.Wpf.ChartingMVVM.Views.View3D
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public class MeshModel : HighlightingItemBase

The MeshModel type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowUserInteraction
Gets or sets if user interaction is allowed. This is a dependency property.
(Inherited from UserInteractiveObject.)
Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyCull
Face culling determines which faces are not rendered based on their winding order. If model show wrong faces, culling may be an issue. This is a dependency property.
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyFill
Render as filled. This is a dependency property.
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code. This is a dependency property.
(Inherited from HighlightingItemBase.)
Public propertyIsFrozen
Gets a value that indicates whether the object is currently modifiable.
(Inherited from Freezable.)
Public propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyModelFile
Gets or sets model file name. This is a dependency property.
Public propertyPosition
Gets or sets position (offset), in axis values. This is a dependency property.
Public propertyRenderingOrder
Sets MeshModel's rendering order in relation to other series.
Public propertyRotation
Gets or sets rotating angles, in degrees. This is a dependency property.
Public propertyShadeMode
MeshModel shading mode. This is a dependency property.
Public propertySize
Gets or sets scaling factor. This is a dependency property.
Public propertyTrackTriangle
Enable sending events of model face tracking. This is a dependency property.
Public propertyWireframe
Render as wireframe. This is a dependency property.
Public propertyWireframeLineColor
Wireframe color. This is a dependency property.
Public propertyVisible
Gets or sets if model is visible. This is a dependency property.
Public propertyXAxisBinding
Gets or sets X axis binding. This is a dependency property.
Public propertyYAxisBinding
Gets or sets Y axis binding. This is a dependency property.
Public propertyZAxisBinding
Gets or sets Z axis binding. This is a dependency property.
Top
Methods
  NameDescription
Public methodClearValue(DependencyProperty)
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodClearValue(DependencyPropertyKey)
Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.
(Inherited from DependencyObject.)
Public methodClone
Creates a modifiable clone of the Freezable, making deep copies of the object's values. When copying the object's dependency properties, this method copies expressions (which might no longer resolve) but not animations or their current values.
(Inherited from Freezable.)
Public methodCloneCurrentValue
Creates a modifiable clone (deep copy) of the Freezable using its current values.
(Inherited from Freezable.)
Public methodCoerceValue
Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.
(Inherited from DependencyObject.)
Public methodCreate(PointFloat3D, Int32)
Create a mesh model from positions and optionally colors.
Public methodCreate(PointFloat3D, Int32, PointFloat3D, Int32)
Create a mesh model from positions, colors, normals and optional indices.
Public methodCreate(PointFloat3D, PointFloat, BitmapFrame, TextureWrapMode, Int32)
Create a mesh model from positions, texture coordinates, bitmap and optional indices.
Public methodCreate(PointFloat3D, PointFloat3D, PointFloat, BitmapFrame, TextureWrapMode, Int32)
Create a mesh model from positions, normals, texture coordinates, bitmap and optional indices.
Public methodCreateFromTriangles(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.
Public methodCreateFromTriangles(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.
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether a provided DependencyObject is equivalent to the current DependencyObject.
(Inherited from DependencyObject.)
Public methodFreeze
Makes the current object unmodifiable and sets its IsFrozen property to true.
(Inherited from Freezable.)
Public methodGetAsFrozen
Creates a frozen copy of the Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetCurrentValueAsFrozen
Creates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetHashCode
Gets a hash code for this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetLocalValueEnumerator
Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Public methodInvalidateProperty
Re-evaluates the effective value for the specified dependency property
(Inherited from DependencyObject.)
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Is position over item.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean).)
Public methodLoadFromFile
Load from obj format file (.obj).
Public methodLoadFromResource
Load from obj format resource.
Public methodLoadFromStream
Load from obj file stream (.obj).
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodSetCurrentValue
Sets the value of a dependency property without changing its value source.
(Inherited from DependencyObject.)
Public methodSetHighlight
Highlights the object.

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.

(Inherited from HighlightingItemBase.)
Public methodSetProperCursor
Set proper drag cursor. Default is hand.
(Inherited from UserInteractiveObject.)
Public methodSetValue(DependencyProperty, Object)
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodSetValue(DependencyPropertyKey, Object)
Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Inherited from DependencyObject.)
Public methodToString
Convert class description to string
(Overrides HighlightingItemBaseToString.)
Public methodUpdateFillBitmap
Update mesh bitmap, without reconstructing the geometry.
Public methodUpdateFillColors
Update mesh colors. The color order must be identical with GeometryConstructed event vertex array.
Public methodUpdateWireframeColors
Update mesh wireframe colors. The color order must be identical with GeometryConstructed event vertex array.
Top
Events
  NameDescription
Public eventChanged
Occurs when the Freezable or an object it contains is modified.
(Inherited from Freezable.)
Public eventGeometryConstructed
Geometry has been constructed.
Public eventHighlightedStateChanged
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.)
Public eventMouseClick
Mouse button has been clicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDoubleClick
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDown
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOff
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOn
Mouse has been moved over object.
(Inherited from UserInteractiveObject.)
Public eventMouseUp
Mouse button has been released.
(Inherited from UserInteractiveObject.)
Public eventTriangleTraced
User has traced a triangle of mesh with user interactive device.
Top
Fields
  NameDescription
Public fieldStatic memberCullingProperty
Identifies the Cull dependency property.
Public fieldStatic memberFillProperty
Identifies the Fill dependency property.
Public fieldStatic memberMeshModelRenderingOrderProperty
Identifies the MeshModelRenderingOrderProperty
Public fieldStatic memberModelFileProperty
Identifies the ModelFile dependency property.
Public fieldStatic memberPositionProperty
Identifies the Position dependency property.
Public fieldStatic memberRotationProperty
Identifies the Rotation dependency property.
Public fieldStatic memberShadeModeProperty
Identifies the ShadeModeProperty
Public fieldStatic memberSizeProperty
Identifies the Size dependency property.
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Public fieldStatic memberTrackTriangleProperty
Identifies the TrackTriangle dependency property.
Public fieldStatic memberWireframeLineColorProperty
Identifies the WireframeLineColor dependency property.
Public fieldStatic memberWireframeProperty
Identifies the Wireframe dependency property.
Public fieldStatic memberVisibleProperty
Identifies the Visible dependency property.
Public fieldStatic memberXAxisBindingProperty
Identifies the XAxisBinding dependency property.
Public fieldStatic memberYAxisBindingProperty
Identifies the YAxisBinding dependency property.
Public fieldStatic memberZAxisBindingProperty
Identifies the ZAxisBinding dependency property.
Top
See Also