ActiViz .NET
5.10.1
|
vtkCamera - a virtual camera for 3D rendering More...
Public Member Functions | |
vtkCamera (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
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). More... | |
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. More... | |
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. More... | |
void | ComputeViewPlaneNormal () |
This method is called automatically whenever necessary, it should never be used outside of vtkCamera.cxx. More... | |
void | DeepCopy (vtkCamera source) |
Copy the properties of source' into this'. Copy the contents of the matrices. More... | |
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. More... | |
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. More... | |
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). More... | |
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix. More... | |
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix. More... | |
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix. More... | |
virtual vtkMatrix4x4 | GetCompositePerspectiveTransformMatrix (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]). WARNING: the name of the method is wrong, it should be GetCompositeProjectionTransformMatrix() (it is used also in parallel projection) More... | |
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]). More... | |
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. More... | |
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. More... | |
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. More... | |
virtual double | GetDistance () |
Return the distance from the camera position to the focal point. This distance is positive. More... | |
virtual double | GetEyeAngle () |
Set/Get the separation between eyes (in degrees). This is used when generating stereo images. More... | |
void | GetEyePlaneNormal (IntPtr normal) |
Get normal vector from eye to screen rotated by EyeTransformMatrix. This will be used only for offaxis frustum calculation. More... | |
void | GetEyePosition (IntPtr eyePosition) |
Set/Get the eye position (center point between two eyes). This is a convenience function that sets the translation component of EyeTransformMatrix. This will be used only for offaxis frustum calculation. More... | |
virtual double | GetEyeSeparation () |
Set/Get distance between the eyes. This will be used only for offaxis frustum calculation. Default is 0.06. More... | |
virtual vtkMatrix4x4 | GetEyeTransformMatrix () |
Set/Get eye transformation matrix. This is the transformation matrix for the point between eyes. This will be used only for offaxis frustum calculation. Default is identity. More... | |
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. More... | |
virtual double[] | GetFocalPoint () |
Set/Get the focal of the camera in world coordinates. The default focal point is the origin. More... | |
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. More... | |
virtual void | GetFocalPoint (IntPtr _arg) |
Set/Get the focal of the camera in world coordinates. The default focal point is the origin. More... | |
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 More... | |
virtual int | GetLeftEye () |
Set the Left Eye setting More... | |
virtual vtkMatrix4x4 | GetModelTransformMatrix () |
Set/Get model transformation matrix. This matrix could be used for model related transformations such as scale, shear, roations and translations. More... | |
virtual vtkMatrix4x4 | GetModelViewTransformMatrix () |
Return the model view matrix of model view transform. More... | |
virtual vtkTransform | GetModelViewTransformObject () |
Return the model view transform. More... | |
double[] | GetOrientation () |
Get the orientation of the camera. More... | |
double[] | GetOrientationWXYZ () |
Get the orientation of the camera. More... | |
virtual int | GetParallelProjection () |
Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection. More... | |
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. More... | |
virtual vtkMatrix4x4 | GetPerspectiveTransformMatrix (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]). WARNING: the name of the method is wrong, it should be GetProjectionTransformMatrix() (it is used also in parallel projection) More... | |
virtual double[] | GetPosition () |
Set/Get the position of the camera in world coordinates. The default position is (0,0,1). More... | |
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). More... | |
virtual void | GetPosition (IntPtr _arg) |
Set/Get the position of the camera in world coordinates. The default position is (0,0,1). More... | |
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]). More... | |
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]). More... | |
double | GetRoll () |
Set the roll angle of the camera about the direction of projection. More... | |
virtual double[] | GetScreenBottomLeft () |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0). More... | |
virtual void | GetScreenBottomLeft (ref double _arg1, ref double _arg2, ref double _arg3) |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0). More... | |
virtual void | GetScreenBottomLeft (IntPtr _arg) |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0). More... | |
virtual void | GetScreenBottomRight (IntPtr _arg) |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0). More... | |
virtual double[] | GetScreenBottomRight () |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0). More... | |
virtual void | GetScreenBottomRight (ref double _arg1, ref double _arg2, ref double _arg3) |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0). More... | |
virtual double[] | GetScreenTopRight () |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0). More... | |
virtual void | GetScreenTopRight (ref double _arg1, ref double _arg2, ref double _arg3) |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0). More... | |
virtual void | GetScreenTopRight (IntPtr _arg) |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0). More... | |
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. More... | |
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. More... | |
virtual int | GetUseOffAxisProjection () |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992. More... | |
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 More... | |
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 More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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). More... | |
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). More... | |
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). More... | |
virtual vtkMatrix4x4 | GetViewTransformMatrix () |
For backward compatibility. Use GetModelViewTransformMatrix() now. 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. More... | |
virtual vtkTransform | GetViewTransformObject () |
For backward compatibility. Use GetModelViewTransformObject() now. Return the view transform. If the camera's ModelTransformMatrix is identity then 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. More... | |
virtual double[] | GetViewUp () |
Set/Get the view up direction for the camera. The default is (0,1,0). More... | |
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). More... | |
virtual void | GetViewUp (IntPtr _arg) |
Set/Get the view up direction for the camera. The default is (0,1,0). More... | |
uint | GetViewingRaysMTime () |
Return the MTime that concerns recomputing the view rays of the camera. More... | |
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. More... | |
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. More... | |
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. More... | |
override int | IsA (string type) |
Undocumented Block More... | |
new vtkCamera | NewInstance () |
Undocumented Block More... | |
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. More... | |
virtual void | ParallelProjectionOff () |
Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection. More... | |
virtual void | ParallelProjectionOn () |
Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection. More... | |
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. More... | |
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() More... | |
void | Roll (double angle) |
Rotate the camera about the direction of projection. This will spin the camera about its axis. More... | |
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix. More... | |
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix. More... | |
void | SetDistance (double arg0) |
Move the focal point so that it is the specified distance from the camera position. This distance must be positive. More... | |
virtual void | SetEyeAngle (double _arg) |
Set/Get the separation between eyes (in degrees). This is used when generating stereo images. More... | |
void | SetEyePosition (IntPtr eyePosition) |
Set/Get the eye position (center point between two eyes). This is a convenience function that sets the translation component of EyeTransformMatrix. This will be used only for offaxis frustum calculation. More... | |
virtual void | SetEyeSeparation (double _arg) |
Set/Get distance between the eyes. This will be used only for offaxis frustum calculation. Default is 0.06. More... | |
void | SetEyeTransformMatrix (vtkMatrix4x4 matrix) |
Set/Get eye transformation matrix. This is the transformation matrix for the point between eyes. This will be used only for offaxis frustum calculation. Default is identity. More... | |
void | SetEyeTransformMatrix (IntPtr elements) |
Set the eye transform matrix. This is the transformation matrix for the point between eyes. This will be used only for offaxis frustum calculation. Default is identity. More... | |
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. More... | |
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. More... | |
void | SetFocalPoint (IntPtr a) |
Set/Get the focal of the camera in world coordinates. The default focal point is the origin. More... | |
virtual void | SetLeftEye (int _arg) |
Set the Left Eye setting More... | |
void | SetModelTransformMatrix (vtkMatrix4x4 matrix) |
Set/Get model transformation matrix. This matrix could be used for model related transformations such as scale, shear, roations and translations. More... | |
void | SetModelTransformMatrix (IntPtr elements) |
Set model transformation matrix. This matrix could be used for model related transformations such as scale, shear, roations and translations. More... | |
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). More... | |
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. More... | |
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. More... | |
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). More... | |
void | SetPosition (IntPtr a) |
Set/Get the position of the camera in world coordinates. The default position is (0,0,1). More... | |
void | SetRoll (double angle) |
Set the roll angle of the camera about the direction of projection. More... | |
virtual void | SetScreenBottomLeft (double _arg1, double _arg2, double _arg3) |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0). More... | |
virtual void | SetScreenBottomLeft (IntPtr _arg) |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0). More... | |
virtual void | SetScreenBottomRight (double _arg1, double _arg2, double _arg3) |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0). More... | |
virtual void | SetScreenBottomRight (IntPtr _arg) |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0). More... | |
virtual void | SetScreenTopRight (double _arg1, double _arg2, double _arg3) |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0). More... | |
virtual void | SetScreenTopRight (IntPtr _arg) |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0). More... | |
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. More... | |
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. More... | |
virtual void | SetUseOffAxisProjection (int _arg) |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992. More... | |
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 More... | |
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 More... | |
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. More... | |
void | SetViewPlaneNormal (double x, double y, double z) |
void | SetViewPlaneNormal (IntPtr a) |
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). More... | |
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). More... | |
void | SetViewUp (double vx, double vy, double vz) |
Set/Get the view up direction for the camera. The default is (0,1,0). More... | |
void | SetViewUp (IntPtr a) |
Set/Get the view up direction for the camera. The default is (0,1,0). More... | |
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. More... | |
void | ShallowCopy (vtkCamera source) |
Copy the properties of source' into this'. Copy pointers of matrices. More... | |
virtual void | UpdateViewport (vtkRenderer arg0) |
Update the viewport More... | |
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. More... | |
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. More... | |
virtual void | UseOffAxisProjectionOff () |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992. More... | |
virtual void | UseOffAxisProjectionOn () |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992. More... | |
void | ViewingRaysModified () |
Mark that something has changed which requires the view rays to be recomputed. More... | |
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. More... | |
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. More... | |
![]() | |
vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkObject () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
virtual void | DebugOff () |
Turn debugging output off. More... | |
virtual void | DebugOn () |
Turn debugging output on. More... | |
vtkCommand | GetCommand (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
byte | GetDebug () |
Get the value of the debug flag. More... | |
virtual uint | GetMTime () |
Return this object's modified time. More... | |
int | HasObserver (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (uint arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (string arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
override int | IsA (string type) |
Undocumented Block More... | |
virtual void | Modified () |
Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer. More... | |
vtkObject | NewInstance () |
Undocumented Block More... | |
void | RemoveAllObservers () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObserver (vtkCommand arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObserver (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | SetDebug (byte debugFlag) |
Set the value of the debug flag. A non-zero value turns debugging on. More... | |
override string | ToString () |
Returns the result of calling vtkObject::Print as a C# string. More... | |
delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
Generic signature for all vtkObject events. More... | |
void | RemoveAllHandlersForAllEvents () |
Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen... More... | |
![]() | |
vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkObjectBase () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
virtual void | Register (vtkObjectBase o) |
Increase the reference count (mark as used by another object). More... | |
virtual void | FastDelete () |
Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done. More... | |
string | GetClassName () |
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h. More... | |
int | GetReferenceCount () |
Return the current reference count of this object. More... | |
void | SetReferenceCount (int arg0) |
Sets the reference count. (This is very dangerous, use with care.) More... | |
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). More... | |
static new int | IsTypeOf (string type) |
Undocumented Block More... | |
static new vtkCamera | SafeDownCast (vtkObjectBase o) |
Undocumented Block More... | |
![]() | |
static new vtkObject | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. It allows the debugger to break on error. More... | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static new int | IsTypeOf (string type) |
Undocumented Block More... | |
static vtkObject | SafeDownCast (vtkObjectBase o) |
Undocumented Block More... | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
![]() | |
static vtkObjectBase | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static int | IsTypeOf (string name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. More... | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkCamera" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObject" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObjectBase" |
Automatically generated type registration mechanics. More... | |
![]() | |
const string | vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so" |
Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable. More... | |
const string | vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so" |
Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable. More... | |
const string | vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so" |
Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so" |
Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so" |
Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable. More... | |
const string | vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so" |
Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable. More... | |
const string | vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so" |
Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable. More... | |
const string | vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so" |
Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable. More... | |
const string | vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so" |
Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable. More... | |
const string | vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so" |
Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable. More... | |
const string | vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so" |
Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable. More... | |
const string | vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so" |
Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so" |
Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable. More... | |
const string | vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so" |
Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so" |
Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable. More... | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "9vtkCamera" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "9vtkObject" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "13vtkObjectBase" |
Automatically generated type registration mechanics. More... | |
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. More... | |
![]() | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More... | |
![]() | |
override void | Dispose (bool disposing) |
Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1). More... | |
![]() | |
WrappedObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Constructor expected by the mummy Runtime. More... | |
Static Private Member Functions | |
static | vtkCamera () |
Automatically generated type registration mechanics. More... | |
Additional Inherited Members | |
![]() | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AbortCheckEvt |
The AbortCheckEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AbortCheckEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnimationCueTickEvt |
The AnimationCueTickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnimationCueTickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnyEvt |
The AnyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnyEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CharEvt |
The CharEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CharEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConfigureEvt |
The ConfigureEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConfigureEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionClosedEvt |
The ConnectionClosedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionClosedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionCreatedEvt |
The ConnectionCreatedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionCreatedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CreateTimerEvt |
The CreateTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CreateTimerEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CursorChangedEvt |
The CursorChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CursorChangedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DeleteEvt |
The DeleteEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DeleteEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DestroyTimerEvt |
The DestroyTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DestroyTimerEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DisableEvt |
The DisableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DisableEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DomainModifiedEvt |
The DomainModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DomainModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnableEvt |
The EnableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnableEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndAnimationCueEvt |
The EndAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndAnimationCueEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndEvt |
The EndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndInteractionEvt |
The EndInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndInteractionEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndPickEvt |
The EndPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndPickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndWindowLevelEvt |
The EndWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndWindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnterEvt |
The EnterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnterEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ErrorEvt |
The ErrorEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ErrorEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExecuteInformationEvt |
The ExecuteInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExecuteInformationEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExitEvt |
The ExitEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExitEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExposeEvt |
The ExposeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExposeEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | InteractionEvt |
The InteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.InteractionEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyPressEvt |
The KeyPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyReleaseEvt |
The KeyReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeaveEvt |
The LeaveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeaveEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonPressEvt |
The LeftButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonReleaseEvt |
The LeftButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonPressEvt |
The MiddleButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonReleaseEvt |
The MiddleButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ModifiedEvt |
The ModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseMoveEvt |
The MouseMoveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseMoveEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelBackwardEvt |
The MouseWheelBackwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelBackwardEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelForwardEvt |
The MouseWheelForwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelForwardEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PickEvt |
The PickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlacePointEvt |
The PlacePointEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlacePointEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlaceWidgetEvt |
The PlaceWidgetEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlaceWidgetEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ProgressEvt |
The ProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ProgressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PropertyModifiedEvt |
The PropertyModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PropertyModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RegisterEvt |
The RegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RegisterEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderEvt |
The RenderEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderWindowMessageEvt |
The RenderWindowMessageEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderWindowMessageEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraClippingRangeEvt |
The ResetCameraClippingRangeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraClippingRangeEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraEvt |
The ResetCameraEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetWindowLevelEvt |
The ResetWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetWindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonPressEvt |
The RightButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonReleaseEvt |
The RightButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SelectionChangedEvt |
The SelectionChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SelectionChangedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SetOutputEvt |
The SetOutputEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SetOutputEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartAnimationCueEvt |
The StartAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartAnimationCueEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartEvt |
The StartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartInteractionEvt |
The StartInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartInteractionEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartPickEvt |
The StartPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartPickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartWindowLevelEvt |
The StartWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartWindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | TimerEvt |
The TimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.TimerEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UnRegisterEvt |
The UnRegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UnRegisterEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateEvt |
The UpdateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateInformationEvt |
The UpdateInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateInformationEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdatePropertyEvt |
The UpdatePropertyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdatePropertyEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsEndEvt |
The VolumeMapperComputeGradientsEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsEndEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsProgressEvt |
The VolumeMapperComputeGradientsProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsProgressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsStartEvt |
The VolumeMapperComputeGradientsStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsStartEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderEndEvt |
The VolumeMapperRenderEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderEndEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderProgressEvt |
The VolumeMapperRenderProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderProgressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderStartEvt |
The VolumeMapperRenderStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderStartEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WarningEvt |
The WarningEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WarningEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetActivateEvt |
The WidgetActivateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetActivateEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetModifiedEvt |
The WidgetModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetValueChangedEvt |
The WidgetValueChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetValueChangedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WindowLevelEvt |
The WindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WrongTagEvt |
The WrongTagEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WrongTagEvent as the eventId parameter. More... | |
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.
|
staticprivate |
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.
Kitware.VTK.vtkCamera.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 Kitware.VTK.vtkCamera.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 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.
void Kitware.VTK.vtkCamera.ComputeViewPlaneNormal | ( | ) |
This method is called automatically whenever necessary, it should never be used outside of vtkCamera.cxx.
void Kitware.VTK.vtkCamera.DeepCopy | ( | vtkCamera | source | ) |
Copy the properties of source' into
this'. Copy the contents of the matrices.
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
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.
vtkMatrix4x4 Kitware.VTK.vtkCamera.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 |
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix.
|
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix.
|
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix.
|
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]). WARNING: the name of the method is wrong, it should be GetCompositeProjectionTransformMatrix() (it is used also in parallel projection)
|
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]).
|
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 |
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 |
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 |
Return the distance from the camera position to the focal point. This distance is positive.
|
virtual |
Set/Get the separation between eyes (in degrees). This is used when generating stereo images.
void Kitware.VTK.vtkCamera.GetEyePlaneNormal | ( | IntPtr | normal | ) |
Get normal vector from eye to screen rotated by EyeTransformMatrix. This will be used only for offaxis frustum calculation.
void Kitware.VTK.vtkCamera.GetEyePosition | ( | IntPtr | eyePosition | ) |
Set/Get the eye position (center point between two eyes). This is a convenience function that sets the translation component of EyeTransformMatrix. This will be used only for offaxis frustum calculation.
|
virtual |
Set/Get distance between the eyes. This will be used only for offaxis frustum calculation. Default is 0.06.
|
virtual |
Set/Get eye transformation matrix. This is the transformation matrix for the point between eyes. This will be used only for offaxis frustum calculation. Default is identity.
|
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 |
Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
|
virtual |
Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
|
virtual |
Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
|
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 |
Set the Left Eye setting
|
virtual |
Set/Get model transformation matrix. This matrix could be used for model related transformations such as scale, shear, roations and translations.
|
virtual |
Return the model view matrix of model view transform.
|
virtual |
Return the model view transform.
double [] Kitware.VTK.vtkCamera.GetOrientation | ( | ) |
Get the orientation of the camera.
double [] Kitware.VTK.vtkCamera.GetOrientationWXYZ | ( | ) |
Get the orientation of the camera.
|
virtual |
Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.
|
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 |
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]). WARNING: the name of the method is wrong, it should be GetProjectionTransformMatrix() (it is used also in parallel projection)
|
virtual |
Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
|
virtual |
Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
|
virtual |
Set/Get the position of the camera in world coordinates. The default position is (0,0,1).
|
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]).
|
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]).
double Kitware.VTK.vtkCamera.GetRoll | ( | ) |
Set the roll angle of the camera about the direction of projection.
|
virtual |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0).
|
virtual |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0).
|
virtual |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0).
|
virtual |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0).
|
virtual |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0).
|
virtual |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0).
|
virtual |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0).
|
virtual |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0).
|
virtual |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0).
|
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.
|
virtual |
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 |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992.
|
virtual |
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 |
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 |
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.
uint Kitware.VTK.vtkCamera.GetViewingRaysMTime | ( | ) |
Return the MTime that concerns recomputing the view rays of the camera.
|
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 |
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 |
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 |
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 |
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 |
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 |
For backward compatibility. Use GetModelViewTransformMatrix() now. 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 |
For backward compatibility. Use GetModelViewTransformObject() now. Return the view transform. If the camera's ModelTransformMatrix is identity then 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 |
Set/Get the view up direction for the camera. The default is (0,1,0).
|
virtual |
Set/Get the view up direction for the camera. The default is (0,1,0).
|
virtual |
Set/Get the view up direction for the camera. The default is (0,1,0).
|
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 |
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 |
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 |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObjectBase.
Reimplemented in Kitware.VTK.vtkOpenGLCamera.
|
static |
Undocumented Block
|
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).
new vtkCamera Kitware.VTK.vtkCamera.NewInstance | ( | ) |
Undocumented Block
void Kitware.VTK.vtkCamera.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 |
Set/Get the value of the ParallelProjection instance variable. This determines if the camera should do a perspective or parallel projection.
|
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 |
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.
|
static |
Undocumented Block
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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix.
void Kitware.VTK.vtkCamera.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). Clipping distance is measured in world coordinate unless a scale factor exists in camera's ModelTransformMatrix.
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 |
Set/Get the separation between eyes (in degrees). This is used when generating stereo images.
void Kitware.VTK.vtkCamera.SetEyePosition | ( | IntPtr | eyePosition | ) |
Set/Get the eye position (center point between two eyes). This is a convenience function that sets the translation component of EyeTransformMatrix. This will be used only for offaxis frustum calculation.
|
virtual |
Set/Get distance between the eyes. This will be used only for offaxis frustum calculation. Default is 0.06.
void Kitware.VTK.vtkCamera.SetEyeTransformMatrix | ( | vtkMatrix4x4 | matrix | ) |
Set/Get eye transformation matrix. This is the transformation matrix for the point between eyes. This will be used only for offaxis frustum calculation. Default is identity.
void Kitware.VTK.vtkCamera.SetEyeTransformMatrix | ( | IntPtr | elements | ) |
Set the eye transform matrix. This is the transformation matrix for the point between eyes. This will be used only for offaxis frustum calculation. Default is identity.
|
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.
void Kitware.VTK.vtkCamera.SetFocalPoint | ( | IntPtr | a | ) |
Set/Get the focal of the camera in world coordinates. The default focal point is the origin.
|
virtual |
Set the Left Eye setting
void Kitware.VTK.vtkCamera.SetModelTransformMatrix | ( | vtkMatrix4x4 | matrix | ) |
Set/Get model transformation matrix. This matrix could be used for model related transformations such as scale, shear, roations and translations.
void Kitware.VTK.vtkCamera.SetModelTransformMatrix | ( | IntPtr | elements | ) |
Set model transformation matrix. This matrix could be used for model related transformations such as scale, shear, roations and translations.
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).
void Kitware.VTK.vtkCamera.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 Kitware.VTK.vtkCamera.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 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).
void Kitware.VTK.vtkCamera.SetPosition | ( | IntPtr | a | ) |
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.
|
virtual |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0).
|
virtual |
Set/Get top left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (-1.0, -1.0, -1.0).
|
virtual |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0).
|
virtual |
Set/Get bottom left corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, -1.0, -1.0).
|
virtual |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0).
|
virtual |
Set/Get top right corner point of the screen. This will be used only for offaxis frustum calculation. Default is (1.0, 1.0, -1.0).
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.
void Kitware.VTK.vtkCamera.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.
|
virtual |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992.
void Kitware.VTK.vtkCamera.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 Kitware.VTK.vtkCamera.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 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.SetViewPlaneNormal | ( | double | x, |
double | y, | ||
double | z | ||
) |
void Kitware.VTK.vtkCamera.SetViewPlaneNormal | ( | IntPtr | a | ) |
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).
void Kitware.VTK.vtkCamera.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 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.
void Kitware.VTK.vtkCamera.ShallowCopy | ( | vtkCamera | source | ) |
Copy the properties of source' into
this'. Copy pointers of matrices.
|
virtual |
Update the viewport
Reimplemented in Kitware.VTK.vtkOpenGLCamera.
|
virtual |
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 |
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 |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992.
|
virtual |
Set/Get use offaxis frustum. OffAxis frustum is used for off-axis frustum calculations specificly for stereo rendering. For reference see "High Resolution Virtual Reality", in Proc. SIGGRAPH '92, Computer Graphics, pages 195-202, 1992.
void Kitware.VTK.vtkCamera.ViewingRaysModified | ( | ) |
Mark that something has changed which requires the view rays to be recomputed.
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.
|
static |
Automatically generated type registration mechanics.
new const string Kitware.VTK.vtkCamera.MRFullTypeName = "Kitware.VTK.vtkCamera" |
Automatically generated type registration mechanics.