Click or drag to resize

FrameAspect Class

An aspect which allows a Frame to be added to a visual, in order to support calculations using alternative coordinate systems.
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    NotifyPropertyChangedBase
      SimpleCustomTypeDescriptor
        GlobalizedProperties
          Demo3D.CommonBindableBase
            Demo3D.VisualsSerializableObject
              Demo3D.VisualsAspectComponentBase
                Demo3D.VisualsVisualAspect
                  Demo3D.VisualsBindableVisualAspect
                    Demo3D.VisualsExportableVisualAspect
                      Demo3D.Visuals.FramesFrameAspect

Namespace: Demo3D.Visuals.Frames
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.01.00
Syntax
C#
public class FrameAspect : ExportableVisualAspect, 
	ISerializableObjectContainer

The FrameAspect type exposes the following members.

Constructors
 NameDescription
Public methodFrameAspect Initializes a new instance of the FrameAspect class.
Top
Properties
 NameDescription
Public propertyAngleUnit The units to use for the rotation properties, or null if the global default is to be used.
Public propertyAngleUnitResolved Gets the selected angle unit, falling back to the global default if none is specified.
Protected propertyapp
(Inherited from VisualAspect)
Public propertyAspectManagedBy The Aspect that this is managed by.
(Inherited from AspectComponentBase)
Public propertyAxesScale The scale factor for rendering the axes.
Public propertyAxesVisibility Whether the axes are displayed all the time, or only when then visual is selected.
Protected propertyBindingInterface
(Inherited from BindableVisualAspect)
Public propertyBindingNameStore Manages binding names for aspect bindable items.
(Inherited from AspectComponentBase)
Public propertyCoordinateSystem The coordinate system that the frame is using.
Public propertyDisplayComponents The set of axes components to display.
Public propertyDistanceUnit The units to use for the location properties, or null if the global default is to be used.
Public propertyDistanceUnitResolved Gets the selected distance unit, falling back to the global default if none is specified.
Protected propertydocument
(Inherited from VisualAspect)
Public propertyEulerConvention The Euler angle convention used by the FrameRotation property.
Public propertyFrame The underlying Frame instance that this FrameAspect is using.
Public propertyFrameLocation The location of the frame, relative to its parent, using this frame's coordinate system.
Public propertyFrameRotation The rotation of the frame, relative to its parent, using this frame's coordinate system.
Public propertyId
(Inherited from SerializableObject)
Public propertyIgnoreZoom Whether to render the axes at a fixed size (determined by AxesScale) regardless of the level of zoom.
Public propertyIsCollapsed Collapse or expand the aspect in the Aspect Viewer.
(Inherited from AspectComponentBase)
Public propertyIsEnabled The value for whether the aspect is enabled.
(Inherited from AspectComponentBase)
Public propertyIsLocked Whether this frame's location and rotation are locked, and cannot be changed.
Public propertyIsReadOnly When true, disable editing in the Aspect Viewer
(Inherited from AspectComponentBase)
Public propertyIsReferenceParentLocal Indicates whether PositionReference is set to FrameAspectPositionReference.ParentLocal.
Public propertyIsReferenceParentNative Indicates whether PositionReference is set to FrameAspectPositionReference.ParentNative.
Public propertyIsReferenceWorldNative Indicates whether PositionReference is set to FrameAspectPositionReference.WorldNative.
Public propertyLocation The location of the frame, relative to its parent, using the Emulate3D coordinate system.
Public propertyName The name of this frame.
(Overrides AspectComponentBase.Name)
Public propertyParent The parent frame or visual for this frame.
Public propertyPositionReference Selects which set of location/rotation controls are displayed in the GUI.
Public propertyRenderOnTop Whether the axes are rendered on top of the scene, so they are always visible.
Public propertyRotation The rotation of the frame, relative to its parent, using the Emulate3D coordinate system.
Public propertySphereColor The color of the sphere at the axes' origin.
Public propertyType A custom string to identify the type of frame.
Public propertyVisual
(Inherited from VisualAspect)
Public propertyWorldLocation The location of the frame, relative to the scene, using Emulate3D's coordinate system.
Public propertyWorldRotation The rotation of the frame, relative to the scene, using Emulate3D's coordinate system.
Top
Methods
 NameDescription
