Rhino C++ API  8.7
Public Member Functions | Public Attributes | List of all members
CRhRdkCustomRenderMeshes Class Reference

#include <IRhRdkCustomRenderMeshManager.h>

Inheritance diagram for CRhRdkCustomRenderMeshes:
IRhRdkCustomRenderMeshes

Public Member Functions

RDK_DEPRECATED CRhRdkCustomRenderMeshes (const CRhinoObject *pObject)
 
virtual ~CRhRdkCustomRenderMeshes ()
 
virtual void Add (const ON_Cone &cone, const ON_Plane &truncation, const CRhRdkMaterial *pMaterial)
 
virtual void Add (const ON_PlaneSurface &plane, const CRhRdkMaterial *pMaterial)
 
virtual void Add (const ON_PlaneSurface &plane, const ON_Interval &cz, const CRhRdkMaterial *pMaterial)
 
virtual void Add (const ON_Sphere &sphere, const CRhRdkMaterial *pMaterial)
 
virtual void Add (ON_Mesh *pMesh, const CRhRdkMaterial *pMaterial)
 
void Add (ON_Mesh *pMesh, const CRhRdkMaterial *pMaterial, const ON_Xform *xform)
 
void AddEx (const ON_Cone &cone, const ON_Plane &truncation, const CRhRdkMaterial *pMaterial, std::shared_ptr< CRhinoCacheHandle > handle)
 
void AddEx (const ON_PlaneSurface &plane, const CRhRdkMaterial *pMaterial, std::shared_ptr< CRhinoCacheHandle > handle)
 
void AddEx (const ON_PlaneSurface &plane, const ON_Interval &cz, const CRhRdkMaterial *pMaterial, std::shared_ptr< CRhinoCacheHandle > handle)
 
void AddEx (const ON_Sphere &sphere, const CRhRdkMaterial *pMaterial, std::shared_ptr< CRhinoCacheHandle > handle)
 
void AddEx (ON_Mesh *pMesh, const CRhRdkMaterial *pMaterial, const ON_Xform *xform, std::shared_ptr< CRhinoCacheHandle > handle)
 
void AddEx (ON_Mesh *pMesh, const CRhRdkMaterial *pMaterial, std::shared_ptr< CRhinoCacheHandle > handle)
 
virtual void AddOnTheFlyMeshFromCache (int index, const ON_Mesh *pMesh)
 
virtual const CRhRdkObjectAncestryAncestry (void) const
 
virtual bool AutoDeleteMaterialsOn (void) const
 
virtual bool AutoDeleteMeshesOn (void) const
 
virtual bool Box (int iIndex, ON_PlaneSurface &plane, ON_Interval &z_interval) const
 
virtual void Clear (void)
 
virtual bool Cone (int iIndex, ON_Cone &cone, ON_Plane &truncation) const
 
virtual void ConvertMeshesToTriangles (void)
 
virtual int Count (void) const
 
std::shared_ptr< CRhinoCacheHandleDisplayCacheHandle (int iIndex) const
 
virtual void * EVF (const wchar_t *wszFunc, void *pvData)
 
virtual const ON_XformGetInstanceTransform (void) const
 
IRhRdkCustomRenderMeshes2I2 (void)
 
const IRhRdkCustomRenderMeshes2I2 (void) const
 
virtual const CRhRdkMaterialMaterial (int iIndex) const
 
virtual const ON_MeshMesh (int iIndex) const
 
const ON_MeshMeshInstance (int iIndex, ON_Xform &instance_transform) const
 
virtual const CRhinoObjectObject (void) const
 
virtual const UUID & OriginalMaterialId (int iIndex) const
 
void OriginalTextureMappingIds (ON_SimpleArray< UUID > &ids) const
 
virtual bool Plane (int iIndex, ON_PlaneSurface &plane) const
 
virtual void PrepareRenderMeshesForMapping (void)
 
virtual RhRdkRenderMeshPrimitiveTypes PrimitiveType (int iIndex) const
 
virtual UUID ProviderId (void) const
 
virtual void SetAncestry (const class CRhRdkObjectAncestry &pAncestry)
 
virtual void SetAutoDeleteMaterialsOn (void)
 
virtual void SetAutoDeleteMeshesOn (void)
 
virtual void SetInstanceTransform (const ON_Xform &xformInstance)
 
virtual void SetProviderId (const UUID &uuidRMP)
 
virtual void SetUseObjectsMappingChannels (bool bSet)
 
virtual bool Sphere (int iIndex, ON_Sphere &sphere) const
 
virtual bool UseObjectsMappingChannels (void) const
 
- Public Member Functions inherited from IRhRdkCustomRenderMeshes
virtual ~IRhRdkCustomRenderMeshes ()
 

Public Attributes

