Logo Search packages:      
Sourcecode: blender version File versions

RAS_IRasterizer Class Reference

#include <RAS_IRasterizer.h>

Inheritance diagram for RAS_IRasterizer:

RAS_OpenGLRasterizer RAS_VAOpenGLRasterizer

List of all members.


Detailed Description

3D rendering device context interface.

Definition at line 49 of file RAS_IRasterizer.h.


Public Types

enum  { RAS_RENDER_3DPOLYGON_TEXT = 16384 }
enum  { KX_TWOSIDE = 512, KX_LINES = 32768 }
enum  DepthMask { KX_DEPTHMASK_ENABLED = 1, KX_DEPTHMASK_DISABLED }
enum  DrawType {
  KX_BOUNDINGBOX = 1, KX_WIREFRAME, KX_SOLID, KX_SHADED,
  KX_TEXTURED
}
enum  StereoEye { RAS_STEREO_LEFTEYE = 1, RAS_STEREO_RIGHTEYE }
enum  StereoMode {
  RAS_STEREO_NOSTEREO = 1, RAS_STEREO_QUADBUFFERED, RAS_STEREO_ABOVEBELOW, RAS_STEREO_INTERLACED,
  RAS_STEREO_ANAGLYPH, RAS_STEREO_SIDEBYSIDE, RAS_STEREO_VINTERLACE, RAS_STEREO_MAXSTEREO
}

Public Member Functions

virtual bool BeginFrame (int drawingmode, double time)=0
virtual void ClearCachingInfo (void)=0
virtual void ClearDepthBuffer ()=0
virtual void DisableFog ()=0
virtual void DisplayFog ()=0
virtual void EnableTextures (bool enable)=0
virtual void EndFrame ()=0
virtual void Exit ()=0
virtual const MT_Point3GetCameraPosition ()=0
virtual int GetDrawingMode ()=0
virtual StereoEye GetEye ()=0
virtual float GetEyeSeparation ()=0
virtual float GetFocalLength ()=0
virtual MT_Matrix4x4 GetFrustumMatrix (float left, float right, float bottom, float top, float frustnear, float frustfar, bool perspective=true)=0
virtual double GetTime ()=0
virtual void IndexPrimitives (const vecVertexArray &vertexarrays, const vecIndexArrays &indexarrays, int mode, class RAS_IPolyMaterial *polymat, class RAS_IRenderTools *rendertools, bool useObjectColor, const MT_Vector4 &rgbacolor)=0
virtual void IndexPrimitives_3DText (const vecVertexArray &vertexarrays, const vecIndexArrays &indexarrays, int mode, class RAS_IPolyMaterial *polymat, class RAS_IRenderTools *rendertools, bool useObjectColor, const MT_Vector4 &rgbacolor)=0
virtual void IndexPrimitives_Ex (const vecVertexArray &vertexarrays, const vecIndexArrays &indexarrays, int mode, class RAS_IPolyMaterial *polymat, class RAS_IRenderTools *rendertools, bool useObjectColor, const MT_Vector4 &rgbacolor)=0
virtual bool Init ()=0
virtual void LoadViewMatrix ()=0
 RAS_IRasterizer (RAS_ICanvas *canv)
virtual void SetBackColor (float red, float green, float blue, float alpha)=0
virtual void SetCullFace (bool enable)=0
virtual void SetDepthMask (DepthMask depthmask)=0
virtual void SetDiffuse (float difX, float difY, float difZ, float diffuse)=0
virtual void SetDrawingMode (int drawingmode)=0
virtual void SetEye (const StereoEye eye)=0
virtual void SetEyeSeparation (const float eyeseparation)=0
virtual void SetFocalLength (const float focallength)=0
virtual void SetFog (float start, float dist, float r, float g, float b)=0
virtual void SetFogColor (float r, float g, float b)=0
virtual void SetFogEnd (float end)=0
virtual void SetFogStart (float start)=0
virtual void SetLines (bool enable)=0
virtual void SetMaterial (const RAS_IPolyMaterial &mat)=0
virtual void SetProjectionMatrix (const MT_Matrix4x4 &mat)=0
virtual void SetProjectionMatrix (MT_CmMatrix4x4 &mat)=0
virtual void SetRenderArea ()=0
virtual void SetShinyness (float shiny)=0
virtual void SetSpecularity (float specX, float specY, float specZ, float specval)=0
virtual void SetStereoMode (const StereoMode stereomode)=0
virtual void SetViewMatrix (const MT_Matrix4x4 &mat, const MT_Vector3 &campos, const MT_Point3 &camLoc, const MT_Quaternion &camOrientQuat)=0
virtual bool Stereo ()=0
virtual void SwapBuffers ()=0

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index