Axis |
public class AxisWith3DLabelsVisual3D : BaseAxisWithLabelsVisual3D, IDisposable
The AxisWith3DLabelsVisual3D type exposes the following members.
Name | Description | |
---|---|---|
AxisWith3DLabelsVisual3D | Constructor | |
AxisWith3DLabelsVisual3D(String) | Constructor |
Name | Description | |
---|---|---|
AdjustFirstLabelPosition | When true, then the first label is moved up to prevent overlapping the first label with adjacent axis. The amount of movement is calculated by multiplying font size and the LabelAdjustmentFactor (0.45 by default). Default value is false. | |
AdjustLastLabelPosition | When true, then the last label is moved down to prevent overlapping the last label with adjacent axis. The amount of movement is calculated by multiplying font size and the LabelAdjustmentFactor (0.45 by default). Default value is false. | |
AxisTitleTextBlockVisual3D | Gets TextBlockVisual3D that shows axis title. | |
CustomizeValueLabelAction | When set, this action is called so the user can customize the TextBlockVisual3D before it is added to the axis. The first parameter is the index of the value label, the second is the TextBlockVisual3D. | |
TitleRenderBitmapSize | Gets or sets a Size that is used as the RenderBitmapSize in the TextBlockVisual3D object that is used to render the axis title. When Ab3d.DXEngine assembly is present in the application, then the default value is set to (512, 64); otherwise the default value is Size.Empty that uses VisualBrush to render the text. To set Size for rendered value labels set the ValueLabelsRenderBitmapSize. | |
ValueLabelsParentModelVisual3D | Gets ContentVisual3D that is a parent Visual3D object and stores all TextBlockVisual3D objects used to show value labels. | |
ValueLabelsRenderBitmapSize | Gets or sets a Size that is used as the RenderBitmapSize in all used TextBlockVisual3D objects that display value labels. When Ab3d.DXEngine assembly is present in the application, then the default value is set to (128, 64); otherwise the default value is Size.Empty that uses VisualBrush to render the text. To set Size for rendered axis title set the TitleRenderBitmapSize. |
Name | Description | |
---|---|---|
Clone | Returns a new AxisWithLabelsVisual3D that is a clone of this AxisWithLabelsVisual3D. | |
Dispose | Dispose method frees the TextBlockVisual3D objects that are created by this AxisWith3DLabelsVisual3D. | |
OnAxisTitleSettingsChanged |
OnAxisTitleSettingsChanged method must be implemented by a derived class. The method is called when the font settings for axis title is changed.
(Overrides BaseAxisWithLabelsVisual3DOnAxisTitleSettingsChanged(DependencyPropertyChangedEventArgs)) | |
OnCameraChanged |
OnCameraChanged method is called when the camera is changed. The method can be overriden in a derived class.
(Overrides BaseAxisWithLabelsVisual3DOnCameraChanged) | |
OnIsVisibleChanged |
OnIsVisibleChanged is called when the value of IsActuallyVisible property is changed.
(Overrides BaseAxisWithLabelsVisual3DOnIsVisibleChanged(Boolean)) | |
OnTicksPositionsChanged |
OnTicksPositionsChanged method must be implemented by a derived class. The method is called when the tick positions are changed.
(Overrides BaseAxisWithLabelsVisual3DOnTicksPositionsChanged) | |
OnUpdate |
OnUpdate method must be implemented by a derived class. The method is called when the Update method is called and should update the axis.
(Overrides BaseAxisWithLabelsVisual3DOnUpdate) | |
OnValueLabelsFontSettingsChanged |
OnValueLabelsFontSettingsChanged method must be implemented by a derived class. The method is called when the font settings for value labels is changed.
(Overrides BaseAxisWithLabelsVisual3DOnValueLabelsFontSettingsChanged(DependencyPropertyChangedEventArgs)) |
Name | Description | |
---|---|---|
AdjustFirstLabelPositionProperty | AdjustFirstLabelPositionProperty | |
AdjustLastLabelPositionProperty | AdjustLastLabelPositionProperty | |
LabelAdjustmentFactor | Gets or sets a double that specifies a factor that is multiplied by FontSize and used to adjust the position of the first or last label when AdjustFirstLabelPosition or are used. |
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) |