Camera3D Class |
Defines how and from what direction the world is seen from.
Namespace: Arction.Wpf.ChartingMVVM.Views.View3D
The Camera3D type exposes the following members.
| Name | Description | |
|---|---|---|
| Camera3D |
Constructor.
| |
| Camera3D(View3DBase) |
Constructor.
|
| Name | Description | |
|---|---|---|
| CanFreeze | Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.) | |
| DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) | |
| Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
| FieldOfViewAngle |
Field of view, that is, perspective angle.
| |
| IsFrozen | Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.) | |
| IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) | |
| MinimumViewDistance |
Gets or sets minimum View distance. This is a dependency property. Limits the adjust range of ViewDistance.
In some cases, you don't want to let the user set the camera too near.
| |
| OrientationMode |
Type of orientation angle definition used in camera orientation.
This is a Dependency Property.
This affects how on the orientation angles (RotationX, RotationY and RotationZ) are interpreted and how do they affect the camera orientation / position. See OrientationModes for more detailed description of options. | |
| Projection |
Gets or sets camera projection type. This is a dependency property.
| |
| RotationX |
Part of defining camera orientation and position, by setting its
looking direction
rotation around X-axis (pitch, elevation) in degrees.
This is a dependency property.
Selected Orientation mode (OrientationMode) defines how the value affects camera orientation and position. See OrientationModes enumeration for more information. RotationY and RotationZ needs to be set as well for defining camera orientation. The rotation values are taken into account on a specific order, NOT on the order they are set. In some orientation modes setting this value causes user device horizontal rotation axis to be set. | |
| RotationXMaximum |
Maximum allowed value of RotationX property.
This can be used to limit camera orientation / location to some specific area. | |
| RotationXMinimum |
Minimum allowed value of RotationX property.
This can be used to limit camera orientation / location to some specific area. | |
| RotationY |
Part of defining camera orientation and position, by setting its
looking direction
rotation around Y-axis (Yaw, Heading, Bearing) in degrees.
This is a dependency property.
Selected Orientation mode (OrientationMode) defines how the value affects camera orientation and position. See OrientationModes enumeration for more information. RotationX and RotationZ needs to be set as well for defining camera orientation. The rotation values are taken into account on a specific order, NOT on the order they are set. In some orientation modes setting this value causes user device horizontal rotation axis to be set. | |
| RotationYMaximum |
Maximum allowed value of RotationY property.
This can be used to limit camera orientation / location to some specific area. | |
| RotationYMinimum |
Minimum allowed value of RotationY property.
This can be used to limit camera orientation / location to some specific area. | |
| RotationZ |
Part of defining camera orientation and position, by setting its
looking direction
rotation around Z-axis (pitch, elevation) in degrees.
This property has highly different effects on different
orientation modes.
This is a dependency property.
Selected Orientation mode (OrientationMode) defines how the value affects camera orientation and position. See OrientationModes enumeration for more information. RotationY and RotationX needs to be set as well for defining camera orientation. The rotation values are taken into account on a specific order, NOT on the order they are set. In some orientation modes setting this value causes user device horizontal rotation axis to be set. | |
| RotationZMaximum |
Maximum allowed value of RotationZ property.
This can be used to limit camera orientation / location to some specific area. | |
| RotationZMinimum |
Minimum allowed value of RotationZ property.
This can be used to limit camera orientation / location to some specific area. | |
| Target |
Gets or sets target 3D world coordinate. Camera is targeted towards this coordinate. This is a dependency property.
Use (0,0,0) to center in the 3D view.
View distance is calculated from this target.
| |
| ViewDistance |
Gets or sets view distance. This is a dependency property. You should use values in range 10...1000.
Distance is calculated from Target
|
| Name | Description | |
|---|---|---|
| ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) | |
| ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.) | |
| Clone | 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.) | |
| CloneCurrentValue | Creates a modifiable clone (deep copy) of the Freezable using its current values. (Inherited from Freezable.) | |
| CoerceValue | 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.) | |
| Dispose |
Release all resources used by this instance.
(Inherited from ChartNode.) | |
| DistanceToOrthographicViewArea |
Converts view distance value into a orthographic view area.
Used for building projection matrix.
| |
| Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) | |
| Freeze | Makes the current object unmodifiable and sets its IsFrozen property to true. (Inherited from Freezable.) | |
| GetAsFrozen | 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.) | |
| GetCurrentValueAsFrozen | 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.) | |
| GetFarClipDistance |
Getter of the far clipping distance for the 3D projection.
This is an advanced setting that is not supported in normal use and should not be modified.
| |
| GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) | |
| GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) | |
| GetLocationAs3DWorldCoord |
Gets camera location in 3D world space.
| |
| GetNearClipDistance |
Getter of the near clipping distance for the 3D projection.
This is an advanced setting that is not supported in normal use and should not be modified.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) | |
| InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) | |
| LockPointerDeviceHorizRotationAxis |
Locks user pointer device (mouse etc) based rotation to use current
camera orientation settings for rotation axis.
This affects the way horizontal rotation behaves on certain
OrientationModes values.
This has no effect when OrientationMode is XYZ_Mixed. This method is intended mostly as internal operation of LC. It's run when RotationX, RotationY or RotationZ properties are changed, causing horizontal rotation axis to be locked based on the current rotation settings. The method has been left as public for special cases, where users need to make the same operation without modifying the rotation parameters. | |
| OrthographicViewAreaToDistance(SizeFloat) |
Converts orthographic view's area into a view distance value.
| |
| OrthographicViewAreaToDistance(SizeFloat, Double, Double) |
Converts orthographic view's area into a view distance value.
| |
| ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) | |
| SetCurrentValue | Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.) | |
| SetEulerAngles |
Same as setting RotationX, RotationY and RotationZ properties
separately. Allows easier setting of the properties and
is faster than separate setting of the properties.
| |
| SetFarClipDistance |
Setter of the far clipping distance for the 3D projection.
This is an advanced setting that is not supported in normal use and should not be modified.
| |
| SetNearClipDistance |
Setter of the near clipping distance for the 3D projection.
This is an advanced setting that is not supported in normal use and should not be modified.
| |
| SetPredefinedCamera |
Sets camera orientation angles to values based given predefined orientation setting.
| |
| SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) | |
| SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.) | |
| ToString |
Convert class description to string
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| Changed | Occurs when the Freezable or an object it contains is modified. (Inherited from Freezable.) |
| Name | Description | |
|---|---|---|
| FieldOfViewAngleProperty |
Identifies the FieldOfViewAngle dependency property.
| |
| MinimumViewDistanceProperty |
Identifies the MinimumViewDistance dependency property.
| |
| OrientationModeProperty |
Identifies the OrientationMode dependency property.
| |
| ProjectionProperty |
Identifies the Projection dependency property.
| |
| RotationXMaximumProperty |
Identifies the RotationXMaximum dependency property.
| |
| RotationXMinimumProperty |
Identifies the RotationXMinimum dependency property.
| |
| RotationXProperty |
Identifies the RotationX dependency property.
| |
| RotationYMaximumProperty |
Identifies the RotationYMaximum dependency property.
| |
| RotationYMinimumProperty |
Identifies the RotationYMinimum dependency property.
| |
| RotationYProperty |
Identifies the RotationY dependency property.
| |
| RotationZMaximumProperty |
Identifies the RotationZMaximum dependency property.
| |
| RotationZMinimumProperty |
Identifies the RotationZMinimum dependency property.
| |
| RotationZProperty |
Identifies the RotationZ dependency property.
| |
| TargetProperty |
Identifies the Target dependency property.
| |
| ViewDistanceProperty |
Identifies the ViewDistance dependency property.
|