ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkCamera Class Reference

vtkCamera - a virtual camera for 3D rendering More...

Inheritance diagram for Kitware.VTK.vtkCamera:
[legend]
Collaboration diagram for Kitware.VTK.vtkCamera:
[legend]

List of all members.

Public Member Functions

 vtkCamera (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkCamera ()
 Construct camera instance with its focal point at the origin, and position=(0,0,1). The view up is along the y-axis, view angle is 30 degrees, and the clipping range is (.1,1000).
void ApplyTransform (vtkTransform t)
 Apply a transform to the camera. The camera position, focal-point, and view-up are re-calculated using the transform's matrix to multiply the old points by the new transform.
void Azimuth (double angle)
 Rotate the camera about the view up vector centered at the focal point. Note that the view up vector is whatever was set via SetViewUp, and is not necessarily perpendicular to the direction of projection. The result is a horizontal rotation of the camera.
void ComputeProjAndViewParams ()
 This function does 3 things. 1. It sets the camera mode to head tracked i.e ensures that the Asymmetric Frustuma are uses. 2. It sets variables like AsymLeft,AsymRight, AsymBottom and Asym to set the HeadTracked Projection Matrix. 3. It sets the View matrix Params.
void ComputeViewPlaneNormal ()
 This method is called automatically whenever necessary, it should never be used outside of vtkCamera.cxx.
void DeepCopy (vtkCamera source)
 Copy the properties of `source' into `this'. Copy the contents of the matrices.
void Dolly (double value)
 Divide the camera's distance from the focal point by the given dolly value. Use a value greater than one to dolly-in toward the focal point, and use a value less than one to dolly-out away from the focal point.
void Elevation (double angle)
 Rotate the camera about the cross product of the negative of the direction of projection and the view up vector, using the focal point as the center of rotation. The result is a vertical rotation of the scene.
vtkMatrix4x4 GetCameraLightTransformMatrix ()
 Returns a transformation matrix for a coordinate frame attached to the camera, where the camera is located at (0, 0, 1) looking at the focal point at (0, 0, 0), with up being (0, 1, 0).
virtual double[] GetClippingRange ()
 Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).
virtual void GetClippingRange (ref double _arg1, ref double _arg2)
 Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).
virtual void GetClippingRange (IntPtr _arg)
 Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).
virtual vtkMatrix4x4 GetCompositeProjectionTransformMatrix (double aspect, double nearz, double farz)
 Return the concatenation of the ViewTransform and the ProjectionTransform. This transform will convert world coordinates to viewport coordinates. The 'aspect' is the width/height for the viewport, and the nearz and farz are the Z-buffer values that map to the near and far clipping planes. The viewport coordinates of a point located inside the frustum are in the range ([-1,+1],[-1,+1],[nearz,farz]).
virtual double[] GetDirectionOfProjection ()
 Get the vector in the direction from the camera position to the focal point. This is usually the opposite of the ViewPlaneNormal, the vector perpendicular to the screen, unless the view is oblique.
virtual void GetDirectionOfProjection (ref double _arg1, ref double _arg2, ref double _arg3)
 Get the vector in the direction from the camera position to the focal point. This is usually the opposite of the ViewPlaneNormal, the vector perpendicular to the screen, unless the view is oblique.
virtual void GetDirectionOfProjection (IntPtr _arg)
 Get the vector in the direction from the camera position to the focal point. This is usually the opposite of the ViewPlaneNormal, the vector perpendicular to the screen, unless the view is oblique.
virtual double GetDistance ()
 Return the distance from the camera position to the focal point. This distance is positive.
virtual double GetEyeAngle ()
 Set/Get the separation between eyes (in degrees). This is used when generating stereo images.
virtual double GetFocalDisk ()
 Set the size of the cameras lens in world coordinates. This is only used when the renderer is doing focal depth rendering. When that is being done the size of the focal disk will effect how significant the depth effects will be.
virtual double[] GetFocalPoint ()
 Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
virtual void GetFocalPoint (ref double _arg1, ref double _arg2, ref double _arg3)
 Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
virtual void GetFocalPoint (IntPtr _arg)
 Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
virtual void GetFrustumPlanes (double aspect, IntPtr planes)
 Get the plane equations that bound the view frustum. The plane normals point inward. The planes array contains six plane equations of the form (Ax+By+Cz+D=0), the first four values are (A,B,C,D) which repeats for each of the planes. The planes are given in the following order: -x,+x,-y,+y,-z,+z. Warning: it means left,right,bottom,top,far,near (NOT near,far) The aspect of the viewport is needed to correctly compute the planes.
virtual int GetHeadTracked ()
 HeadTracker mode. It impacts on the computation of the transforms. Initial value is false. vtkSetMacro(HeadTracked,bool);.
virtual int GetLeftEye ()
 Set the Left Eye setting.
double[] GetOrientation ()
 Get the orientation of the camera.
double[] GetOrientationWXYZ ()
 Get the orientation of the camera.
virtual int GetParallelProjection ()
 Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.
virtual double GetParallelScale ()
 Set/Get the scaling used for a parallel projection, i.e. the height of the viewport in world-coordinate distances. The default is 1. Note that the "scale" parameter works as an "inverse scale" --- larger numbers produce smaller images. This method has no effect in perspective projection mode.
virtual double[] GetPosition ()
 Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
virtual void GetPosition (ref double _arg1, ref double _arg2, ref double _arg3)
 Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
virtual void GetPosition (IntPtr _arg)
 Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
virtual vtkMatrix4x4 GetProjectionTransformMatrix (double aspect, double nearz, double farz)
 Return the projection transform matrix, which converts from camera coordinates to viewport coordinates. The 'aspect' is the width/height for the viewport, and the nearz and farz are the Z-buffer values that map to the near and far clipping planes. The viewport coordinates of a point located inside the frustum are in the range ([-1,+1],[-1,+1],[nearz,farz]).
virtual vtkPerspectiveTransform GetProjectionTransformObject (double aspect, double nearz, double farz)
 Return the projection transform matrix, which converts from camera coordinates to viewport coordinates. The 'aspect' is the width/height for the viewport, and the nearz and farz are the Z-buffer values that map to the near and far clipping planes. The viewport coordinates of a point located inside the frustum are in the range ([-1,+1],[-1,+1],[nearz,farz]).
