QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_ObjectRenderingAttributes Class Reference

#include <opennurbs_rendering.h>

Inheritance diagram for ON_ObjectRenderingAttributes:
ON_RenderingAttributes

Public Member Functions

bool AddMappingChannel (const ON_UUID &plugin_id, int mapping_channel_id, const ON_UUID &mapping_id)
 
ON_MappingRefAddMappingRef (const ON_UUID &plugin_id)
 
bool ChangeMappingChannel (const ON_UUID &plugin_id, int old_mapping_channel_id, int new_mapping_channel_id)
 
int Compare (const ON_ObjectRenderingAttributes &other) const
 
void Default ()
 
bool DeleteMappingChannel (const ON_UUID &plugin_id, const ON_UUID &mapping_id)
 
bool DeleteMappingChannel (const ON_UUID &plugin_id, int mapping_channel_id)
 
bool DeleteMappingRef (const ON_UUID &plugin_id)
 
bool IsValid (ON_TextLog *text_log) const
 
const ON_MappingChannelMappingChannel (const ON_UUID &plugin_id, const ON_UUID &mapping_id) const
 
const ON_MappingChannelMappingChannel (const ON_UUID &plugin_id, int mapping_channel_id) const
 
const ON_MappingRefMappingRef (const ON_UUID &plugin_id) const
 
 ON_ObjectRenderingAttributes ()
 
bool Read (ON_BinaryArchive &archive)
 
bool Transform (const ON_Xform &xform)
 
bool Write (ON_BinaryArchive &archive) const
 
- Public Member Functions inherited from ON_RenderingAttributes
int Compare (const ON_RenderingAttributes &other) const
 
void Default ()
 
bool IsValid (ON_TextLog *text_log) const
 
const ON_MaterialRefMaterialRef (const ON_UUID &plugin_id) const
 
 ON_RenderingAttributes ()
 
bool Read (ON_BinaryArchive &archive)
 
bool Write (ON_BinaryArchive &archive) const
 

Public Attributes

bool m_bCastsShadows
 
bool m_bReceivesShadows
 
bool m_bReserved1
 
bool m_bReserved2
 
ON_ClassArray< ON_MappingRefm_mappings
 
- Public Attributes inherited from ON_RenderingAttributes
ON_ClassArray< ON_MaterialRefm_materials
 

Constructor & Destructor Documentation

◆ ON_ObjectRenderingAttributes()

ON_ObjectRenderingAttributes::ON_ObjectRenderingAttributes ( )

Member Function Documentation

◆ AddMappingChannel()

bool ON_ObjectRenderingAttributes::AddMappingChannel ( const ON_UUID & plugin_id,
int mapping_channel_id,
const ON_UUID & mapping_id )

◆ AddMappingRef()

ON_MappingRef * ON_ObjectRenderingAttributes::AddMappingRef ( const ON_UUID & plugin_id)

◆ ChangeMappingChannel()

bool ON_ObjectRenderingAttributes::ChangeMappingChannel ( const ON_UUID & plugin_id,
int old_mapping_channel_id,
int new_mapping_channel_id )

◆ Compare()

int ON_ObjectRenderingAttributes::Compare ( const ON_ObjectRenderingAttributes & other) const

◆ Default()

void ON_ObjectRenderingAttributes::Default ( )

◆ DeleteMappingChannel() [1/2]

bool ON_ObjectRenderingAttributes::DeleteMappingChannel ( const ON_UUID & plugin_id,
const ON_UUID & mapping_id )

◆ DeleteMappingChannel() [2/2]

bool ON_ObjectRenderingAttributes::DeleteMappingChannel ( const ON_UUID & plugin_id,
int mapping_channel_id )

◆ DeleteMappingRef()

bool ON_ObjectRenderingAttributes::DeleteMappingRef ( const ON_UUID & plugin_id)

◆ IsValid()

bool ON_ObjectRenderingAttributes::IsValid ( ON_TextLog * text_log) const

◆ MappingChannel() [1/2]

const ON_MappingChannel * ON_ObjectRenderingAttributes::MappingChannel ( const ON_UUID & plugin_id,
const ON_UUID & mapping_id ) const

◆ MappingChannel() [2/2]

const ON_MappingChannel * ON_ObjectRenderingAttributes::MappingChannel ( const ON_UUID & plugin_id,
int mapping_channel_id ) const

◆ MappingRef()

const ON_MappingRef * ON_ObjectRenderingAttributes::MappingRef ( const ON_UUID & plugin_id) const

◆ Read()

bool ON_ObjectRenderingAttributes::Read ( ON_BinaryArchive & archive)

◆ Transform()

bool ON_ObjectRenderingAttributes::Transform ( const ON_Xform & xform)

◆ Write()

bool ON_ObjectRenderingAttributes::Write ( ON_BinaryArchive & archive) const

Member Data Documentation

◆ m_bCastsShadows

bool ON_ObjectRenderingAttributes::m_bCastsShadows

◆ m_bReceivesShadows

bool ON_ObjectRenderingAttributes::m_bReceivesShadows

◆ m_bReserved1

bool ON_ObjectRenderingAttributes::m_bReserved1

◆ m_bReserved2

bool ON_ObjectRenderingAttributes::m_bReserved2

◆ m_mappings

ON_ClassArray<ON_MappingRef> ON_ObjectRenderingAttributes::m_mappings

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