| Rhino C++ API
    8.24
    | 
#include <IRhRdkCustomRenderMeshManager.h>
| Public Member Functions | |
| virtual | ~IRhRdkCustomRenderMeshManager () | 
| virtual bool | Add (CRhRdkCustomRenderMeshProvider *pProvider)=0 | 
| virtual ON_BoundingBox | BoundingBox (const ON_Viewport &vp, const CRhinoObject *pObject, const CRhinoDoc &doc, const UUID &uuidRequestingPlugIn, const CDisplayPipelineAttributes *pAttributes, const UUID *pUuidRMP=NULL) const =0 | 
| virtual bool | BuildCustomMeshes (const ON_Viewport &vp, const UUID &uuidRequestingPlugIn, const CRhinoDoc &doc, IRhRdkCustomRenderMeshes &crmInOut, const CDisplayPipelineAttributes *pAttributes, const UUID *pUuidRMP=NULL) const =0 | 
| virtual bool | CacheEnabled (void) const =0 | 
| virtual void * | EVF (const wchar_t *, void *)=0 | 
| virtual bool | ForceObjectIntoPreviewCache (const CRhinoObject &obj, const CRhinoDoc &doc)=0 | 
| virtual bool | IsProviderOn (const UUID &uuidProvider) const =0 | 
| virtual void | OnRhinoDocumentChanged (const CRhinoDoc &doc)=0 | 
| virtual void | OnRhinoObjectChanged (const CRhinoDoc &doc, const CRhinoObject *obj)=0 | 
| virtual IRhRdkCustomRenderMeshes * | PreviousMeshes (const IRhRdkCustomRenderMeshes &crm) const =0 | 
| virtual CRhRdkCustomRenderMeshProvider * | Provider (const UUID &uuidProvider) const =0 | 
| virtual void | SetEnableCache (bool)=0 | 
| virtual void | SetUserCanceled (bool)=0 | 
| virtual bool | UserCanceled (void) const =0 | 
| virtual bool | WillBuildCustomMesh (const ON_Viewport &vp, const CRhinoObject *pObject, const CRhinoDoc &doc, const UUID &uuidRequestingPlugIn, const CDisplayPipelineAttributes *pAttributes, const UUID *pUuidRMP=NULL) const =0 | 
This is the interface to RDK's custom render mesh manager. Use these functions if you are a renderer developer who wants to access the custom render meshes provided by CRhRdkCustomRenderMeshProvider. Note that this will include the built-in displacement edge softening, thickening, shut-lining and curve piping tools.
| 
 | inlinevirtual | 
| 
 | pure virtual | 
Register your custom render mesh provider with RDK.
| 
 | pure virtual | 
Returns a bounding box for the custom render meshes for the given object.
| vp | is the viewport being rendered. | 
| uuidRequestingPlugIn | is the UUID of the RDK plug-in requesting the meshes. | 
| pObject | is the Rhino object of interest. | 
| doc | is the Rhino document this mesh will be used in. | 
| pAttributes | is the current display attributes for the view we are drawing. nullptr means this is a rendering, not a viewport. | 
| pUuidRMP | is a pointer to the UUID of the sole provider to call. Pass NULL for all providers. | 
| 
 | pure virtual | 
Build custom render mesh(es) for the given object.
| vp | is the viewport being rendered. | 
| uuidRequestingPlugIn | is the UUID of the RDK plug-in requesting the meshes. | 
| crmInOut | is the collection to fill with the custom meshes. | 
| doc | is the Rhino document this mesh will be used in. | 
| pAttributes | is the current display attributes for the view we are drawing. nullptr means this is a rendering, not a viewport. | 
| pUuidRMP | is a pointer to the UUID of the sole provider to call. Pass NULL for all providers. | 
| 
 | pure virtual | 
| 
 | pure virtual | 
Emergency virtual function for future expansion.
| 
 | pure virtual | 
| 
 | pure virtual | 
Ask if a custom render mesh provider is on.
| uuidProvider | identifies the provider to check. | 
| 
 | pure virtual | 
| 
 | pure virtual | 
| 
 | pure virtual | 
| 
 | pure virtual | 
Get an interface to a custom render mesh provider.
| uuidProvider | identifies the provider required. | 
| 
 | pure virtual | 
| 
 | pure virtual | 
| 
 | pure virtual | 
| 
 | pure virtual | 
Determine if custom render meshes will be built for a particular object.
| vp | is the viewport being rendered. | 
| pObject | is the Rhino object of interest. | 
| doc | is the Rhino document this mesh will be used in. | 
| uuidRequestingPlugIn | is the UUID of the RDK plug-in requesting the meshes. | 
| pAttributes | is the current display attributes for the view we are drawing. nullptr means this is a rendering, not a viewport. | 
| pUuidRMP | is a pointer to the UUID of the sole provider to call. Pass NULL for all providers. | 
 1.8.17
 1.8.17