double GetRoll ()
 Set the roll angle of the camera about the direction of projection.
virtual double GetThickness ()
 Set the distance between clipping planes. This method adjusts the far clipping plane to be set a distance 'thickness' beyond the near clipping plane.
virtual int GetUseHorizontalViewAngle ()
 Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.
virtual vtkHomogeneousTransform GetUserTransform ()
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ProjectionTransform.
virtual vtkHomogeneousTransform GetUserViewTransform ()
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ViewTransform.
virtual double GetViewAngle ()
 Set/Get the camera view angle, which is the angular height of the camera view measured in degrees. The default angle is 30 degrees. This method has no effect in parallel projection mode. The formula for setting the angle up for perfect perspective viewing is: angle = 2*atan((h/2)/d) where h is the height of the RenderWindow (measured by holding a ruler up to your screen) and d is the distance from your eyes to the screen.
virtual double[] GetViewPlaneNormal ()
 Get the ViewPlaneNormal. This vector will point opposite to the direction of projection, unless you have created an sheared output view using SetViewShear/SetObliqueAngles.
virtual void GetViewPlaneNormal (ref double _arg1, ref double _arg2, ref double _arg3)
 Get the ViewPlaneNormal. This vector will point opposite to the direction of projection, unless you have created an sheared output view using SetViewShear/SetObliqueAngles.
virtual void GetViewPlaneNormal (IntPtr _arg)
 Get the ViewPlaneNormal. This vector will point opposite to the direction of projection, unless you have created an sheared output view using SetViewShear/SetObliqueAngles.
virtual double[] GetViewShear ()
 Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).
virtual void GetViewShear (ref double _arg1, ref double _arg2, ref double _arg3)
 Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).
virtual void GetViewShear (IntPtr _arg)
 Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).
virtual vtkMatrix4x4 GetViewTransformMatrix ()
 Return the matrix of the view transform. The ViewTransform depends on only three ivars: the Position, the FocalPoint, and the ViewUp vector. All the other methods are there simply for the sake of the users' convenience.
virtual vtkTransform GetViewTransformObject ()
 Return the view transform. The ViewTransform depends on only three ivars: the Position, the FocalPoint, and the ViewUp vector. All the other methods are there simply for the sake of the users' convenience.
virtual double[] GetViewUp ()
 Set/Get the view up direction for the camera. The default is (0,1,0).
virtual void GetViewUp (ref double _arg1, ref double _arg2, ref double _arg3)
 Set/Get the view up direction for the camera. The default is (0,1,0).
virtual void GetViewUp (IntPtr _arg)
 Set/Get the view up direction for the camera. The default is (0,1,0).
uint GetViewingRaysMTime ()
 Return the MTime that concerns recomputing the view rays of the camera.
virtual double[] GetWindowCenter ()
 Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.
virtual void GetWindowCenter (ref double _arg1, ref double _arg2)
 Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.
virtual void GetWindowCenter (IntPtr _arg)
 Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.
override int IsA (string type)
 Undocumented Block.
new vtkCamera NewInstance ()
 Undocumented Block.
void OrthogonalizeViewUp ()
 Recompute the ViewUp vector to force it to be perpendicular to camera->focalpoint vector. Unless you are going to use Yaw or Azimuth on the camera, there is no need to do this.
virtual void ParallelProjectionOff ()
 Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.
virtual void ParallelProjectionOn ()
 Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.
void Pitch (double angle)
 Rotate the focal point about the cross product of the view up vector and the direction of projection, using the camera's position as the center of rotation. The result is a vertical rotation of the camera.
virtual void Render (vtkRenderer arg0)
 This method causes the camera to set up whatever is required for viewing the scene. This is actually handled by an subclass of vtkCamera, which is created through New()
void Roll (double angle)
 Rotate the camera about the direction of projection. This will spin the camera about its axis.
void SetClippingRange (double dNear, double dFar)
 Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).
void SetClippingRange (IntPtr a)
 Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).
void SetConfigParams (double o2screen, double o2right, double o2left, double o2top, double o2bottom, double interOccDist, double scale, vtkMatrix4x4 surfaceRot)
 Setting the configuration parameters for head tracked camera.
void SetDistance (double arg0)
 Move the focal point so that it is the specified distance from the camera position. This distance must be positive.
virtual void SetEyeAngle (double _arg)
 Set/Get the separation between eyes (in degrees). This is used when generating stereo images.
virtual void SetFocalDisk (double _arg)
 Set the size of the cameras lens in world coordinates. This is only used when the renderer is doing focal depth rendering. When that is being done the size of the focal disk will effect how significant the depth effects will be.
void SetFocalPoint (double x, double y, double z)
 Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
void SetFocalPoint (IntPtr a)
 Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
void SetHeadPose (double x00, double x01, double x02, double x03, double x10, double x11, double x12, double x13, double x20, double x21, double x22, double x23, double x30, double x31, double x32, double x33)
 This function is a convinience function intended for the Paraview ServerManager.
virtual void SetHeadTracked (int _arg)
 HeadTracker mode. It impacts on the computation of the transforms. Initial value is false. vtkSetMacro(HeadTracked,bool);.
virtual void SetLeftEye (int _arg)
 Set the Left Eye setting.
void SetObliqueAngles (double alpha, double beta)
 Get/Set the oblique viewing angles. The first angle, alpha, is the angle (measured from the horizontal) that rays along the direction of projection will follow once projected onto the 2D screen. The second angle, beta, is the angle between the view plane and the direction of projection. This creates a shear transform x' = x + dz*cos(alpha)/tan(beta), y' = dz*sin(alpha)/tan(beta) where dz is the distance of the point from the focal plane. The angles are (45,90) by default. Oblique projections commonly use (30,63.435).
void SetParallelProjection (int flag)
 Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.
void SetParallelScale (double scale)
 Set/Get the scaling used for a parallel projection, i.e. the height of the viewport in world-coordinate distances. The default is 1. Note that the "scale" parameter works as an "inverse scale" --- larger numbers produce smaller images. This method has no effect in perspective projection mode.
