Camera
Context: Sofa.Component.Visual
A Camera that render the scene from a given location & orientation.
- Data:
name : object name
printLog : if true, emits extra messages at runtime.
tags : list of the subsets the objet belongs to
bbox : this object bounding box
componentState : The state of the component among (Dirty, Valid, Undefined, Loading, Invalid).
listening : if true, handle the events, otherwise ignore the events
position : Camera’s position
orientation : Camera’s orientation
lookAt : Camera’s look at
distance : Distance between camera and look at
fieldOfView : Camera’s FOV
zNear : Camera’s zNear
zFar : Camera’s zFar
computeZClip : Compute Z clip planes (Near and Far) according to the bounding box
minBBox : minBBox
maxBBox : maxBBox
widthViewport : widthViewport
heightViewport : heightViewport
projectionType : Camera Type (0 = Perspective, 1 = Orthographic)
activated : Camera activated ?
fixedLookAt : keep the lookAt point always fixed
modelViewMatrix : ModelView Matrix
projectionMatrix : Projection Matrix
- Links:
context : Graph Node containing this object (or BaseContext::getDefault() if no graph is used
slaves : Sub-objects used internally by this object
master : nullptr for regular objects, or master object for which this object is one sub-objects