Click or drag to resize

Camera Methods

The Camera type exposes the following members.

Methods
  NameDescription
Public methodCartographicToWindow
Converts a Cartographic position to a pixel coordinate relative to the Insight3D control. This method can throw an exception.
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRefreshEvaluators
Refreshes all evaluators for the axes, points, or vectors that are used in the current camera view. This should be called if the axes, points, or vectors are changed. If you find yourself calling this frequently, consider using the Position and Direction properties instead of methods taking axes, points, and vectors. For more information on evaluators, see the overview topic on Evaluators and Evaluator Groups topic.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryCartographicToWindow
Converts a Cartographic position to a pixel coordinate relative to the Insight3D control. This method does not throw an exception.
Public methodTryWindowToCartographic
Converts a pixel coordinate relative to the Insight3D control to a Cartographic position. For speed, terrain is not considered. This method does not throw an exception.
Public methodView(Axes, Point, Point)
Views from a point to a point. Sets the camera's position and the reference point the camera is looking at.
Public methodView(Axes, Point, Point, UnitCartesian)
Views from a point to a point. Sets the camera's position and the reference point the camera is looking at.
Public methodViewCentralBody
Zoom to a central body and use the specified axes for rotation. The reference point is set to the center of the central body and the camera's position is set so the entire central body is visible.
Public methodViewDirection(Axes, Point, Vector)
Views from a point to a direction. Sets the camera's position and the direction vector indicating where the camera is looking.
Public methodViewDirection(Axes, Point, Vector, UnitCartesian)
Views from a point to a direction. Sets the camera's position and the direction vector indicating where the camera is looking.
Public methodViewExtent(CentralBody, CartographicExtent)
Zooms to a CartographicExtent on the centralBody. The camera will be looking straight down at the extent, with the up vector pointing toward local north. The Axes is set to an east-north-up axes at the center of extent.
Public methodViewExtent(CentralBody, Double, Double, Double, Double)
Zooms to a rectangular extent composed of west, south, east, north on the centralBody. The camera will be looking straight down at the extent, with the up vector pointing toward local north. The Axes is set to an east-north-up axes at the center of the extent.
Public methodViewOffset(Axes, Point, Cartesian)
Sets the camera's reference point - the point the camera is looking at. The camera's position is the reference point translated by the offset.
Public methodViewOffset(Axes, Point, Cartesian, UnitCartesian)
Sets the camera's reference point - the point the camera is looking at. The camera's position is the reference point translated by the offset.
Public methodViewOffsetDirection(Axes, Point, Vector)
Sets the camera's reference point - the point the camera is looking at. The camera's position is the reference point translated by the direction vector.
Public methodViewOffsetDirection(Axes, Point, Vector, UnitCartesian)
Sets the camera's reference point - the point the camera is looking at. The camera's position is the reference point translated by the direction vector.
Public methodVisibilityTest
Gets the visibility of a sphere against the view frustum and any occluding central bodies.
Public methodWindowToCartographic
Converts a pixel coordinate relative to the Insight3D control to a Cartographic position. For speed, terrain is not considered; if the pixel coordinate does not intersect the ellipsoid, an exception is thrown.
Top
See Also