void SetPosition (double x, double y, double z)
 Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
void SetPosition (IntPtr a)
 Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
void SetRoll (double angle)
 Set the roll angle of the camera about the direction of projection.
void SetThickness (double arg0)
 Set the distance between clipping planes. This method adjusts the far clipping plane to be set a distance 'thickness' beyond the near clipping plane.
void SetUseHorizontalViewAngle (int flag)
 Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.
void SetUserTransform (vtkHomogeneousTransform transform)
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ProjectionTransform.
void SetUserViewTransform (vtkHomogeneousTransform transform)
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ViewTransform.
void SetViewAngle (double angle)
 Set/Get the camera view angle, which is the angular height of the camera view measured in degrees. The default angle is 30 degrees. This method has no effect in parallel projection mode. The formula for setting the angle up for perfect perspective viewing is: angle = 2*atan((h/2)/d) where h is the height of the RenderWindow (measured by holding a ruler up to your screen) and d is the distance from your eyes to the screen.
void SetViewShear (double dxdz, double dydz, double center)
 Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).
void SetViewShear (IntPtr d)
 Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).
void SetViewUp (double vx, double vy, double vz)
 Set/Get the view up direction for the camera. The default is (0,1,0).
void SetViewUp (IntPtr a)
 Set/Get the view up direction for the camera. The default is (0,1,0).
void SetWindowCenter (double x, double y)
 Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.
void ShallowCopy (vtkCamera source)
 Copy the properties of `source' into `this'. Copy pointers of matrices.
virtual void UpdateViewport (vtkRenderer arg0)
 Update the viewport.
virtual void UseHorizontalViewAngleOff ()
 Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.
virtual void UseHorizontalViewAngleOn ()
 Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.
void ViewingRaysModified ()
 Mark that something has changed which requires the view rays to be recomputed.
void Yaw (double angle)
 Rotate the focal point about the view up vector, using the camera's position as the center of rotation. Note that the view up vector is whatever was set via SetViewUp, and is not necessarily perpendicular to the direction of projection. The result is a horizontal rotation of the scene.
void Zoom (double factor)
 In perspective mode, decrease the view angle by the specified factor. In parallel mode, decrease the parallel scale by the specified factor. A value greater than 1 is a zoom-in, a value less than 1 is a zoom-out.

Static Public Member Functions

