23 #if !defined(OPENNURBS_3DM_ATTRIBUTES_INC_)
24 #define OPENNURBS_3DM_ATTRIBUTES_INC_
90 ON::object_mode
Mode()
const;
192 unsigned int control_limits = 0xFFFFFFFF
198 unsigned int control_limits = 0xFFFFFFFF
380 unsigned char m_mode;
382 unsigned char m_color_source;
383 unsigned char m_plot_color_source;
384 unsigned char m_plot_weight_source;
385 unsigned char m_material_source;
386 unsigned char m_linetype_source;
388 unsigned char m_reserved_0;
511 ON_UUID* display_material_id = NULL
551 ON_UUID display_material_id = ON_nil_uuid
unsigned int SizeOf() const
ON_BOOL32 Write(ON_BinaryArchive &) const
bool EnableCustomRenderMeshParameters(bool bEnable)
void SetPlotColorSource(ON::plot_color_source)
bool SetCustomRenderMeshParameters(const class ON_MeshParameters &mp)
ON_BOOL32 Read(ON_BinaryArchive &)
const int * GroupList() const
bool AddDisplayMaterialRef(ON_DisplayMaterialRef display_material)
ON::object_color_source ColorSource() const
void SetMaterialSource(ON::object_material_source ms)
~ON_3dmObjectAttributes()
void SetColorSource(ON::object_color_source)
void RemoveFromGroup(int)
bool operator!=(const ON_3dmObjectAttributes &) const
bool Transform(const ON_Xform &xform)
bool FindDisplayMaterialRef(const ON_DisplayMaterialRef &search_material, ON_DisplayMaterialRef *found_material=NULL) const
void SetVisible(bool bVisible)
bool IsInstanceDefinitionObject() const
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
void Dump(ON_TextLog &) const
int GetGroupList(ON_SimpleArray< int > &) const
bool FindDisplayMaterialId(const ON_UUID &viewport_id, ON_UUID *display_material_id=NULL) const
void SetPlotWeightSource(ON::plot_weight_source)
bool RemoveDisplayMaterialRef(ON_UUID viewport_id, ON_UUID display_material_id=ON_nil_uuid)
void SetDisplayMode(ON::display_mode)
ON::display_mode DisplayMode() const
void SetMode(ON::object_mode)
void SetLinetypeSource(ON::object_linetype_source)
ON_BOOL32 IsInGroups(int, const int *) const
ON_DEPRECATED unsigned int ApplyParentalControl(const ON_3dmObjectAttributes &parent_attributes, unsigned int control_limits=0xFFFFFFFF)
ON::object_mode Mode() const
ON::object_decoration m_object_decoration
void DeleteCustomRenderMeshParameters()
void RemoveAllDisplayMaterialRefs()
void RemoveFromAllGroups()
ON_BOOL32 IsInGroup(int) const
ON_SimpleArray< ON_DisplayMaterialRef > m_dmref
bool operator==(const ON_3dmObjectAttributes &) const
unsigned int ApplyParentalControl(const ON_3dmObjectAttributes &parent_attributes, const ON_Layer &parent_layer, unsigned int control_limits=0xFFFFFFFF)
ON::plot_color_source PlotColorSource() const
ON_BOOL32 IsInGroups(const ON_SimpleArray< int > &) const
ON::object_linetype_source LinetypeSource() const
void RemoveFromTopGroup()
ON::object_material_source MaterialSource() const
ON::plot_weight_source PlotWeightSource() const
ON_ObjectRenderingAttributes m_rendering_attributes
int DisplayMaterialRefCount() const
const ON_MeshParameters * CustomRenderMeshParameters() const