Camera Class 
Namespace: AGI.Foundation.Graphics
The Camera type exposes the following members.
Name  Description  

AllowRotationOverConstrainedUpAxis 
Gets or sets whether the camera can rotate over the constrained up axis. For example, if true the camera would be able to flip over the North Pole and view the globe upside down.
 
Axes 
Gets or sets camera's axes of rotation.
 
ConstrainedUpAxis 
Gets or sets the axis to constrain the up vector to.
 
Direction 
Gets or sets the direction of the camera in Axes.
 
Distance 
Gets or sets the distance the camera position is from the reference point.
 
DistancePerRadius 
Returns the distance that the Camera's Position should be from the ReferencePoint in order to ensure that
a sphere with a 1 meter radius centered at the ReferencePoint fits entirely in the view frustum.
 
FarNearPlaneRatio 
Gets or sets the value that is used to compute subdivisions of the viewing frustum.
A large value will be faster but lose zvalue precision. A small value will have better precision
but perform slower. The default value of 1000 achieves a good balance between speed and accuracy.
 
FarPlane 
Gets or sets the distance in meters from the camera to the far plane.
 
FieldOfView 
Gets or sets field of view in radians. The field of view is applied to the
larger of the window dimensions. For example, if the window width was 640 and
the height was 480, the field of view applies to the horizontal. Use
HorizontalFieldOfView and VerticalFieldOfView to
get the horizontal and vertical field of views. Wide fields of views generally
show more objects but can look distorted as compared to narrower ones.
 
HorizontalFieldOfView 
Gets the horizontal field of view in radians.
 
LockViewDirection 
Gets or sets whether the camera's direction is locked.
 
NearPlane 
Gets or sets the distance in meters from the camera to the near plane.
 
PixelSizePerDistance 
Gets the approximate number of meters covered by a pixel that is 1
meter away from the camera. This is commonly multiplied by the distance
from the camera to an object to compute the approximate number of meters
covered by a pixel of the object.
 
Position 
Gets or sets the position of the camera.
 
PositionReferenceFrame 
Gets the ReferenceFrame that the Position is returned in. This ReferenceFrame is composed of the camera's from Point and the Axes.
 
ReferencePoint 
Gets or sets the reference point of the camera.
 
ReferencePointReferenceFrame 
Gets the ReferenceFrame that the ReferencePoint is returned in. This ReferenceFrame is composed of the camera's to Point and the Axes.
 
Snapshot 
Gets the camera snapshot settings.
 
UpVector 
Gets or sets the up direction of the camera in Axes.
 
VerticalFieldOfView 
Gets the vertical field of view in radians.
 
VideoRecording 
Gets the camera video recorder.

Name  Description  

CartographicToWindow 
Converts a Cartographic position to a pixel coordinate
relative to the Insight3D control.
This method can throw an exception.
 
Dispose  
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
RefreshEvaluators 
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.
 
ToString  Returns a string that represents the current object. (Inherited from Object.)  
TryCartographicToWindow 
Converts a Cartographic position to a pixel coordinate
relative to the Insight3D control.
This method does not throw an exception.
 
TryWindowToCartographic 
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.
 
View(Axes, Point, Point) 
Views from a point to a point. Sets the camera's position and the reference point the camera is looking at.
 
View(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.
 
ViewCentralBody 
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.
 
ViewDirection(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.
 
ViewDirection(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.
 
ViewExtent(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 eastnorthup axes at the center of extent.
 
ViewExtent(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 eastnorthup axes at the center of the extent.
 
ViewOffset(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.
 
ViewOffset(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.
 
ViewOffsetDirection(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.
 
ViewOffsetDirection(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.
 
VisibilityTest 
Gets the visibility of a sphere against the view frustum and any occluding central bodies.
 
WindowToCartographic 
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.