static new vtkCamera New ()
 Construct camera instance with its focal point at the origin, and position=(0,0,1). The view up is along the y-axis, view angle is 30 degrees, and the clipping range is (.1,1000).
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkCamera SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkCamera"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "9vtkCamera"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkCamera_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCamera_ApplyTransform_01 (HandleRef pThis, HandleRef t)
static internal void vtkCamera_Azimuth_02 (HandleRef pThis, double angle)
static internal void vtkCamera_ComputeProjAndViewParams_03 (HandleRef pThis)
static internal void vtkCamera_ComputeViewPlaneNormal_04 (HandleRef pThis)
static internal void vtkCamera_DeepCopy_05 (HandleRef pThis, HandleRef source)
static internal void vtkCamera_Dolly_06 (HandleRef pThis, double value)
static internal void vtkCamera_Elevation_07 (HandleRef pThis, double angle)
static internal IntPtr vtkCamera_GetCameraLightTransformMatrix_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCamera_GetClippingRange_09 (HandleRef pThis)
static internal void vtkCamera_GetClippingRange_10 (HandleRef pThis, ref double _arg1, ref double _arg2)
static internal void vtkCamera_GetClippingRange_11 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkCamera_GetCompositeProjectionTransformMatrix_12 (HandleRef pThis, double aspect, double nearz, double farz, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCamera_GetDirectionOfProjection_13 (HandleRef pThis)
static internal void vtkCamera_GetDirectionOfProjection_14 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkCamera_GetDirectionOfProjection_15 (HandleRef pThis, IntPtr _arg)
static internal double vtkCamera_GetDistance_16 (HandleRef pThis)
static internal double vtkCamera_GetEyeAngle_17 (HandleRef pThis)
static internal double vtkCamera_GetFocalDisk_18 (HandleRef pThis)
static internal IntPtr vtkCamera_GetFocalPoint_19 (HandleRef pThis)
static internal void vtkCamera_GetFocalPoint_20 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkCamera_GetFocalPoint_21 (HandleRef pThis, IntPtr _arg)
static internal void vtkCamera_GetFrustumPlanes_22 (HandleRef pThis, double aspect, IntPtr planes)
static internal int vtkCamera_GetHeadTracked_23 (HandleRef pThis)
static internal int vtkCamera_GetLeftEye_24 (HandleRef pThis)
static internal IntPtr vtkCamera_GetOrientation_25 (HandleRef pThis)
static internal IntPtr vtkCamera_GetOrientationWXYZ_26 (HandleRef pThis)
static internal int vtkCamera_GetParallelProjection_27 (HandleRef pThis)
static internal double vtkCamera_GetParallelScale_28 (HandleRef pThis)
static internal IntPtr vtkCamera_GetPosition_29 (HandleRef pThis)
static internal void vtkCamera_GetPosition_30 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkCamera_GetPosition_31 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkCamera_GetProjectionTransformMatrix_32 (HandleRef pThis, double aspect, double nearz, double farz, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCamera_GetProjectionTransformObject_33 (HandleRef pThis, double aspect, double nearz, double farz, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkCamera_GetRoll_34 (HandleRef pThis)
static internal double vtkCamera_GetThickness_35 (HandleRef pThis)
static internal int vtkCamera_GetUseHorizontalViewAngle_36 (HandleRef pThis)
static internal IntPtr vtkCamera_GetUserTransform_37 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCamera_GetUserViewTransform_38 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkCamera_GetViewAngle_39 (HandleRef pThis)
static internal IntPtr vtkCamera_GetViewPlaneNormal_40 (HandleRef pThis)
static internal void vtkCamera_GetViewPlaneNormal_41 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkCamera_GetViewPlaneNormal_42 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkCamera_GetViewShear_43 (HandleRef pThis)
static internal void vtkCamera_GetViewShear_44 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkCamera_GetViewShear_45 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkCamera_GetViewTransformMatrix_46 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCamera_GetViewTransformObject_47 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCamera_GetViewUp_48 (HandleRef pThis)
static internal void vtkCamera_GetViewUp_49 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkCamera_GetViewUp_50 (HandleRef pThis, IntPtr _arg)
static internal uint vtkCamera_GetViewingRaysMTime_51 (HandleRef pThis)
static internal IntPtr vtkCamera_GetWindowCenter_52 (HandleRef pThis)
static internal void vtkCamera_GetWindowCenter_53 (HandleRef pThis, ref double _arg1, ref double _arg2)
static internal void vtkCamera_GetWindowCenter_54 (HandleRef pThis, IntPtr _arg)
static internal int vtkCamera_IsA_55 (HandleRef pThis, string type)
static internal int vtkCamera_IsTypeOf_56 (string type)
static internal IntPtr vtkCamera_NewInstance_58 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCamera_OrthogonalizeViewUp_59 (HandleRef pThis)
static internal void vtkCamera_ParallelProjectionOff_60 (HandleRef pThis)
static internal void vtkCamera_ParallelProjectionOn_61 (HandleRef pThis)
static internal void vtkCamera_Pitch_62 (HandleRef pThis, double angle)
static internal void vtkCamera_Render_63 (HandleRef pThis, HandleRef arg0)
static internal void vtkCamera_Roll_64 (HandleRef pThis, double angle)
static internal IntPtr vtkCamera_SafeDownCast_65 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCamera_SetClippingRange_66 (HandleRef pThis, double dNear, double dFar)
static internal void vtkCamera_SetClippingRange_67 (HandleRef pThis, IntPtr a)
static internal void vtkCamera_SetConfigParams_68 (HandleRef pThis, double o2screen, double o2right, double o2left, double o2top, double o2bottom, double interOccDist, double scale, HandleRef surfaceRot)
static internal void vtkCamera_SetDistance_69 (HandleRef pThis, double arg0)
static internal void vtkCamera_SetEyeAngle_70 (HandleRef pThis, double _arg)
static internal void vtkCamera_SetFocalDisk_71 (HandleRef pThis, double _arg)
static internal void vtkCamera_SetFocalPoint_72 (HandleRef pThis, double x, double y, double z)
static internal void vtkCamera_SetFocalPoint_73 (HandleRef pThis, IntPtr a)
static internal void vtkCamera_SetHeadPose_74 (HandleRef pThis, double x00, double x01, double x02, double x03, double x10, double x11, double x12, double x13, double x20, double x21, double x22, double x23, double x30, double x31, double x32, double x33)
static internal void vtkCamera_SetHeadTracked_75 (HandleRef pThis, int _arg)
static internal void vtkCamera_SetLeftEye_76 (HandleRef pThis, int _arg)
static internal void vtkCamera_SetObliqueAngles_77 (HandleRef pThis, double alpha, double beta)
static internal void vtkCamera_SetParallelProjection_78 (HandleRef pThis, int flag)
static internal void vtkCamera_SetParallelScale_79 (HandleRef pThis, double scale)
static internal void vtkCamera_SetPosition_80 (HandleRef pThis, double x, double y, double z)
static internal void vtkCamera_SetPosition_81 (HandleRef pThis, IntPtr a)
static internal void vtkCamera_SetRoll_82 (HandleRef pThis, double angle)
static internal void vtkCamera_SetThickness_83 (HandleRef pThis, double arg0)
static internal void vtkCamera_SetUseHorizontalViewAngle_84 (HandleRef pThis, int flag)
static internal void vtkCamera_SetUserTransform_85 (HandleRef pThis, HandleRef transform)
static internal void vtkCamera_SetUserViewTransform_86 (HandleRef pThis, HandleRef transform)
static internal void vtkCamera_SetViewAngle_87 (HandleRef pThis, double angle)
static internal void vtkCamera_SetViewShear_88 (HandleRef pThis, double dxdz, double dydz, double center)
static internal void vtkCamera_SetViewShear_89 (HandleRef pThis, IntPtr d)
static internal void vtkCamera_SetViewUp_90 (HandleRef pThis, double vx, double vy, double vz)
static internal void vtkCamera_SetViewUp_91 (HandleRef pThis, IntPtr a)
static internal void vtkCamera_SetWindowCenter_92 (HandleRef pThis, double x, double y)
static internal void vtkCamera_ShallowCopy_93 (HandleRef pThis, HandleRef source)
static internal void vtkCamera_UpdateViewport_94 (HandleRef pThis, HandleRef arg0)
static internal void vtkCamera_UseHorizontalViewAngleOff_95 (HandleRef pThis)
static internal void vtkCamera_UseHorizontalViewAngleOn_96 (HandleRef pThis)
static internal void vtkCamera_ViewingRaysModified_97 (HandleRef pThis)
static internal void vtkCamera_Yaw_98 (HandleRef pThis, double angle)
static internal void vtkCamera_Zoom_99 (HandleRef pThis, double factor)

Static Private Member Functions

static vtkCamera ()
 Automatically generated type registration mechanics.

Detailed Description

vtkCamera - a virtual camera for 3D rendering

Description vtkCamera is a virtual camera for 3D rendering. It provides methods to position and orient the view point and focal point. Convenience methods for moving about the focal point also are provided. More complex methods allow the manipulation of the computer graphics model including view up vector, clipping planes, and camera perspective.

vtkPerspectiveTransform


Constructor & Destructor Documentation

static Kitware.VTK.vtkCamera.vtkCamera ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkCamera.vtkCamera ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Construct camera instance with its focal point at the origin, and position=(0,0,1). The view up is along the y-axis, view angle is 30 degrees, and the clipping range is (.1,1000).


Member Function Documentation

Apply a transform to the camera. The camera position, focal-point, and view-up are re-calculated using the transform's matrix to multiply the old points by the new transform.

void Kitware.VTK.vtkCamera.Azimuth ( double  angle)

Rotate the camera about the view up vector centered at the focal point. Note that the view up vector is whatever was set via SetViewUp, and is not necessarily perpendicular to the direction of projection. The result is a horizontal rotation of the camera.

This function does 3 things. 1. It sets the camera mode to head tracked i.e ensures that the Asymmetric Frustuma are uses. 2. It sets variables like AsymLeft,AsymRight, AsymBottom and Asym to set the HeadTracked Projection Matrix. 3. It sets the View matrix Params.

This method is called automatically whenever necessary, it should never be used outside of vtkCamera.cxx.

Copy the properties of `source' into `this'. Copy the contents of the matrices.

Precondition:
source_exists!=0
not_this: source!=this
override void Kitware.VTK.vtkCamera.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

void Kitware.VTK.vtkCamera.Dolly ( double  value)

Divide the camera's distance from the focal point by the given dolly value. Use a value greater than one to dolly-in toward the focal point, and use a value less than one to dolly-out away from the focal point.

void Kitware.VTK.vtkCamera.Elevation ( double  angle)

Rotate the camera about the cross product of the negative of the direction of projection and the view up vector, using the focal point as the center of rotation. The result is a vertical rotation of the scene.

Returns a transformation matrix for a coordinate frame attached to the camera, where the camera is located at (0, 0, 1) looking at the focal point at (0, 0, 0), with up being (0, 1, 0).

Here is the call graph for this function:

virtual double [] Kitware.VTK.vtkCamera.GetClippingRange ( ) [virtual]

Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).

virtual void Kitware.VTK.vtkCamera.GetClippingRange ( ref double  _arg1,
ref double  _arg2 
) [virtual]

Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).

virtual void Kitware.VTK.vtkCamera.GetClippingRange ( IntPtr  _arg) [virtual]

Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).

