35 SLVec3f nearRT, nearRB, nearLT, nearLB;
#define SL_DB_HIDDEN
Flags an object as hidden.
@ P_monoOrthographic
standard mono orthographic projection
vector< SLVec3f > SLVVec3f
SLVec3< SLfloat > SLVec3f
void renderInScene(const SLMat4f &wm, const SLVec3f <, const SLVec3f &LB, const SLVec3f &RT, const SLVec3f &RB)
Draws the background as a quad on the far clipping plane.
Active or visible camera node class.
SLBackground _background
Colors or texture displayed in the background.
SLfloat _fovV
Current vertical field of view (view angle) in degrees.
SLfloat _clipNear
Dist. to the near clipping plane.
SLGLVertexArrayExt _vao
OpenGL Vertex array for rendering.
SLProjType _projType
Projection type.
void generateVertexPos(SLVVec2f *p)
Adds or updates & generates a position vertex attribute for colored line or point drawing.
void drawArrayAsColored(SLGLPrimitiveType primitiveType, SLCol4f color, SLfloat lineOrPointSize=1.0f, SLuint indexFirstVertex=0, SLuint countVertices=0)
Draws the array as the specified primitive with the color.
SLKeyframeCamera(SLstring name="Camera")
virtual void drawMesh(SLSceneView *sv)
SLKeyframeCamera::drawMeshes draws the cameras frustum lines.
void setDrawColor(SLCol4f color=SLCol4f::WHITE *0.7f)
SLKeyframeCamera::setDrawColor specify which color should be use.
SLVec3< T > translation() const
const SLMat4f & updateAndGetWM() const
const SLMat4f & updateAndGetWMI() const
SLNode * singleNodeSelected()
Returns the node if only one is selected. See also SLMesh::selectNodeMesh.
SceneView class represents a dynamic real time 3D view onto the scene.
void camera(SLCamera *camera)
SLbool drawBit(SLuint bit)
void set(const T X, const T Y, const T Z)
static const float DEG2RAD