107 CROP_VIEWPORT_FILL_FRAME = 0,
108 CROP_VIEWPORT_LINE_FRAME = 1,
109 CROP_VIEWPORT_NO_FRAME = 2,
203 float aspect,
float slack) = 0;
208 virtual void jitter(
int numPasses,
int curPass,
232 static void getJitterSample(
int numPasses,
int curPass,
241#define SO_ASPECT_SQUARE 1.00
242#define SO_ASPECT_VIDEO 1.333333333
243#define SO_ASPECT_35mm_ACADEMY 1.371
244#define SO_ASPECT_16mm 1.369
245#define SO_ASPECT_35mm_FULL 1.33333
246#define SO_ASPECT_70mm 2.287
247#define SO_ASPECT_CINEMASCOPE 2.35
248#define SO_ASPECT_HDTV 1.777777777
249#define SO_ASPECT_PANAVISION 2.361
250#define SO_ASPECT_35mm 1.5
251#define SO_ASPECT_VISTAVISION 2.301
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_ABSTRACT_HEADER(className)
Macros to be called within the class definition header for a node subclass:
Class for representing a viewport.
Abstract base class for all actions.
Performs a generic traversal of the scene graph.
Abstract base class for camera nodes.
virtual void scaleHeight(float scaleFactor)=0
Scales the height of the camera.
SoCamera()
Makes this abstract.
SoSFVec3f position
The location of the camera viewpoint.
SoSFRotation orientation
The orientation of the camera viewpoint, defined as a rotation of the viewing direction from its defa...
virtual void callback(SoCallbackAction *action)
SbViewportRegion getViewportBounds(const SbViewportRegion ®ion) const
Returns the viewport region this camera would use to render into the given viewport region,...
SoSFFloat farDistance
Distance from viewpoint to far clipping plane.
SoSFFloat aspectRatio
The ratio of camera viewing width to height.
ViewportMapping
What will happen if the camera and.
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
SoSFFloat focalDistance
The distance from the viewpoint to the point of focus.
virtual void rayPick(SoRayPickAction *action)
virtual void jitter(int numPasses, int curPass, const SbViewportRegion &vpReg, SbVec3f &jitterAmount) const
Returns amount to jitter camera in normalized device coordinates (after projection) for anti-aliasing...
void viewAll(SoNode *sceneRoot, const SbViewportRegion &vpRegion, float slack=1.0)
Sets the camera up to view the scene under the given node or defined by the given path.
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
void viewAll(SoPath *path, const SbViewportRegion &vpRegion, float slack=1.0)
SoSFFloat nearDistance
Distance from viewpoint to view plane.
SoSFEnum viewportMapping
Defines how to map the rendered image into the current viewport, when the aspect ratio of the camera ...
virtual void viewBoundingBox(const SbBox3f &box, float aspect, float slack)=0
Subclasses must define this method, which changes the position and clipping planes of a camera to vie...
virtual SbViewVolume getViewVolume(float useAspectRatio=0.0) const =0
Returns a view volume structure, based on the camera's viewing parameters.
void pointAt(const SbVec3f &targetPoint)
Sets the orientation of the camera so that it points toward the given target point while keeping the ...
virtual void handleEvent(SoHandleEventAction *action)
virtual void doAction(SoAction *action)
This method performs the "typical" operation of a node for any action.
Renders a scene graph using OpenGL.
Computes bounding box of a scene.
Allows nodes in a graph to receive input events.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Intersects objects with a ray cast into scene.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a rotation.
Field containing a three-dimensional vector.