virtual vtkMatrix4x4 Kitware.VTK.vtkCamera.GetCompositeProjectionTransformMatrix ( double  aspect,
double  nearz,
double  farz 
) [virtual]

Return the concatenation of the ViewTransform and the ProjectionTransform. This transform will convert world coordinates to viewport coordinates. The 'aspect' is the width/height for the viewport, and the nearz and farz are the Z-buffer values that map to the near and far clipping planes. The viewport coordinates of a point located inside the frustum are in the range ([-1,+1],[-1,+1],[nearz,farz]).

Here is the call graph for this function:

virtual double [] Kitware.VTK.vtkCamera.GetDirectionOfProjection ( ) [virtual]

Get the vector in the direction from the camera position to the focal point. This is usually the opposite of the ViewPlaneNormal, the vector perpendicular to the screen, unless the view is oblique.

virtual void Kitware.VTK.vtkCamera.GetDirectionOfProjection ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Get the vector in the direction from the camera position to the focal point. This is usually the opposite of the ViewPlaneNormal, the vector perpendicular to the screen, unless the view is oblique.

virtual void Kitware.VTK.vtkCamera.GetDirectionOfProjection ( IntPtr  _arg) [virtual]

Get the vector in the direction from the camera position to the focal point. This is usually the opposite of the ViewPlaneNormal, the vector perpendicular to the screen, unless the view is oblique.

virtual double Kitware.VTK.vtkCamera.GetDistance ( ) [virtual]

Return the distance from the camera position to the focal point. This distance is positive.

virtual double Kitware.VTK.vtkCamera.GetEyeAngle ( ) [virtual]

Set/Get the separation between eyes (in degrees). This is used when generating stereo images.

virtual double Kitware.VTK.vtkCamera.GetFocalDisk ( ) [virtual]

Set the size of the cameras lens in world coordinates. This is only used when the renderer is doing focal depth rendering. When that is being done the size of the focal disk will effect how significant the depth effects will be.

virtual double [] Kitware.VTK.vtkCamera.GetFocalPoint ( ) [virtual]

Set/Get the focal of the camera in world coordinates. The default focal point is the origin.

virtual void Kitware.VTK.vtkCamera.GetFocalPoint ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Set/Get the focal of the camera in world coordinates. The default focal point is the origin.

virtual void Kitware.VTK.vtkCamera.GetFocalPoint ( IntPtr  _arg) [virtual]

Set/Get the focal of the camera in world coordinates. The default focal point is the origin.

virtual void Kitware.VTK.vtkCamera.GetFrustumPlanes ( double  aspect,
IntPtr  planes 
) [virtual]

Get the plane equations that bound the view frustum. The plane normals point inward. The planes array contains six plane equations of the form (Ax+By+Cz+D=0), the first four values are (A,B,C,D) which repeats for each of the planes. The planes are given in the following order: -x,+x,-y,+y,-z,+z. Warning: it means left,right,bottom,top,far,near (NOT near,far) The aspect of the viewport is needed to correctly compute the planes.

virtual int Kitware.VTK.vtkCamera.GetHeadTracked ( ) [virtual]

HeadTracker mode. It impacts on the computation of the transforms. Initial value is false. vtkSetMacro(HeadTracked,bool);.

virtual int Kitware.VTK.vtkCamera.GetLeftEye ( ) [virtual]

Set the Left Eye setting.

Get the orientation of the camera.

Get the orientation of the camera.

Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.

virtual double Kitware.VTK.vtkCamera.GetParallelScale ( ) [virtual]

Set/Get the scaling used for a parallel projection, i.e. the height of the viewport in world-coordinate distances. The default is 1. Note that the "scale" parameter works as an "inverse scale" --- larger numbers produce smaller images. This method has no effect in perspective projection mode.

virtual double [] Kitware.VTK.vtkCamera.GetPosition ( ) [virtual]

Set/Get the position of the camera in world coordinates. The default position is (0,0,1).

virtual void Kitware.VTK.vtkCamera.GetPosition ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Set/Get the position of the camera in world coordinates. The default position is (0,0,1).

virtual void Kitware.VTK.vtkCamera.GetPosition ( IntPtr  _arg) [virtual]

Set/Get the position of the camera in world coordinates. The default position is (0,0,1).

virtual vtkMatrix4x4 Kitware.VTK.vtkCamera.GetProjectionTransformMatrix ( double  aspect,
double  nearz,
double  farz 
) [virtual]