Public methodBindingName Retrieves or generates a binding name for an aspect property.
(Inherited from AspectComponentBase)
Protected methodCanAdd Determine whether the aspect can be added to the AspectContainer.
(Inherited from AspectComponentBase)
Protected methodCleanupBindingAPI Remove all bindable items that have been added to the binding api via UpdateBindingAPI.
(Inherited from AspectComponentBase)
Public methodCreateManagedAspectT Create a managed aspect of the desired type in this aspect's container. The managed aspect will be owned by the declared aspect.
(Inherited from AspectComponentBase)
Public methodFindAspectT Find an aspect of the desired type in this aspect's container.
(Inherited from AspectComponentBase)
Public methodFindCreateAspectT Find or, if one isn't found, create an aspect of the desired type in this aspect's container.
(Inherited from AspectComponentBase)
Public methodFindCreateManagedAspectT Find or, if one isn't found, create a managed aspect of the desired type in this aspect's container. The managed aspect will be owned by the declared aspect.
(Inherited from AspectComponentBase)
Protected methodOnAdded Sets up the aspect.
(Overrides AspectComponentBaseOnAdded)
Protected methodOnAssigned
(Inherited from BindableVisualAspect)
Protected methodOnDisabled
(Inherited from ExportableVisualAspect)
Protected methodOnEnabled
(Inherited from ExportableVisualAspect)
Protected methodOnInitialize Called when the aspect container is Initialized, this should never be invoked manually
(Inherited from AspectComponentBase)
Protected methodOnRemoved Unsubscribes from event handlers.
(Overrides AspectComponentBaseOnRemoved)
Protected methodOnReset Called when the aspect container is Reset, this should never be invoked manually
(Inherited from AspectComponentBase)
Protected methodprint
(Inherited from VisualAspect)
Public methodRaisePropertiesChanged Raise an PropertyChanged event for each value.
(Inherited from BindableBase)
Public methodRaisePropertyChanged(PropertyChangedEventArgs) Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase)
Public methodRaisePropertyChanged(String) Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase)
Public methodReleaseBindingName Releases the generated binding name for an aspect property.
(Inherited from AspectComponentBase)
Public methodRemoveAspect(Object) Remove the desired aspect from this aspect's container.
(Inherited from AspectComponentBase)
Public methodRemoveAspectT Remove the aspect of the desired type from this aspect's container.
(Inherited from AspectComponentBase)
Public methodRemoveManagedAspects Remove all aspects that are being managed by this aspect..
(Inherited from AspectComponentBase)
Public methodSerializableDependency(SerializableObject) Whether the specified object depends on the serializable object.
(Inherited from AspectComponentBase)
Obsolete
Public methodSerializableDependency(Visual) Whether the specified visual depends on the serializable object.
(Inherited from AspectComponentBase)
Obsolete
Protected methodSetINotifyPropertyChangedPropertyT Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event. Property changes on the new value are also listened to and, if one occurs, the propertyChangedCallback handler will be invoked.
(Inherited from BindableBase)
Protected methodSetPropertyT(T, T, PropertyChangedEventArgs) Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event.
(Inherited from BindableBase)
Protected methodSetPropertyT(T, T, String) Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event.
(Inherited from BindableBase)
Public methodToString
(Inherited from AspectComponentBase)
Protected methodUpdateBindingAPI If this aspect implements IBindableItemOwner, this method performs the following for each BindableItem:
If the aspect is disabled OR the item is not part of the binding interface (see IsBindingInterface), then remove it from the binding API.
Otherwise, if the item is part of the binding interface AND the item does not already have a declared binding (see HasBindingInterface), add the item to the binding API.
Any bindable items that are added to the binding API will appear in the IO browser grid and can be further utilized for controls testing.
(Inherited from AspectComponentBase)
Protected methodUpdateBindingInterface
(Inherited from BindableVisualAspect)
Protected methodvector
(Inherited from VisualAspect)
Top
Events
 NameDescription
Public eventIsEnabledChanged Occurs when the value of IsEnabled changes.
(Inherited from AspectComponentBase)
Public eventOnNameChanged Occurs when the Name of an aspect changes.
(Inherited from AspectComponentBase)
Top
See Also