CImpl * m_pImpl
 

Additional Inherited Members

- Static Public Member Functions inherited from IRhRdkCustomRenderMeshes
static void Delete (IRhRdkCustomRenderMeshes *)
 
static IRhRdkCustomRenderMeshesNew (const CRhinoObject *pObject)
 

Detailed Description

Built-in implementation of IRhRdkCustomRenderMeshes. This is now DEPRECATED. Use the creator functions in the interface classes.

Constructor & Destructor Documentation

◆ CRhRdkCustomRenderMeshes()

RDK_DEPRECATED CRhRdkCustomRenderMeshes::CRhRdkCustomRenderMeshes ( const CRhinoObject pObject)

◆ ~CRhRdkCustomRenderMeshes()

virtual CRhRdkCustomRenderMeshes::~CRhRdkCustomRenderMeshes ( )
virtual

Member Function Documentation

◆ Add() [1/6]

virtual void CRhRdkCustomRenderMeshes::Add ( const ON_Cone cone,
const ON_Plane truncation,
const CRhRdkMaterial pMaterial 
)
virtual

◆ Add() [2/6]

virtual void CRhRdkCustomRenderMeshes::Add ( const ON_PlaneSurface plane,
const CRhRdkMaterial pMaterial 
)
virtual

◆ Add() [3/6]

virtual void CRhRdkCustomRenderMeshes::Add ( const ON_PlaneSurface plane,
const ON_Interval cz,
const CRhRdkMaterial pMaterial 
)
virtual

◆ Add() [4/6]

virtual void CRhRdkCustomRenderMeshes::Add ( const ON_Sphere sphere,
const CRhRdkMaterial pMaterial 
)
virtual

◆ Add() [5/6]

virtual void CRhRdkCustomRenderMeshes::Add ( ON_Mesh pMesh,
const CRhRdkMaterial pMaterial 
)
virtual

◆ Add() [6/6]

void CRhRdkCustomRenderMeshes::Add ( ON_Mesh pMesh,
const CRhRdkMaterial pMaterial,
const ON_Xform xform 
)

Deprecated. See IRhRdkCustomRenderMeshes

◆ AddEx() [1/6]

void CRhRdkCustomRenderMeshes::AddEx ( const ON_Cone cone,
const ON_Plane truncation,
const CRhRdkMaterial pMaterial,
std::shared_ptr< CRhinoCacheHandle handle 
)

◆ AddEx() [2/6]

void CRhRdkCustomRenderMeshes::AddEx ( const ON_PlaneSurface plane,
const CRhRdkMaterial pMaterial,
std::shared_ptr< CRhinoCacheHandle handle 
)

◆ AddEx() [3/6]

void CRhRdkCustomRenderMeshes::AddEx ( const ON_PlaneSurface plane,
const ON_Interval cz,
const CRhRdkMaterial pMaterial,
std::shared_ptr< CRhinoCacheHandle handle 
)

◆ AddEx() [4/6]

void CRhRdkCustomRenderMeshes::AddEx ( const ON_Sphere sphere,
const CRhRdkMaterial pMaterial,
std::shared_ptr< CRhinoCacheHandle handle 
)

◆ AddEx() [5/6]

void CRhRdkCustomRenderMeshes::AddEx ( ON_Mesh pMesh,
const CRhRdkMaterial pMaterial,
const ON_Xform xform,
std::shared_ptr< CRhinoCacheHandle handle 
)

Deprecated. See IRhRdkCustomRenderMeshes

◆ AddEx() [6/6]

void CRhRdkCustomRenderMeshes::AddEx ( ON_Mesh pMesh,
const CRhRdkMaterial pMaterial,
std::shared_ptr< CRhinoCacheHandle handle 
)

◆ AddOnTheFlyMeshFromCache()

virtual void CRhRdkCustomRenderMeshes::AddOnTheFlyMeshFromCache ( int  index,
const ON_Mesh pMesh 
)
virtual

Deprecated. See IRhRdkCustomRenderMeshes

◆ Ancestry()

virtual const CRhRdkObjectAncestry* CRhRdkCustomRenderMeshes::Ancestry ( void  ) const
virtual

◆ AutoDeleteMaterialsOn()

virtual bool CRhRdkCustomRenderMeshes::AutoDeleteMaterialsOn ( void  ) const
virtual

Deprecated. See IRhRdkCustomRenderMeshes

◆ AutoDeleteMeshesOn()

virtual bool CRhRdkCustomRenderMeshes::AutoDeleteMeshesOn ( void  ) const
virtual

Deprecated. See IRhRdkCustomRenderMeshes

◆ Box()

virtual bool CRhRdkCustomRenderMeshes::Box ( int  iIndex,
ON_PlaneSurface plane,
ON_Interval z_interval 
) const
virtual