Return the projection transform matrix, which converts from camera coordinates to viewport coordinates. The 'aspect' is the width/height for the viewport, and the nearz and farz are the Z-buffer values that map to the near and far clipping planes. The viewport coordinates of a point located inside the frustum are in the range ([-1,+1],[-1,+1],[nearz,farz]).

Here is the call graph for this function:

virtual vtkPerspectiveTransform Kitware.VTK.vtkCamera.GetProjectionTransformObject ( double  aspect,
double  nearz,
double  farz 
) [virtual]

Return the projection transform matrix, which converts from camera coordinates to viewport coordinates. The 'aspect' is the width/height for the viewport, and the nearz and farz are the Z-buffer values that map to the near and far clipping planes. The viewport coordinates of a point located inside the frustum are in the range ([-1,+1],[-1,+1],[nearz,farz]).

Here is the call graph for this function:

Set the roll angle of the camera about the direction of projection.

virtual double Kitware.VTK.vtkCamera.GetThickness ( ) [virtual]

Set the distance between clipping planes. This method adjusts the far clipping plane to be set a distance 'thickness' beyond the near clipping plane.

Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.

In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ProjectionTransform.

Here is the call graph for this function:

In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ViewTransform.

Here is the call graph for this function:

virtual double Kitware.VTK.vtkCamera.GetViewAngle ( ) [virtual]

Set/Get the camera view angle, which is the angular height of the camera view measured in degrees. The default angle is 30 degrees. This method has no effect in parallel projection mode. The formula for setting the angle up for perfect perspective viewing is: angle = 2*atan((h/2)/d) where h is the height of the RenderWindow (measured by holding a ruler up to your screen) and d is the distance from your eyes to the screen.

Return the MTime that concerns recomputing the view rays of the camera.

virtual double [] Kitware.VTK.vtkCamera.GetViewPlaneNormal ( ) [virtual]

Get the ViewPlaneNormal. This vector will point opposite to the direction of projection, unless you have created an sheared output view using SetViewShear/SetObliqueAngles.

virtual void Kitware.VTK.vtkCamera.GetViewPlaneNormal ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Get the ViewPlaneNormal. This vector will point opposite to the direction of projection, unless you have created an sheared output view using SetViewShear/SetObliqueAngles.

virtual void Kitware.VTK.vtkCamera.GetViewPlaneNormal ( IntPtr  _arg) [virtual]

Get the ViewPlaneNormal. This vector will point opposite to the direction of projection, unless you have created an sheared output view using SetViewShear/SetObliqueAngles.

virtual double [] Kitware.VTK.vtkCamera.GetViewShear ( ) [virtual]

Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).

virtual void Kitware.VTK.vtkCamera.GetViewShear ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).

virtual void Kitware.VTK.vtkCamera.GetViewShear ( IntPtr  _arg) [virtual]

Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).

Return the matrix of the view transform. The ViewTransform depends on only three ivars: the Position, the FocalPoint, and the ViewUp vector. All the other methods are there simply for the sake of the users' convenience.

Here is the call graph for this function:

Return the view transform. The ViewTransform depends on only three ivars: the Position, the FocalPoint, and the ViewUp vector. All the other methods are there simply for the sake of the users' convenience.

Here is the call graph for this function:

virtual double [] Kitware.VTK.vtkCamera.GetViewUp ( ) [virtual]

Set/Get the view up direction for the camera. The default is (0,1,0).

virtual void Kitware.VTK.vtkCamera.GetViewUp ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Set/Get the view up direction for the camera. The default is (0,1,0).

virtual void Kitware.VTK.vtkCamera.GetViewUp ( IntPtr  _arg) [virtual]

Set/Get the view up direction for the camera. The default is (0,1,0).

virtual double [] Kitware.VTK.vtkCamera.GetWindowCenter ( ) [virtual]

Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.

virtual void Kitware.VTK.vtkCamera.GetWindowCenter ( ref double  _arg1,
ref double  _arg2 
) [virtual]

Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.

virtual void Kitware.VTK.vtkCamera.GetWindowCenter ( IntPtr  _arg) [virtual]

Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.

override int Kitware.VTK.vtkCamera.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

static new int Kitware.VTK.vtkCamera.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

static new vtkCamera Kitware.VTK.vtkCamera.New ( ) [static]

Construct camera instance with its focal point at the origin, and position=(0,0,1). The view up is along the y-axis, view angle is 30 degrees, and the clipping range is (.1,1000).

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

Recompute the ViewUp vector to force it to be perpendicular to camera->focalpoint vector. Unless you are going to use Yaw or Azimuth on the camera, there is no need to do this.

virtual void Kitware.VTK.vtkCamera.ParallelProjectionOff ( ) [virtual]

Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.

virtual void Kitware.VTK.vtkCamera.ParallelProjectionOn ( ) [virtual]

Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.

void Kitware.VTK.vtkCamera.Pitch ( double  angle)

Rotate the focal point about the cross product of the view up vector and the direction of projection, using the camera's position as the center of rotation. The result is a vertical rotation of the camera.

virtual void Kitware.VTK.vtkCamera.Render ( vtkRenderer  arg0) [virtual]

This method causes the camera to set up whatever is required for viewing the scene. This is actually handled by an subclass of vtkCamera, which is created through New()

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

void Kitware.VTK.vtkCamera.Roll ( double  angle)

Rotate the camera about the direction of projection. This will spin the camera about its axis.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

Here is the call graph for this function:

void Kitware.VTK.vtkCamera.SetClippingRange ( double  dNear,
double  dFar 
)

Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).

Set/Get the location of the near and far clipping planes along the direction of projection. Both of these values must be positive. How the clipping planes are set can have a large impact on how well z-buffering works. In particular the front clipping plane can make a very big difference. Setting it to 0.01 when it really could be 1.0 can have a big impact on your z-buffer resolution farther away. The default clipping range is (0.1,1000).

void Kitware.VTK.vtkCamera.SetConfigParams ( double  o2screen,
double  o2right,
double  o2left,
double  o2top,
double  o2bottom,
double  interOccDist,
double  scale,
vtkMatrix4x4  surfaceRot 
)

