Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NBFSimpleCamera Struct Reference

The NBFSimpleCamera represents a simple monoscopic camera. More...

#include <NBF.h>

Inheritance diagram for NBFSimpleCamera:

Inheritance graph
[legend]
Collaboration diagram for NBFSimpleCamera:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PADDING (3)
 Padding bits to ensure offset of windowSize is on a 4-byte boundary, regardless of packing.

Public Attributes

uint_t numHeadLights
 Specifies the number of headlights attached.
uint_t headLights
float3_t upVector
 Specifies the camera's normalized up vector.
float3_t position
 Specifies the actual position of camera in world space.
float3_t direction
 Specifies the normalized direction for the camera to look along.
float farDist
 Specifies the distance from the actual camera position to the far clipping plane.
float nearDist
 Specifies the distance from the actual camera position to the near clipping plane.
float targDist
 Specifies the distance to the projection plane.
float projectionDx
 Specifies the translation of projection (used with stereo for example).
ubyte_t isAutoClipPlanes
 Indicates if automatic generation of clipping planes is enabled.
float2_t windowSize
float2_t windowOffset

Detailed Description

The NBFSimpleCamera represents a simple monoscopic camera.

A NBFSimpleCamera serves as base class only.
Concrete object codes valid for a NBFSimpleCamera are NBF_PARALLEL_CAMERA and NBF_PERSPECTIVE_CAMERA. Further object codes valid for a NBFSimpleCamera are subject to future extensions for the NBF format.


Member Function Documentation

NBFSimpleCamera::PADDING  ) 
 

Padding bits to ensure offset of windowSize is on a 4-byte boundary, regardless of packing.

Reimplemented from NBFObject.


Member Data Documentation

uint_t NBFSimpleCamera::numHeadLights
 

Specifies the number of headlights attached.

uint_t NBFSimpleCamera::headLights
 

Specifies the file offset to the offsets to the attached headlight objects. Headlights are of type NBFLightSource.

float3_t NBFSimpleCamera::upVector
 

Specifies the camera's normalized up vector.

float3_t NBFSimpleCamera::position
 

Specifies the actual position of camera in world space.

float3_t NBFSimpleCamera::direction
 

Specifies the normalized direction for the camera to look along.

float NBFSimpleCamera::farDist
 

Specifies the distance from the actual camera position to the far clipping plane.

float NBFSimpleCamera::nearDist
 

Specifies the distance from the actual camera position to the near clipping plane.

float NBFSimpleCamera::targDist
 

Specifies the distance to the projection plane.

float NBFSimpleCamera::projectionDx
 

Specifies the translation of projection (used with stereo for example).

ubyte_t NBFSimpleCamera::isAutoClipPlanes
 

Indicates if automatic generation of clipping planes is enabled.

float2_t NBFSimpleCamera::windowSize
 

Specifies the world-relative size of the viewing window. Whereas the x-component of of the vector specifies the width, and the y-component of the vector specifies the height.

float2_t NBFSimpleCamera::windowOffset
 

Specifies the world-relative offset from the viewing reference point to the center of the viewing window.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 1 13:20:30 2005 for NVSGSDK by NVIDIA