Click or drag to resize
DigitalRuneViewVolume Class
Represents a view volume (base implementation).
Inheritance Hierarchy

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
[SerializableAttribute]
public abstract class ViewVolume : ConvexShape

The ViewVolume type exposes the following members.

Constructors
  NameDescription
Protected methodViewVolume
Initializes a new instance of the ViewVolume class
Top
Methods
  NameDescription
Public methodClone
Creates a new Shape that is a clone (deep copy) of the current instance.
(Inherited from Shape.)
Protected methodCloneCore
Makes the instance a clone (deep copy) of the specified Shape.
(Inherited from Shape.)
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the Shape derived class.
(Inherited from Shape.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAabb
Computes the axis-aligned bounding box (AABB) for this shape in local space.
(Inherited from Shape.)
Public methodGetAabb(Pose)
Computes the axis-aligned bounding box (AABB) for this shape positioned in world space using the given Pose.
(Inherited from Shape.)
Public methodGetAabb(Vector3F, Pose)
Computes the axis-aligned bounding box (AABB) for this shape positioned in world space using the given scale and Pose.
(Inherited from ConvexShape.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMesh
Gets a mesh that represents this shape.
(Inherited from Shape.)
Public methodGetSupportPoint(Vector3F)
Gets a support point for a given direction.
(Inherited from ConvexShape.)
Public methodGetSupportPoint(Vector3F, Vector3F)
Gets a support point for a given direction and a given non-uniform scaling.
(Inherited from ConvexShape.)
Public methodGetSupportPointNormalized
Gets a support point for a given normalized direction vector.
(Inherited from ConvexShape.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVolume
Gets the volume of this shape.
(Inherited from Shape.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnChanged
Raises the Changed event.
(Inherited from Shape.)
Protected methodOnGetMesh
Called when a mesh should be generated for the shape.
(Inherited from ConvexShape.)
Public methodSet(Single, Single, Single, Single)
Sets the dimensions of the view volume.
Public methodSet(Single, Single, Single, Single, Single, Single)
Sets the dimensions of the view volume (including depths).
Public methodSetWidthAndHeight(Single, Single)
Sets the width and height of the view volume to the specified size.
Public methodSetWidthAndHeight(Single, Single, Single, Single)
Sets the width and height of the view volume to the specified size and depth.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUpdate
Updates the shape.
Top
Properties
  NameDescription
Public propertyAspectRatio
Gets the aspect ratio (width / height).
Public propertyBottom
Gets or sets the minimum y-value of the view volume at the near clip plane.
Public propertyDepth
Gets the depth of the view volume (= Far - Near).
Public propertyFar
Gets or sets the distance to the far clip plane.
Public propertyFieldOfViewX
Gets the horizontal field of view.
Public propertyFieldOfViewY
Gets the vertical field of view.
Public propertyHeight
Gets the height of the view volume at the near clip plane.
Public propertyInnerPoint
Gets an inner point.
(Inherited from Shape.)
Public propertyLeft
Gets or sets the minimum x-value of the view volume at the near clip plane.
Public propertyNear
Gets or sets the distance to the near clip plane.
Public propertyRight
Gets or sets the maximum x-value of the view volume at the near clip plane.
Public propertyTop
Gets or sets the maximum y-value of the view volume at the near clip plane.
Public propertyWidth
Gets the width of the view volume at the near clip plane.
Top
Events
  NameDescription
Public eventChanged
Occurs when the shape was changed.
(Inherited from Shape.)
Top
See Also