◆ Clear()

virtual void CRhRdkCustomRenderMeshes::Clear ( void  )
virtual

Deprecated. See IRhRdkCustomRenderMeshes

◆ Cone()

virtual bool CRhRdkCustomRenderMeshes::Cone ( int  iIndex,
ON_Cone cone,
ON_Plane truncation 
) const
virtual

◆ ConvertMeshesToTriangles()

virtual void CRhRdkCustomRenderMeshes::ConvertMeshesToTriangles ( void  )
virtual

◆ Count()

virtual int CRhRdkCustomRenderMeshes::Count ( void  ) const
virtual

◆ DisplayCacheHandle()

std::shared_ptr<CRhinoCacheHandle> CRhRdkCustomRenderMeshes::DisplayCacheHandle ( int  iIndex) const

◆ EVF()

virtual void* CRhRdkCustomRenderMeshes::EVF ( const wchar_t *  wszFunc,
void *  pvData 
)
virtual

◆ GetInstanceTransform()

virtual const ON_Xform& CRhRdkCustomRenderMeshes::GetInstanceTransform ( void  ) const
virtual

◆ I2() [1/2]

IRhRdkCustomRenderMeshes2& CRhRdkCustomRenderMeshes::I2 ( void  )

Deprecated. See IRhRdkCustomRenderMeshes

◆ I2() [2/2]

const IRhRdkCustomRenderMeshes2& CRhRdkCustomRenderMeshes::I2 ( void  ) const

Deprecated. See IRhRdkCustomRenderMeshes

◆ Material()

virtual const CRhRdkMaterial* CRhRdkCustomRenderMeshes::Material ( int  iIndex) const
virtual

◆ Mesh()

virtual const ON_Mesh* CRhRdkCustomRenderMeshes::Mesh ( int  iIndex) const
virtual

◆ MeshInstance()

const ON_Mesh* CRhRdkCustomRenderMeshes::MeshInstance ( int  iIndex,
ON_Xform instance_transform 
) const

◆ Object()

virtual const CRhinoObject* CRhRdkCustomRenderMeshes::Object ( void  ) const
virtual

◆ OriginalMaterialId()

virtual const UUID& CRhRdkCustomRenderMeshes::OriginalMaterialId ( int  iIndex) const
virtual

Deprecated. See IRhRdkCustomRenderMeshes

◆ OriginalTextureMappingIds()

void CRhRdkCustomRenderMeshes::OriginalTextureMappingIds ( ON_SimpleArray< UUID > &  ids) const

Deprecated. See IRhRdkCustomRenderMeshes3

◆ Plane()

virtual bool CRhRdkCustomRenderMeshes::Plane ( int  iIndex,
ON_PlaneSurface plane 
) const
virtual

◆ PrepareRenderMeshesForMapping()

virtual void CRhRdkCustomRenderMeshes::PrepareRenderMeshesForMapping ( void  )
virtual

Deprecated. See IRhRdkCustomRenderMeshes

◆ PrimitiveType()

virtual RhRdkRenderMeshPrimitiveTypes CRhRdkCustomRenderMeshes::PrimitiveType ( int  iIndex) const
virtual

◆ ProviderId()

virtual UUID CRhRdkCustomRenderMeshes::ProviderId ( void  ) const
virtual

◆ SetAncestry()

virtual void CRhRdkCustomRenderMeshes::SetAncestry ( const class CRhRdkObjectAncestry pAncestry)
virtual

Deprecated. See IRhRdkCustomRenderMeshes

◆ SetAutoDeleteMaterialsOn()

virtual void CRhRdkCustomRenderMeshes::SetAutoDeleteMaterialsOn ( void  )
virtual

◆ SetAutoDeleteMeshesOn()

virtual void CRhRdkCustomRenderMeshes::SetAutoDeleteMeshesOn ( void  )
virtual

◆ SetInstanceTransform()

virtual void CRhRdkCustomRenderMeshes::SetInstanceTransform ( const ON_Xform xformInstance)
virtual

◆ SetProviderId()

virtual void CRhRdkCustomRenderMeshes::SetProviderId ( const UUID &  uuidRMP)
virtual

◆ SetUseObjectsMappingChannels()

virtual void CRhRdkCustomRenderMeshes::SetUseObjectsMappingChannels ( bool  bSet)
virtual

◆ Sphere()

virtual bool CRhRdkCustomRenderMeshes::Sphere ( int  iIndex,
ON_Sphere sphere 
) const
virtual

◆ UseObjectsMappingChannels()

virtual bool CRhRdkCustomRenderMeshes::UseObjectsMappingChannels ( void  ) const
virtual

Member Data Documentation

◆ m_pImpl

CImpl* CRhRdkCustomRenderMeshes::m_pImpl