Public Member Functions | |
| RCRenderer (RCOglVisualEngine &VisualEngine) | |
| void | UpdateCameraMatrix (const RCCameraComponent &Camera, const RCRect &ViewRect) |
| void | InvalidateModel (const RCOglModelComponent &Model) |
| void | InvalidateAll () |
| void | Render (RC3DView &View) |
| void | PaintModel (RCModelComponent &Model) |
| void | PaintSegment (const RSSegment &Segment) |
Static Public Member Functions | |
| static HGLRC | CreateViewGLContext (HDC hDC) |
| static HGLRC | CreateMemoryGLContext (HDC hDC, TInt nWidth, TInt nHeight, BITMAPINFOHEADER *pBIH=NULL) |
| static void | SetMemDCSize (HDC hDC, TInt nWidth, TInt nHeight, BITMAPINFOHEADER *pBIH=NULL) |
| static TBool | SetGLPixelFormat (HDC hDC, TBool bMemory=false, TSInt *pPixelIndex=NULL) |
| static void | DoPlacement (const RCPose &Pose, TBool bInverse=false) |
| static void | DoScaling (TReal nScaling) |
| static void | InitCurrGLContext () |
Protected Types | |
|
typedef list< TRCSharedPtr< RCVisualObject > > | TShadowPlaneList |
| enum | TConstants { PM_NORMALS = 0x0010, PM_TEXCOORDS = 0x0020, PM_OPAQUE = 0x0040, PM_TRANSPARENT = 0x0080 } |
Protected Member Functions | |
| void | RenderingStart (const RCCameraComponent &Camera, const RSOglSceneSettings &SceneSettings) |
| void | RenderShadows (RC3DView &View, const RCVector &LightPos, TReal nShadowIntensity) |
| TBool | RenderingShadowsStart (const RCVisualObject &PlaneObject, const RCVector &LightPos, TReal nShadowIntensity) |
| void | RenderingTransparentStart () |
| void | RenderingEnd () |
| void | PaintObject (const TRCSharedPtr< RCVisualObject > &VisualObject) |
| void | DrawWireCuboid (const RCCuboid &Cuboid) |
| void | DrawSelectionMark (const RCCuboid &Cuboid, const RCColor &Color, TReal nLineWidth) |
| void | DrawSelectionEdge (const RCVector &Pos1, const RCVector &Pos2) |
| void | PushSkin (const TRCSharedPtr< const RCSkinComponent > &SkinPtr) |
| void | PopSkin () |
| void | ActivateSkin (const TRCSharedPtr< const RCSkinComponent > &Skin, TReal nShadowIntensity=1) |
| RCVector | SnapToGrid (const RCVector &Value, TReal nGridSize, const RCTriple &Step1, const RCTriple &Step2) |
| RCTriple | SnapToGrid (const RCTriple &Value, TReal nGridSize, const RCTriple &Step1, const RCTriple &Step2) |
Protected Attributes | |
| RCOglVisualEngine & | m_VisualEngine |
| TBool | m_bUseGlLists |
| TLong | m_nPaintMask |
| RSOglViewQuality | m_DefaultViewQuality |
| const RSOglViewQuality * | m_pCurrentViewQuality |
| RCPose | m_CurrentCameraPose |
| TBool | m_bCurrSkinTransparent |
|
TRCMemberCallbackPtr< RCRenderer, void, const TRCSharedPtr< RCVisualObject > & > | m_PaintObjectCallback |
| TShadowPlaneList | m_ShadowPlaneList |
1.4.6-NO