Setting the configuration parameters for head tracked camera.

void Kitware.VTK.vtkCamera.SetDistance ( double  arg0)

Move the focal point so that it is the specified distance from the camera position. This distance must be positive.

virtual void Kitware.VTK.vtkCamera.SetEyeAngle ( double  _arg) [virtual]

Set/Get the separation between eyes (in degrees). This is used when generating stereo images.

virtual void Kitware.VTK.vtkCamera.SetFocalDisk ( double  _arg) [virtual]

Set the size of the cameras lens in world coordinates. This is only used when the renderer is doing focal depth rendering. When that is being done the size of the focal disk will effect how significant the depth effects will be.

void Kitware.VTK.vtkCamera.SetFocalPoint ( double  x,
double  y,
double  z 
)

Set/Get the focal of the camera in world coordinates. The default focal point is the origin.

Set/Get the focal of the camera in world coordinates. The default focal point is the origin.

void Kitware.VTK.vtkCamera.SetHeadPose ( double  x00,
double  x01,
double  x02,
double  x03,
double  x10,
double  x11,
double  x12,
double  x13,
double  x20,
double  x21,
double  x22,
double  x23,
double  x30,
double  x31,
double  x32,
double  x33 
)

This function is a convinience function intended for the Paraview ServerManager.

virtual void Kitware.VTK.vtkCamera.SetHeadTracked ( int  _arg) [virtual]

HeadTracker mode. It impacts on the computation of the transforms. Initial value is false. vtkSetMacro(HeadTracked,bool);.

virtual void Kitware.VTK.vtkCamera.SetLeftEye ( int  _arg) [virtual]

Set the Left Eye setting.

void Kitware.VTK.vtkCamera.SetObliqueAngles ( double  alpha,
double  beta 
)

Get/Set the oblique viewing angles. The first angle, alpha, is the angle (measured from the horizontal) that rays along the direction of projection will follow once projected onto the 2D screen. The second angle, beta, is the angle between the view plane and the direction of projection. This creates a shear transform x' = x + dz*cos(alpha)/tan(beta), y' = dz*sin(alpha)/tan(beta) where dz is the distance of the point from the focal plane. The angles are (45,90) by default. Oblique projections commonly use (30,63.435).

Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.

Set/Get the scaling used for a parallel projection, i.e. the height of the viewport in world-coordinate distances. The default is 1. Note that the "scale" parameter works as an "inverse scale" --- larger numbers produce smaller images. This method has no effect in perspective projection mode.

void Kitware.VTK.vtkCamera.SetPosition ( double  x,
double  y,
double  z 
)

Set/Get the position of the camera in world coordinates. The default position is (0,0,1).

Set/Get the position of the camera in world coordinates. The default position is (0,0,1).

void Kitware.VTK.vtkCamera.SetRoll ( double  angle)

Set the roll angle of the camera about the direction of projection.

void Kitware.VTK.vtkCamera.SetThickness ( double  arg0)

Set the distance between clipping planes. This method adjusts the far clipping plane to be set a distance 'thickness' beyond the near clipping plane.

Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.

In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ProjectionTransform.

In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. This transformation is concatenated to the camera's ViewTransform.

void Kitware.VTK.vtkCamera.SetViewAngle ( double  angle)

Set/Get the camera view angle, which is the angular height of the camera view measured in degrees. The default angle is 30 degrees. This method has no effect in parallel projection mode. The formula for setting the angle up for perfect perspective viewing is: angle = 2*atan((h/2)/d) where h is the height of the RenderWindow (measured by holding a ruler up to your screen) and d is the distance from your eyes to the screen.

void Kitware.VTK.vtkCamera.SetViewShear ( double  dxdz,
double  dydz,
double  center 
)

Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).

Set/get the shear transform of the viewing frustum. Parameters are dx/dz, dy/dz, and center. center is a factor that describes where to shear around. The distance dshear from the camera where no shear occurs is given by (dshear = center * FocalDistance).

void Kitware.VTK.vtkCamera.SetViewUp ( double  vx,
double  vy,
double  vz 
)

Set/Get the view up direction for the camera. The default is (0,1,0).

void Kitware.VTK.vtkCamera.SetViewUp ( IntPtr  a)

Set/Get the view up direction for the camera. The default is (0,1,0).

void Kitware.VTK.vtkCamera.SetWindowCenter ( double  x,
double  y 
)

Set/Get the center of the window in viewport coordinates. The viewport coordinate range is ([-1,+1],[-1,+1]). This method is for if you have one window which consists of several viewports, or if you have several screens which you want to act together as one large screen.

Copy the properties of `source' into `this'. Copy pointers of matrices.

Precondition:
source_exists!=0
not_this: source!=this
virtual void Kitware.VTK.vtkCamera.UpdateViewport ( vtkRenderer  arg0) [virtual]

Update the viewport.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.

Set/Get the value of the UseHorizontalViewAngle instance variable. If set, the camera's view angle represents a horizontal view angle, rather than the default vertical view angle. This is useful if the application uses a display device which whose specs indicate a particular horizontal view angle, or if the application varies the window height but wants to keep the perspective transform unchanges.

Mark that something has changed which requires the view rays to be recomputed.

