SoOrthographicCamera man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



						     SoOrthographicCamera(3IV)

NAME
     SoOrthographicCamera (SoOrthoCam) - orthographic camera node

INHERITS FROM
     SoBase > SoFieldContainer > SoNode > SoCamera > SoOrthographicCamera

SYNOPSIS
     #include <Inventor_c/nodes/SoOrthographicCamera.h>

     typedef SoOrthographicCamera
			 SoOrthoCam

	  Fields from class SoOrthographicCamera:

     SoSFFloat		 height

	  Fields from class SoCamera:

     SoSFEnum		 viewportMapping
     SoSFVec3f		 position
     SoSFRotation	 orientation
     SoSFFloat		 aspectRatio
     SoSFFloat		 nearDistance
     SoSFFloat		 farDistance
     SoSFFloat		 focalDistance

	  Functions from class SoOrthographicCamera:

     SoOrthographicCamera *  SoOrthoCamCreate()
     SoType		     SoOrthoCamGetClassTypeId()

	  Functions from class SoCamera:

     void		 SoOrthoCamPtAt(SoOrthoCam *this, const SbVec3f
			      *targetPoint)
     void		 SoOrthoCamScaleHeight(SoOrthoCam *this, float
			      scaleFactor)
     SbViewVolume	 SoOrthoCamGetViewVol(const SoOrthoCam *this, float
			      useAspectRatio = 0.0)
     void		 SoOrthoCamViewAll(SoOrthoCam *this, SoNode
			      *sceneRoot, const SbViewportRegion *vpRegion,
			      float slack = 1.0)
     void		 SoOrthoCamViewAllPath(SoOrthoCam *this, SoPath *path,
			      const SbViewportRegion *vpRegion, float slack =
			      1.0)
     SbViewportRegion	 SoOrthoCamGetVpBounds(const SoOrthoCam *this, const
			      SbViewportRegion *region)

	  Functions from class SoNode:

     void		 SoOrthoCamSetOverride(SoOrthoCam *this, SbBool state)

Page 1

SoOrthographicCamera(3IV)

     SbBool		 SoOrthoCamIsOverride(const SoOrthoCam *this)
     SoNode *		 SoOrthoCamCopy(const SoOrthoCam *this, SbBool
			      copyConnections = FALSE)
     SbBool		 SoOrthoCamAffectsState(const SoOrthoCam *this)
     SoNode *		 SoOrthoCamGetByName(const char *name)
     int		 SoOrthoCamGetByNameList(const char *name, SoNodeList
			      *list)

	  Functions from class SoFieldContainer:

     void		 SoOrthoCamSetToDflts(SoOrthoCam *this)
     SbBool		 SoOrthoCamHasDfltVals(const SoOrthoCam *this)
     SbBool		 SoOrthoCamFldsAreEq(const SoOrthoCam *this, const
			      SoFieldContainer *fc)
     void		 SoOrthoCamCopyFieldVals(SoOrthoCam *this, const
			      SoFieldContainer *fc, SbBool copyConnections =
			      FALSE)
     SbBool		 SoOrthoCamSet(SoOrthoCam *this, const char
			      *fieldDataString)
     void		 SoOrthoCamGet(SoOrthoCam *this, SbString
			      *fieldDataString)
     int		 SoOrthoCamGetFields(const SoOrthoCam *this,
			      SoFieldList *resultList)
     SoField *		 SoOrthoCamGetField(const SoOrthoCam *this, const char
			      *fieldName)
     SbBool		 SoOrthoCamGetFieldName(const SoOrthoCam *this, const
			      SoField *field, SbName *fieldName)
     SbBool		 SoOrthoCamIsNotifyEnabled(const SoOrthoCam *this)
     SbBool		 SoOrthoCamEnableNotify(SoOrthoCam *this, SbBool flag)

	  Functions from class SoBase:

     void		 SoOrthoCamRef(SoOrthoCam *this)
     void		 SoOrthoCamUnref(const SoOrthoCam *this)
     void		 SoOrthoCamUnrefNoDelete(const SoOrthoCam *this)
     void		 SoOrthoCamTouch(SoOrthoCam *this)
     SoType		 SoOrthoCamGetTypeId(const SoOrthoCam *this)
     SbBool		 SoOrthoCamIsOfType(const SoOrthoCam *this, SoType
			      type)
     void		 SoOrthoCamSetName(SoOrthoCam *this, const char *name)
     SbName		 SoOrthoCamGetName(const SoOrthoCam *this)

DESCRIPTION
     An orthographic camera defines a parallel projection from a viewpoint.
     This camera does not diminish objects with distance, as an
     SoPerspectiveCamera does. The viewing volume for an orthographic camera
     is a rectangular parallelepiped (a box).

     By default, the camera is located at (0,0,1) and looks along the negative
     z-axis; the position and orientation fields can be used to change these
     values. The height field defines the total height of the viewing volume;

Page 2

						     SoOrthographicCamera(3IV)

     this and the aspectRatio field determine its width.

FIELDS
     SoSFFloat		 height
	  Height of the viewing volume.

FUNCTIONS
     SoOrthographicCamera *  SoOrthoCamCreate()
	  Creates an orthographic camera node with default settings.

     SoType		     SoOrthoCamGetClassTypeId()
	  Returns type identifier for this class.

ACTION BEHAVIOR
     SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,
     SoHandleEventAction, SoRayPickAction
	  Sets the viewport and camera information in the state.

FILE FORMAT/DEFAULTS
     OrthographicCamera {
	  viewportMapping  ADJUST_CAMERA
	  position	   0 0 1
	  orientation	   0 0 1  0
	  aspectRatio	   1
	  nearDistance	   1
	  farDistance	   10
	  focalDistance	   5
	  height	   2
     }

SEE ALSO
     SbViewVolume, SoPerspectiveCamera

Page 3

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net