23 #if !defined(OPENNURBS_3DM_ATTRIBUTES_INC_)
24 #define OPENNURBS_3DM_ATTRIBUTES_INC_
54 unsigned int SizeOf()
const;
65 bool Transform(
const ON_Xform& xform );
90 ON::object_mode Mode()
const;
91 void SetMode( ON::object_mode );
100 bool IsInstanceDefinitionObject()
const;
108 bool IsVisible()
const;
119 void SetVisible(
bool bVisible );
125 ON::object_linetype_source LinetypeSource()
const;
126 void SetLinetypeSource( ON::object_linetype_source );
135 ON::object_color_source ColorSource()
const;
136 void SetColorSource( ON::object_color_source );
143 ON::plot_color_source PlotColorSource()
const;
144 void SetPlotColorSource( ON::plot_color_source );
146 ON::plot_weight_source PlotWeightSource()
const;
147 void SetPlotWeightSource( ON::plot_weight_source );
156 ON::display_mode DisplayMode()
const;
157 void SetDisplayMode( ON::display_mode );
190 ON_DEPRECATED
unsigned int ApplyParentalControl(
192 unsigned int control_limits = 0xFFFFFFFF
195 unsigned int ApplyParentalControl(
198 unsigned int control_limits = 0xFFFFFFFF
278 bool EnableCustomRenderMeshParameters(
bool bEnable);
299 void DeleteCustomRenderMeshParameters();
316 ON::object_material_source MaterialSource()
const;
326 void SetMaterialSource( ON::object_material_source ms );
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;
396 int GroupCount()
const;
401 const int* GroupList()
const;
409 int TopGroup()
const;
417 ON_BOOL32 IsInGroups(
423 ON_BOOL32 IsInGroups(
435 void RemoveFromGroup(
440 void RemoveFromTopGroup();
443 void RemoveFromAllGroups();
495 bool FindDisplayMaterialRef(
509 bool FindDisplayMaterialId(
511 ON_UUID* display_material_id = NULL
527 bool AddDisplayMaterialRef(
549 bool RemoveDisplayMaterialRef(
551 ON_UUID display_material_id = ON_nil_uuid
558 void RemoveAllDisplayMaterialRefs();
564 int DisplayMaterialRefCount()
const;