Model |
public class ModelScalarVisual3D : ModelVisual3D
The ModelScalarVisual3D type exposes the following members.
Name | Description | |
---|---|---|
ModelScalarVisual3D | Initializes a new instance of the ModelScalarVisual3D class. | |
ModelScalarVisual3D(Vector3D, Vector3D, Vector3D, String) | Initializes a new instance of the ModelScalarVisual3D class with providing custom axes. |
Name | Description | |
---|---|---|
AxisLength | Gets or sets the length of axes that are shown by ModelMover. Default value is 100. | |
CenterBoxColor | Gets or sets the color of center box. | |
CenterBoxScaleScreenDirection | Gets or sets a Vector that specifies in which direction (in screen coordinates) the center box scales the model up. Note that (0, 0) at top left so positive y direction is down. It is possible to increase or decrease the length of this vector to increase or decrease the speed of scaling when using the center box. Default value is up (0, -1). | |
CenterBoxWidth | Gets or sets the radius of the box at the end of the scalar box. | |
InnerBoxWidth | Gets or sets the radius of the inner box. | |
IsCenterBoxShown | Gets or sets a Boolean that specifies if the X axis is shown. Default value is true. | |
IsXAxisShown | Gets or sets a Boolean that specifies if the X axis is shown. Default value is true. | |
IsYAxisShown | Gets or sets a Boolean that specifies if the Y axis is shown. Default value is true. | |
IsZAxisShown | Gets or sets a Boolean that specifies if the Z axis is shown. Default value is true. | |
OuterBoxWidth | Gets or sets the radius of the box at the end of the scalar box. | |
Position | Gets or sets Point3D that specifies the position of the ModelScalar axis origin. | |
ScaleX | Gets a double that specifies the amount of scale in X direction. | |
ScaleY | Gets a double that specifies the amount of scale in Y direction. | |
ScaleZ | Gets a double that specifies the amount of scale in Z direction. | |
SelectedCursor | Gets or sets a Cursor that is shown when mouse is over the arrow. If set to null, cursor is not changed. Default value is Hand. | |
SelectedMaterial | Gets or sets a Material that is used when mouse is over the arrow. If set to null, the arrow material is not changed. Default value is Yellow DiffuseMaterial. | |
XAxisColor | Gets or sets the color of X axis. | |
YAxisColor | Gets or sets the color of Y axis. | |
ZAxisColor | Gets or sets the color of Z axis. |
Name | Description | |
---|---|---|
OnModelScaled | OnModelScaled | |
OnModelScaledStarted | OnModelScaledStarted | |
OnModelScaleEnded | OnModelScaleEnded | |
SetRotation | SetRotation rotates the ModelMoverVisual3D by the specified RotateTransform3D. When set to null, then rotation is removed from the ModelMoverVisual3D. | |
SubscribeWithEventManager3D | SubscribeWithEventManager3D method can be used to use EventManager3D for mouse events processing instead of using UIElement3D for mouse events. This can be used when ModelMoverVisual3D is used inside Ab3d.DXEngine that does not support processing events on UIElement3D objects. In this case the CustomEventsSourceElement on EventManager3D must be set. |
Name | Description | |
---|---|---|
ModelScaled | ModelScaled event is fired when model is scaled. | |
ModelScaleEnded | ModelScaleEnded event is fired when scaling of the model is stopped. | |
ModelScaleStarted | ModelScaleStarted event is fired when scaling of the model is started. |
Name | Description | |
---|---|---|
AxisLengthProperty | AxisLengthProperty | |
CenterBoxColorProperty | CenterBoxColorProperty | |
CenterBoxScaleScreenDirectionProperty | CenterBoxScaleScreenDirectionProperty | |
CenterBoxWidthProperty | CenterBoxWidthProperty | |
DefaultXAxis | X axis that is used by the default constructor (without any parameters or when defined in XAML). | |
DefaultYAxis | Y axis that is used by the default constructor (without any parameters or when defined in XAML). | |
DefaultZAxis | Z axis that is used by the default constructor (without any parameters or when defined in XAML). | |
InnerBoxWidthProperty | InnerBoxWidthProperty | |
IsCenterBoxShownProperty | IsCenterBoxShownProperty | |
IsXAxisShownProperty | IsXAxisShownProperty | |
IsYAxisShownProperty | IsYAxisShownProperty | |
IsZAxisShownProperty | IsXAxisShownProperty | |
OuterBoxWidthProperty | OuterBoxWidthProperty | |
PositionProperty | PositionProperty | |
XAxisColorProperty | XAxisColorProperty | |
YAxisColorProperty | YAxisColorProperty | |
ZAxisColorProperty | ZAxisColorProperty |
Name | Description | |
---|---|---|
DumpHierarchy |
Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions) | |
ForEachGeometryModel3D |
Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.
(Defined by Extensions) | |
ForEachVisual3D |
Performs the specified action on each ModelVisual3D inside the rootModelVisual3D.
(Defined by Extensions) | |
GetName |
Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions) | |
SetName |
Sets Name property to Visual3D. Note that if name is not correct for WPF, it can be corrected (name must start with a letter or the underscore character (_), and must contain only letters, digits, or underscores).
In this case the SetName method will set the corrected name to the object and return false (in this case you can call GetName to get the corrected name). True is returned when the original name is set to the object.
(Defined by Extensions) |