static internal void Kitware.VTK.vtkCamera.vtkCamera_ApplyTransform_01 ( HandleRef  pThis,
HandleRef  t 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Azimuth_02 ( HandleRef  pThis,
double  angle 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_ComputeProjAndViewParams_03 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_ComputeViewPlaneNormal_04 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_DeepCopy_05 ( HandleRef  pThis,
HandleRef  source 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Dolly_06 ( HandleRef  pThis,
double  value 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Elevation_07 ( HandleRef  pThis,
double  angle 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetCameraLightTransformMatrix_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetClippingRange_09 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetClippingRange_10 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetClippingRange_11 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetCompositeProjectionTransformMatrix_12 ( HandleRef  pThis,
double  aspect,
double  nearz,
double  farz,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetDirectionOfProjection_13 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetDirectionOfProjection_14 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetDirectionOfProjection_15 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal double Kitware.VTK.vtkCamera.vtkCamera_GetDistance_16 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkCamera.vtkCamera_GetEyeAngle_17 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkCamera.vtkCamera_GetFocalDisk_18 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetFocalPoint_19 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetFocalPoint_20 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetFocalPoint_21 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetFrustumPlanes_22 ( HandleRef  pThis,
double  aspect,
IntPtr  planes 
) [private]
static internal int Kitware.VTK.vtkCamera.vtkCamera_GetHeadTracked_23 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCamera.vtkCamera_GetLeftEye_24 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetOrientation_25 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetOrientationWXYZ_26 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCamera.vtkCamera_GetParallelProjection_27 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkCamera.vtkCamera_GetParallelScale_28 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetPosition_29 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetPosition_30 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetPosition_31 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetProjectionTransformMatrix_32 ( HandleRef  pThis,
double  aspect,
double  nearz,
double  farz,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetProjectionTransformObject_33 ( HandleRef  pThis,
double  aspect,
double  nearz,
double  farz,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkCamera.vtkCamera_GetRoll_34 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkCamera.vtkCamera_GetThickness_35 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCamera.vtkCamera_GetUseHorizontalViewAngle_36 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetUserTransform_37 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetUserViewTransform_38 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkCamera.vtkCamera_GetViewAngle_39 ( HandleRef  pThis) [private]
static internal uint Kitware.VTK.vtkCamera.vtkCamera_GetViewingRaysMTime_51 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetViewPlaneNormal_40 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetViewPlaneNormal_41 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetViewPlaneNormal_42 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetViewShear_43 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetViewShear_44 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetViewShear_45 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetViewTransformMatrix_46 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetViewTransformObject_47 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetViewUp_48 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetViewUp_49 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetViewUp_50 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_GetWindowCenter_52 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetWindowCenter_53 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_GetWindowCenter_54 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal int Kitware.VTK.vtkCamera.vtkCamera_IsA_55 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkCamera.vtkCamera_IsTypeOf_56 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_NewInstance_58 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_OrthogonalizeViewUp_59 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_ParallelProjectionOff_60 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_ParallelProjectionOn_61 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Pitch_62 ( HandleRef  pThis,
double  angle 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Render_63 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Roll_64 ( HandleRef  pThis,
double  angle 
) [private]
static internal IntPtr Kitware.VTK.vtkCamera.vtkCamera_SafeDownCast_65 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetClippingRange_66 ( HandleRef  pThis,
double  dNear,
double  dFar 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetClippingRange_67 ( HandleRef  pThis,
IntPtr  a 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetConfigParams_68 ( HandleRef  pThis,
double  o2screen,
double  o2right,
double  o2left,
double  o2top,
double  o2bottom,
double  interOccDist,
double  scale,
HandleRef  surfaceRot 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetDistance_69 ( HandleRef  pThis,
double  arg0 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetEyeAngle_70 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetFocalDisk_71 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetFocalPoint_72 ( HandleRef  pThis,
double  x,
double  y,
double  z 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetFocalPoint_73 ( HandleRef  pThis,
IntPtr  a 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetHeadPose_74 ( HandleRef  pThis,
double  x00,
double  x01,
double  x02,
double  x03,
double  x10,
double  x11,
double  x12,
double  x13,
double  x20,
double  x21,
double  x22,
double  x23,
double  x30,
double  x31,
double  x32,
double  x33 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetHeadTracked_75 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetLeftEye_76 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetObliqueAngles_77 ( HandleRef  pThis,
double  alpha,
double  beta 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetParallelProjection_78 ( HandleRef  pThis,
int  flag 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetParallelScale_79 ( HandleRef  pThis,
double  scale 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetPosition_80 ( HandleRef  pThis,
double  x,
double  y,
double  z 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetPosition_81 ( HandleRef  pThis,
IntPtr  a 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetRoll_82 ( HandleRef  pThis,
double  angle 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetThickness_83 ( HandleRef  pThis,
double  arg0 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetUseHorizontalViewAngle_84 ( HandleRef  pThis,
int  flag 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetUserTransform_85 ( HandleRef  pThis,
HandleRef  transform 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetUserViewTransform_86 ( HandleRef  pThis,
HandleRef  transform 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetViewAngle_87 ( HandleRef  pThis,
double  angle 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetViewShear_88 ( HandleRef  pThis,
double  dxdz,
double  dydz,
double  center 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetViewShear_89 ( HandleRef  pThis,
IntPtr  d 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetViewUp_90 ( HandleRef  pThis,
double  vx,
double  vy,
double  vz 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetViewUp_91 ( HandleRef  pThis,
IntPtr  a 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_SetWindowCenter_92 ( HandleRef  pThis,
double  x,
double  y 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_ShallowCopy_93 ( HandleRef  pThis,
HandleRef  source 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_UpdateViewport_94 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_UseHorizontalViewAngleOff_95 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_UseHorizontalViewAngleOn_96 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_ViewingRaysModified_97 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Yaw_98 ( HandleRef  pThis,
double  angle 
) [private]
static internal void Kitware.VTK.vtkCamera.vtkCamera_Zoom_99 ( HandleRef  pThis,
double  factor 
) [private]
void Kitware.VTK.vtkCamera.Yaw ( double  angle)

Rotate the focal point about the view up vector, using the camera's position as the center of rotation. Note that the view up vector is whatever was set via SetViewUp, and is not necessarily perpendicular to the direction of projection. The result is a horizontal rotation of the scene.

void Kitware.VTK.vtkCamera.Zoom ( double  factor)

In perspective mode, decrease the view angle by the specified factor. In parallel mode, decrease the parallel scale by the specified factor. A value greater than 1 is a zoom-in, a value less than 1 is a zoom-out.


Member Data Documentation

new readonly string Kitware.VTK.vtkCamera.MRClassNameKey = "9vtkCamera" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.

new const string Kitware.VTK.vtkCamera.MRFullTypeName = "Kitware.VTK.vtkCamera"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLCamera.


The documentation for this class was generated from the following file: