Rhino C++ API  7.24
Public Member Functions | Protected Member Functions | List of all members
CRhinoSdkRenderEx2 Class Referenceabstract

#include <RhinoSdkRender.h>

Inheritance diagram for CRhinoSdkRenderEx2:
CRhinoSdkRenderEx CRhinoSdkRender CRhinoSdkRenderEx3

Public Member Functions

virtual class IRhinoSdkRenderFrameNewRenderFrameEx (CRhinoDoc *pDocument)=0
 
- Public Member Functions inherited from CRhinoSdkRenderEx
virtual ~CRhinoSdkRenderEx ()
 
virtual BOOL AddRenderMeshToSceneEx (const CRhinoObjRef &ref, const CRhinoMaterial &material, const ON_Mesh *)
 
virtual LRESULT CallBackProc (UINT message, WPARAM wParam, LPARAM lParam)
 
virtual BOOL IgnoreRhinoObjectEx (const CRhinoObjRef &ref)
 
virtual LRESULT QuerySdkRenderEx (UINT message, WPARAM wParam, LPARAM lParam)
 
virtual RenderReturnCodes RenderEx (const CRhinoCommandContext &context, LPSIZE sizeImage=0, const wchar_t *lpsWindowTitle=0, UINT nIDResource=0)
 
virtual void RenderReturnCodesToStringEx (RenderReturnCodes code, ON_wString &out) const
 
virtual RenderReturnCodes RenderWindowEx (const CRhinoCommandContext &context, CRhinoView *view, const LPRECT rect, bool bRenderInWindow)
 
- Public Member Functions inherited from CRhinoSdkRender
virtual ~CRhinoSdkRender ()
 
virtual BOOL AddLightToScene (const class CRhinoLight &light)
 
virtual BOOL AddRenderMeshToScene (const CRhinoObject *object, const CRhinoMaterial &material, const ON_Mesh *)
 
CRhinoDocDocument ()
 
double ElapsedTime (ON_wString &out) const
 
DWORD EndTime () const
 
int ErrorCode () const
 
virtual BOOL IgnoreRhinoObject (const CRhinoObject *object)
 
bool InBatchMode () const
 
virtual BOOL NeedToProcessGeometryTable ()
 
virtual BOOL NeedToProcessLightTable ()
 
void OnRenderFrameDestruction ()
 For internal use only. More...
 
virtual void PauseRendering ()
 
CRhinoRenderPlugInPlugIn () const
 
int ProcessGeometryTable ()
 
int ProcessLightTable ()
 
RenderReturnCodes Render (const CRhinoCommandContext &context, LPSIZE sizeImage=0, const wchar_t *lpsWindowTitle=0, UINT nIDResource=0)
 
virtual BOOL RenderContinueModal ()
 
virtual BOOL RenderEnterModalLoop ()
 
virtual BOOL RenderExitModalLoop ()
 
virtual BOOL RenderPreCreateWindow ()
 
void RenderReturnCodesToString (RenderReturnCodes code, ON_wString &out) const
 
virtual BOOL RenderSceneWithNoMeshes ()
 
RenderReturnCodes RenderWindow (const CRhinoCommandContext &context, CRhinoView *view, const LPRECT rect, bool bRenderInWindow)
 
virtual void ResumeRendering ()
 
virtual BOOL StartRenderingInWindow (CRhinoView *view, const LPCRECT rect)
 
DWORD StartTime () const
 
virtual void StopRendering ()
 
virtual bool SupportsPause () const
 

Protected Member Functions

virtual class CRhinoSdkRenderFrame * NewRenderFrame (CRhinoDoc *doc) override
 
- Protected Member Functions inherited from CRhinoSdkRenderEx
virtual void OnRenderFrameDestructionEx ()
 
virtual int ProcessGeometryTableEx ()
 
virtual int ProcessLightTableEx ()
 
- Protected Member Functions inherited from CRhinoSdkRender
CImplImpl ()
 
RenderReturnCodes ReturnRenderCode (RenderReturnCodes rc)
 
CRhinoViewRhinoView () const
 
void SetRhinoView (CRhinoView *v)
 

Additional Inherited Members

- Public Types inherited from CRhinoSdkRender
enum  RenderReturnCodes {
  render_ok = 0, render_empty_scene, render_cancel, render_no_active_view,
  render_on_pre_create_window, render_no_frame_wnd_pointer, render_error_creating_window, render_error_starting_render,
  render_enter_modal_loop, render_exit_modal_loop, render_wm_quit
}
 Render command an helpers. More...
 
- Protected Attributes inherited from CRhinoSdkRender
friend CImpl
 
bool m_batch_mode
 
DWORD m_end_time
 
int m_error_code
 
int m_light_count
 
int m_mesh_count
 
CRhinoRenderPlugInm_plugin
 
BOOL m_render_canceled
 
CRhinoDocm_rhino_doc
 
CRhinoViewm_rhino_view
 
ON__UINT_PTR m_sdk_reserved = 0
 
DWORD m_start_time
 

Member Function Documentation

◆ NewRenderFrame()

virtual class CRhinoSdkRenderFrame* CRhinoSdkRenderEx2::NewRenderFrame ( CRhinoDoc doc)
overrideprotectedvirtual

Description: Called by Render() just after RenderPreCreateWindow(). The frame returned by this function will be used to display the rendered image in. Parameters: doc - [in] Active Rhino document; Returns: Pointer to CRhinoSdkRenderFrame object. If NULL is returned then Render() will abort.

Implements CRhinoSdkRender.

◆ NewRenderFrameEx()

virtual class IRhinoSdkRenderFrame* CRhinoSdkRenderEx2::NewRenderFrameEx ( CRhinoDoc pDocument)
pure virtual