mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-04-02 09:26:59 +08:00
Publish!
Generated from v6.0.11315.11111-test13
This commit is contained in:
@@ -52,6 +52,9 @@ $(function() {
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Top level OpenNURBS objects have geometry and attributes. The geometry is stored in some class derived from <a class="el" href="../../df/de0/class_o_n___geometry.html" title="Base class for all geometry classes that must provide runtime class id. Provides interface for common...">ON_Geometry</a> and the attributes are stored in an <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html" title="Top level OpenNURBS objects have geometry and attributes. The geometry is stored in some class derive...">ON_3dmObjectAttributes</a> class. Examples of attributes are object name, object id, display attributes, group membership, layer membership, and so on.
|
||||
<a href="../../d0/d52/class_o_n__3dm_object_attributes.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="../../d2/de8/opennurbs__3dm__attributes_8h_source.html">opennurbs_3dm_attributes.h</a>></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for ON_3dmObjectAttributes:</div>
|
||||
@@ -59,7 +62,7 @@ Inheritance diagram for ON_3dmObjectAttributes:</div>
|
||||
<div class="center">
|
||||
<img src="../../d0/d52/class_o_n__3dm_object_attributes.png" usemap="#ON_5F3dmObjectAttributes_map" alt=""/>
|
||||
<map id="ON_5F3dmObjectAttributes_map" name="ON_5F3dmObjectAttributes_map">
|
||||
<area href="../../d9/d7b/class_o_n___object.html" alt="ON_Object" shape="rect" coords="0,0,151,24"/>
|
||||
<area href="../../d9/d7b/class_o_n___object.html" title="Pure virtual base class for all classes that must provide runtime class id or support object level 3D..." alt="ON_Object" shape="rect" coords="0,0,151,24"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
@@ -71,10 +74,12 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a3af06019c4072e489627c8ea33886050"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a3af06019c4072e489627c8ea33886050">~ON_3dmObjectAttributes</a> ()</td></tr>
|
||||
<tr class="separator:a3af06019c4072e489627c8ea33886050"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a32136fa207529db2c98dc6e3246ce3ae"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a32136fa207529db2c98dc6e3246ce3ae">AddDisplayMaterialRef</a> (<a class="el" href="../../d3/d88/class_o_n___display_material_ref.html">ON_DisplayMaterialRef</a> display_material)</td></tr>
|
||||
<tr class="memdesc:a32136fa207529db2c98dc6e3246ce3ae"><td class="mdescLeft"> </td><td class="mdescRight">Add a display material reference to the attributes. If there is an existing entry with a matching viewport id, the existing entry is replaced. <a href="#a32136fa207529db2c98dc6e3246ce3ae">More...</a><br /></td></tr>
|
||||
<tr class="separator:a32136fa207529db2c98dc6e3246ce3ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a97b32ca65287bb87495601c2e3249429"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a97b32ca65287bb87495601c2e3249429">AddToGroup</a> (int)</td></tr>
|
||||
<tr class="separator:a97b32ca65287bb87495601c2e3249429"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab43b6417b9507ca53a1e7bf4be6d7357"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ab43b6417b9507ca53a1e7bf4be6d7357">ApplyParentalControl</a> (const <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> &parent_attributes, const <a class="el" href="../../d6/d78/class_o_n___layer.html">ON_Layer</a> &parent_layer, unsigned int control_limits=0xFFFFFFFF)</td></tr>
|
||||
<tr class="memdesc:ab43b6417b9507ca53a1e7bf4be6d7357"><td class="mdescLeft"> </td><td class="mdescRight">If "this" has attributes (color, plot weight, ...) with "by parent" sources, then the values of those attributes on parent_attributes are copied. <a href="#ab43b6417b9507ca53a1e7bf4be6d7357">More...</a><br /></td></tr>
|
||||
<tr class="separator:ab43b6417b9507ca53a1e7bf4be6d7357"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a33d637f60a01b3782d2c93bdb2399bb3"><td class="memItemLeft" align="right" valign="top">ON::object_color_source </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a33d637f60a01b3782d2c93bdb2399bb3">ColorSource</a> () const</td></tr>
|
||||
<tr class="separator:a33d637f60a01b3782d2c93bdb2399bb3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -84,6 +89,7 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memdesc:a3d19b2834f1979e33f69055525c67518"><td class="mdescLeft"> </td><td class="mdescRight">Initializes all attributes to the default values. <a href="#a3d19b2834f1979e33f69055525c67518">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3d19b2834f1979e33f69055525c67518"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a90ba2bd52d95233adfb649453e78ade4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a90ba2bd52d95233adfb649453e78ade4">DeleteCustomRenderMeshParameters</a> ()</td></tr>
|
||||
<tr class="memdesc:a90ba2bd52d95233adfb649453e78ade4"><td class="mdescLeft"> </td><td class="mdescRight">Deletes any per object mesh parameters. <a href="#a90ba2bd52d95233adfb649453e78ade4">More...</a><br /></td></tr>
|
||||
<tr class="separator:a90ba2bd52d95233adfb649453e78ade4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae5a747bdb41a09a72df1c8ed3bae9200"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ae5a747bdb41a09a72df1c8ed3bae9200">DisplayMaterialRefCount</a> () const</td></tr>
|
||||
<tr class="separator:ae5a747bdb41a09a72df1c8ed3bae9200"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -93,6 +99,7 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a0ee92c646f7640eba14cf7d4958b9b4e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a0ee92c646f7640eba14cf7d4958b9b4e">EnableCustomRenderMeshParameters</a> (bool bEnable)</td></tr>
|
||||
<tr class="separator:a0ee92c646f7640eba14cf7d4958b9b4e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af38536107357b9272b32d8ff901882e7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#af38536107357b9272b32d8ff901882e7">FindDisplayMaterialId</a> (const <a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &viewport_id, <a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> *display_material_id=nullptr) const</td></tr>
|
||||
<tr class="memdesc:af38536107357b9272b32d8ff901882e7"><td class="mdescLeft"> </td><td class="mdescRight">Quick way to see if a viewport has a special material. <a href="#af38536107357b9272b32d8ff901882e7">More...</a><br /></td></tr>
|
||||
<tr class="separator:af38536107357b9272b32d8ff901882e7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7c206d7ea9b158f3186f5a73a1dc5cb5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7c206d7ea9b158f3186f5a73a1dc5cb5">FindDisplayMaterialRef</a> (const <a class="el" href="../../d3/d88/class_o_n___display_material_ref.html">ON_DisplayMaterialRef</a> &search_material, <a class="el" href="../../d3/d88/class_o_n___display_material_ref.html">ON_DisplayMaterialRef</a> *found_material=nullptr) const</td></tr>
|
||||
<tr class="memdesc:a7c206d7ea9b158f3186f5a73a1dc5cb5"><td class="mdescLeft"> </td><td class="mdescRight">display material references <a href="#a7c206d7ea9b158f3186f5a73a1dc5cb5">More...</a><br /></td></tr>
|
||||
@@ -114,14 +121,17 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memdesc:a18a2dda6a50059db5394d3cecbf0c13e"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if object is in any of the groups in the list. <a href="#a18a2dda6a50059db5394d3cecbf0c13e">More...</a><br /></td></tr>
|
||||
<tr class="separator:a18a2dda6a50059db5394d3cecbf0c13e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a59184537e9c112b2eba007e7e41b5b23"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a59184537e9c112b2eba007e7e41b5b23">IsInstanceDefinitionObject</a> () const</td></tr>
|
||||
<tr class="memdesc:a59184537e9c112b2eba007e7e41b5b23"><td class="mdescLeft"> </td><td class="mdescRight">Use this query to determine if an object is part of an instance definition. <a href="#a59184537e9c112b2eba007e7e41b5b23">More...</a><br /></td></tr>
|
||||
<tr class="separator:a59184537e9c112b2eba007e7e41b5b23"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abed6bc13691f367fbc82a9c02f41f300"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#abed6bc13691f367fbc82a9c02f41f300">IsValid</a> (class <a class="el" href="../../d2/da3/class_o_n___text_log.html">ON_TextLog</a> *text_log=nullptr) const override</td></tr>
|
||||
<tr class="memdesc:abed6bc13691f367fbc82a9c02f41f300"><td class="mdescLeft"> </td><td class="mdescRight">Tests an object to see if its data members are correctly initialized. <a href="#abed6bc13691f367fbc82a9c02f41f300">More...</a><br /></td></tr>
|
||||
<tr class="separator:abed6bc13691f367fbc82a9c02f41f300"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a532bcebb3f3b31a37db40e504d81e2e4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a532bcebb3f3b31a37db40e504d81e2e4">IsVisible</a> () const</td></tr>
|
||||
<tr class="separator:a532bcebb3f3b31a37db40e504d81e2e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac56df8f7a1fe84e6ad419c689ed48235"><td class="memItemLeft" align="right" valign="top">ON::object_linetype_source </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ac56df8f7a1fe84e6ad419c689ed48235">LinetypeSource</a> () const</td></tr>
|
||||
<tr class="separator:ac56df8f7a1fe84e6ad419c689ed48235"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad6f67ac4c1d05942d541f847111fc9a1"><td class="memItemLeft" align="right" valign="top">ON::object_material_source </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ad6f67ac4c1d05942d541f847111fc9a1">MaterialSource</a> () const</td></tr>
|
||||
<tr class="memdesc:ad6f67ac4c1d05942d541f847111fc9a1"><td class="mdescLeft"> </td><td class="mdescRight">Determine if the simple material should come from the object or from it's layer. High quality rendering plug-ins should use m_rendering_attributes. <a href="#ad6f67ac4c1d05942d541f847111fc9a1">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad6f67ac4c1d05942d541f847111fc9a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8651b5951e627bf2eb9c4e8b20206023"><td class="memItemLeft" align="right" valign="top">ON::object_mode </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a8651b5951e627bf2eb9c4e8b20206023">Mode</a> () const</td></tr>
|
||||
<tr class="memdesc:a8651b5951e627bf2eb9c4e8b20206023"><td class="mdescLeft"> </td><td class="mdescRight">Interface ////////////////////////////////////////////////////////. <a href="#a8651b5951e627bf2eb9c4e8b20206023">More...</a><br /></td></tr>
|
||||
@@ -140,8 +150,10 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memdesc:a9cd98a06569b9a350eecc0d7ac1e04af"><td class="mdescLeft"> </td><td class="mdescRight">virtual <a href="#a9cd98a06569b9a350eecc0d7ac1e04af">More...</a><br /></td></tr>
|
||||
<tr class="separator:a9cd98a06569b9a350eecc0d7ac1e04af"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a915d7f0521394430a2f61c3a1f473e37"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a915d7f0521394430a2f61c3a1f473e37">RemoveAllDisplayMaterialRefs</a> ()</td></tr>
|
||||
<tr class="memdesc:a915d7f0521394430a2f61c3a1f473e37"><td class="mdescLeft"> </td><td class="mdescRight">Remove a the entire display material reference list. <a href="#a915d7f0521394430a2f61c3a1f473e37">More...</a><br /></td></tr>
|
||||
<tr class="separator:a915d7f0521394430a2f61c3a1f473e37"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a73d8172c7ae2b2d8f4ed216fc3de64e7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a73d8172c7ae2b2d8f4ed216fc3de64e7">RemoveDisplayMaterialRef</a> (<a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> viewport_id, <a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> display_material_id=ON_nil_uuid)</td></tr>
|
||||
<tr class="memdesc:a73d8172c7ae2b2d8f4ed216fc3de64e7"><td class="mdescLeft"> </td><td class="mdescRight">Remove a display material reference from the list. <a href="#a73d8172c7ae2b2d8f4ed216fc3de64e7">More...</a><br /></td></tr>
|
||||
<tr class="separator:a73d8172c7ae2b2d8f4ed216fc3de64e7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa2c557b5813dc13f758ffd794734afdb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#aa2c557b5813dc13f758ffd794734afdb">RemoveFromAllGroups</a> ()</td></tr>
|
||||
<tr class="memdesc:aa2c557b5813dc13f758ffd794734afdb"><td class="mdescLeft"> </td><td class="mdescRight">Removes object from all groups. <a href="#aa2c557b5813dc13f758ffd794734afdb">More...</a><br /></td></tr>
|
||||
@@ -152,26 +164,24 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memdesc:ad10858270eaf1f3e24390ed2ff6388ab"><td class="mdescLeft"> </td><td class="mdescRight">removes the object from the last group in the group list <a href="#ad10858270eaf1f3e24390ed2ff6388ab">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad10858270eaf1f3e24390ed2ff6388ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4228063689c3235778386cf676b4e1fb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a4228063689c3235778386cf676b4e1fb">SetColorSource</a> (ON::object_color_source)</td></tr>
|
||||
<tr class="memdesc:a4228063689c3235778386cf676b4e1fb"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a33d637f60a01b3782d2c93bdb2399bb3">ColorSource()</a>. <a href="#a4228063689c3235778386cf676b4e1fb">More...</a><br /></td></tr>
|
||||
<tr class="separator:a4228063689c3235778386cf676b4e1fb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1e61312cb1d70e83a13866d8a8dee053"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a1e61312cb1d70e83a13866d8a8dee053">SetCustomRenderMeshParameters</a> (const class <a class="el" href="../../df/dbc/class_o_n___mesh_parameters.html">ON_MeshParameters</a> &mp)</td></tr>
|
||||
<tr class="separator:a1e61312cb1d70e83a13866d8a8dee053"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7cfbe65abff9a9fa680ea8b9ed138bc6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7cfbe65abff9a9fa680ea8b9ed138bc6">SetLinetypeSource</a> (ON::object_linetype_source)</td></tr>
|
||||
<tr class="memdesc:a7cfbe65abff9a9fa680ea8b9ed138bc6"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ac56df8f7a1fe84e6ad419c689ed48235">LinetypeSource()</a>. <a href="#a7cfbe65abff9a9fa680ea8b9ed138bc6">More...</a><br /></td></tr>
|
||||
<tr class="separator:a7cfbe65abff9a9fa680ea8b9ed138bc6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3ac0bcc1ab87185a4c600eed85265574"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a3ac0bcc1ab87185a4c600eed85265574">SetMaterialSource</a> (ON::object_material_source ms)</td></tr>
|
||||
<tr class="memdesc:a3ac0bcc1ab87185a4c600eed85265574"><td class="mdescLeft"> </td><td class="mdescRight">Specifies if the simple material should be the one indicated by the material index or the one indicated by the object's layer. <a href="#a3ac0bcc1ab87185a4c600eed85265574">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3ac0bcc1ab87185a4c600eed85265574"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7cf623f61572b29994cd1dc2262ce765"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7cf623f61572b29994cd1dc2262ce765">SetMode</a> (ON::object_mode)</td></tr>
|
||||
<tr class="memdesc:a7cf623f61572b29994cd1dc2262ce765"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a8651b5951e627bf2eb9c4e8b20206023" title="Interface ////////////////////////////////////////////////////////. ">Mode()</a>. <a href="#a7cf623f61572b29994cd1dc2262ce765">More...</a><br /></td></tr>
|
||||
<tr class="separator:a7cf623f61572b29994cd1dc2262ce765"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a68dfcb38d27de261d07d6555314ae5a2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a68dfcb38d27de261d07d6555314ae5a2">SetName</a> (const wchar_t *name, bool bFixInvalidName)</td></tr>
|
||||
<tr class="separator:a68dfcb38d27de261d07d6555314ae5a2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a15137edc480a3c6753be54dc231658a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a15137edc480a3c6753be54dc231658a3">SetPlotColorSource</a> (ON::plot_color_source)</td></tr>
|
||||
<tr class="memdesc:a15137edc480a3c6753be54dc231658a3"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#abdcc18cdf4a3541c710661211c1cee33">PlotColorSource()</a>. <a href="#a15137edc480a3c6753be54dc231658a3">More...</a><br /></td></tr>
|
||||
<tr class="separator:a15137edc480a3c6753be54dc231658a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a702ed53555265581b6f2738da745f148"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a702ed53555265581b6f2738da745f148">SetPlotWeightSource</a> (ON::plot_weight_source)</td></tr>
|
||||
<tr class="separator:a702ed53555265581b6f2738da745f148"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a544b3375659d943eb72ca5370ca1d197"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a544b3375659d943eb72ca5370ca1d197">SetVisible</a> (bool bVisible)</td></tr>
|
||||
<tr class="memdesc:a544b3375659d943eb72ca5370ca1d197"><td class="mdescLeft"> </td><td class="mdescRight">Controls object visibility <a href="#a544b3375659d943eb72ca5370ca1d197">More...</a><br /></td></tr>
|
||||
<tr class="separator:a544b3375659d943eb72ca5370ca1d197"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a99f0e35de70fd4094ad1cf3a4e3cc00e"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a99f0e35de70fd4094ad1cf3a4e3cc00e">SizeOf</a> () const override</td></tr>
|
||||
<tr class="memdesc:a99f0e35de70fd4094ad1cf3a4e3cc00e"><td class="mdescLeft"> </td><td class="mdescRight">virtual <a href="#a99f0e35de70fd4094ad1cf3a4e3cc00e">More...</a><br /></td></tr>
|
||||
@@ -181,6 +191,7 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a4d7e7815e06fb5583875474ce0b47443"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a4d7e7815e06fb5583875474ce0b47443">Transform</a> (const <a class="el" href="../../d3/d13/class_o_n___xform.html">ON_Xform</a> &xform)</td></tr>
|
||||
<tr class="separator:a4d7e7815e06fb5583875474ce0b47443"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a963c44ce06dc827439e0bb2fcc69a423"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a963c44ce06dc827439e0bb2fcc69a423">UpdateReferencedComponents</a> (const class <a class="el" href="../../d8/d72/class_o_n___component_manifest.html">ON_ComponentManifest</a> &source_manifest, const class <a class="el" href="../../d8/d72/class_o_n___component_manifest.html">ON_ComponentManifest</a> &destination_manifest, const class <a class="el" href="../../d9/df6/class_o_n___manifest_map.html">ON_ManifestMap</a> &manifest_map) override</td></tr>
|
||||
<tr class="memdesc:a963c44ce06dc827439e0bb2fcc69a423"><td class="mdescLeft"> </td><td class="mdescRight">Uses the destination_manifest to update references to other components. This is typically done when a component's references came from a "source" context and are being updated to the "destination" context. For example, inserting one model into another when index, id, and name conflicts need to be resolved at the time of insertion. <a href="#a963c44ce06dc827439e0bb2fcc69a423">More...</a><br /></td></tr>
|
||||
<tr class="separator:a963c44ce06dc827439e0bb2fcc69a423"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1ff9a435b0801d07d9f0b1d29563d00c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a1ff9a435b0801d07d9f0b1d29563d00c">Write</a> (<a class="el" href="../../db/d16/class_o_n___binary_archive.html">ON_BinaryArchive</a> &) const override</td></tr>
|
||||
<tr class="memdesc:a1ff9a435b0801d07d9f0b1d29563d00c"><td class="mdescLeft"> </td><td class="mdescRight">virtual <a href="#a1ff9a435b0801d07d9f0b1d29563d00c">More...</a><br /></td></tr>
|
||||
@@ -193,68 +204,98 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:ad940aab7d51005c8732d76d1b188e332 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ad940aab7d51005c8732d76d1b188e332">~ON_Object</a> ()</td></tr>
|
||||
<tr class="separator:ad940aab7d51005c8732d76d1b188e332 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8a1cfab63437a2d03cc50fdc6734f2a5 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d1/df0/class_o_n___aggregate_component_status.html">ON_AggregateComponentStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a8a1cfab63437a2d03cc50fdc6734f2a5">AggregateComponentStatus</a> () const</td></tr>
|
||||
<tr class="memdesc:a8a1cfab63437a2d03cc50fdc6734f2a5 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Call whenever a component status setting is modifed by directly changing it on a component in a way that will result in any saved information about the parent object's aggretate component status becoming invalid. <a href="../../d9/d7b/class_o_n___object.html#a8a1cfab63437a2d03cc50fdc6734f2a5">More...</a><br /></td></tr>
|
||||
<tr class="separator:a8a1cfab63437a2d03cc50fdc6734f2a5 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad5432b341051664c185b10712a6e5b79 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ad5432b341051664c185b10712a6e5b79">AttachUserData</a> (class <a class="el" href="../../d5/d55/class_o_n___user_data.html">ON_UserData</a> *pUserData)</td></tr>
|
||||
<tr class="memdesc:ad5432b341051664c185b10712a6e5b79 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Attach user data to an object. <a href="../../d9/d7b/class_o_n___object.html#ad5432b341051664c185b10712a6e5b79">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad5432b341051664c185b10712a6e5b79 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a27893ff72ca7abbe985f8b5f4ccd900e inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a27893ff72ca7abbe985f8b5f4ccd900e">ClearAllComponentStates</a> () const</td></tr>
|
||||
<tr class="memdesc:a27893ff72ca7abbe985f8b5f4ccd900e inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Set all active level component states to <a class="el" href="../../d9/d12/class_o_n___component_status.html#ae267cd5d4088c8a033fa348d30227223">ON_ComponentStatus::NoneSet</a>. <a href="../../d9/d7b/class_o_n___object.html#a27893ff72ca7abbe985f8b5f4ccd900e">More...</a><br /></td></tr>
|
||||
<tr class="separator:a27893ff72ca7abbe985f8b5f4ccd900e inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1af75ebe418edff4a11985f8fca7d83b inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a1af75ebe418edff4a11985f8fca7d83b">ClearComponentStates</a> (<a class="el" href="../../d9/d12/class_o_n___component_status.html">ON_ComponentStatus</a> states_to_clear) const</td></tr>
|
||||
<tr class="memdesc:a1af75ebe418edff4a11985f8fca7d83b inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Clear the specified states on every component. <a href="../../d9/d7b/class_o_n___object.html#a1af75ebe418edff4a11985f8fca7d83b">More...</a><br /></td></tr>
|
||||
<tr class="separator:a1af75ebe418edff4a11985f8fca7d83b inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aeadf76a46f3f1a661bbf41e1b754fe89 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#aeadf76a46f3f1a661bbf41e1b754fe89">ClearComponentStates</a> (ON_COMPONENT_INDEX component_index, <a class="el" href="../../d9/d12/class_o_n___component_status.html">ON_ComponentStatus</a> states_to_clear) const</td></tr>
|
||||
<tr class="memdesc:aeadf76a46f3f1a661bbf41e1b754fe89 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Clear states on an individual component. <a href="../../d9/d7b/class_o_n___object.html#aeadf76a46f3f1a661bbf41e1b754fe89">More...</a><br /></td></tr>
|
||||
<tr class="separator:aeadf76a46f3f1a661bbf41e1b754fe89 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad044157e5c1efde9fce1c6ccf6e81ff3 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ad044157e5c1efde9fce1c6ccf6e81ff3">CopyUserData</a> (const <a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> &source_object, <a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> source_userdata_item_id, <a class="el" href="../../d9/d7b/class_o_n___object.html#a7f520e987ffa14e71b06493340f9956c">ON_Object::UserDataConflictResolution</a> userdata_conflict_resolution)</td></tr>
|
||||
<tr class="memdesc:ad044157e5c1efde9fce1c6ccf6e81ff3 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Expert user tool that copies user data items with positive values of <a class="el" href="../../d5/d55/class_o_n___user_data.html#ac025400e9bff35c899ed85ba1b0a52e4">ON_UserData.m_userdata_copycount</a> from source_object to "this. <a href="../../d9/d7b/class_o_n___object.html#ad044157e5c1efde9fce1c6ccf6e81ff3">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad044157e5c1efde9fce1c6ccf6e81ff3 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a58958333257eba5575a6a1b09c366c1b inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a58958333257eba5575a6a1b09c366c1b">CopyUserData</a> (const <a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> &source_object)</td></tr>
|
||||
<tr class="memdesc:a58958333257eba5575a6a1b09c366c1b inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Calls CopyUserData(source_object,ON_Object::UserDataConflictResolution::source_object). <a href="../../d9/d7b/class_o_n___object.html#a58958333257eba5575a6a1b09c366c1b">More...</a><br /></td></tr>
|
||||
<tr class="separator:a58958333257eba5575a6a1b09c366c1b inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af51d5fcec9379ad9b7a56ac4dfc9a8b2 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual ON__UINT32 </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#af51d5fcec9379ad9b7a56ac4dfc9a8b2">DataCRC</a> (ON__UINT32 current_remainder) const</td></tr>
|
||||
<tr class="memdesc:af51d5fcec9379ad9b7a56ac4dfc9a8b2 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Returns a CRC calculated from the information that defines the object. This CRC can be used as a quick way to see if two objects are not identical. <a href="../../d9/d7b/class_o_n___object.html#af51d5fcec9379ad9b7a56ac4dfc9a8b2">More...</a><br /></td></tr>
|
||||
<tr class="separator:af51d5fcec9379ad9b7a56ac4dfc9a8b2 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa67be7d8cc76ec82ae22a30093ecf98f inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#aa67be7d8cc76ec82ae22a30093ecf98f">DeleteComponents</a> (const ON_COMPONENT_INDEX *ci_list, size_t ci_count)</td></tr>
|
||||
<tr class="memdesc:aa67be7d8cc76ec82ae22a30093ecf98f inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Delete the portions of the object identified in ci_list[]. <a href="../../d9/d7b/class_o_n___object.html#aa67be7d8cc76ec82ae22a30093ecf98f">More...</a><br /></td></tr>
|
||||
<tr class="separator:aa67be7d8cc76ec82ae22a30093ecf98f inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af8435c33ab53af41c22dac75e8917569 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#af8435c33ab53af41c22dac75e8917569">DestroyRuntimeCache</a> (bool bDelete=true)</td></tr>
|
||||
<tr class="memdesc:af8435c33ab53af41c22dac75e8917569 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Expert user function. If you are using openNURBS in its default configuration to read and write 3dm archives, you never need to call this function. Many objects employ lazy creation of (runtime) caches that save information to help speed geometric calculations. This function will destroy all runtime information. <a href="../../d9/d7b/class_o_n___object.html#af8435c33ab53af41c22dac75e8917569">More...</a><br /></td></tr>
|
||||
<tr class="separator:af8435c33ab53af41c22dac75e8917569 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1dbb0eff3b2287152b40991b3afca9ee inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a1dbb0eff3b2287152b40991b3afca9ee">DetachUserData</a> (class <a class="el" href="../../d5/d55/class_o_n___user_data.html">ON_UserData</a> *pUserData)</td></tr>
|
||||
<tr class="memdesc:a1dbb0eff3b2287152b40991b3afca9ee inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Remove user data from an object. <a href="../../d9/d7b/class_o_n___object.html#a1dbb0eff3b2287152b40991b3afca9ee">More...</a><br /></td></tr>
|
||||
<tr class="separator:a1dbb0eff3b2287152b40991b3afca9ee inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad265ca0da2d751edaa9d2b5ab2540c6a inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ad265ca0da2d751edaa9d2b5ab2540c6a">EmergencyDestroy</a> ()</td></tr>
|
||||
<tr class="memdesc:ad265ca0da2d751edaa9d2b5ab2540c6a inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Sets m_user_data_list = 0. <a href="../../d9/d7b/class_o_n___object.html#ad265ca0da2d751edaa9d2b5ab2540c6a">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad265ca0da2d751edaa9d2b5ab2540c6a inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adb43bb324c44740c4bc2932e2f95c835 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">class <a class="el" href="../../d5/d55/class_o_n___user_data.html">ON_UserData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#adb43bb324c44740c4bc2932e2f95c835">FirstUserData</a> () const</td></tr>
|
||||
<tr class="memdesc:adb43bb324c44740c4bc2932e2f95c835 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">User data is stored as a linked list of <a class="el" href="../../d5/d55/class_o_n___user_data.html">ON_UserData</a> classes. FirstUserData gets the first item in the linked list. This is the most recent item attached using <a class="el" href="../../d9/d7b/class_o_n___object.html#ad5432b341051664c185b10712a6e5b79" title="Attach user data to an object. ">AttachUserData()</a>. Remark: To iterate through all the user data on an object, call <a class="el" href="../../d9/d7b/class_o_n___object.html#adb43bb324c44740c4bc2932e2f95c835" title="User data is stored as a linked list of ON_UserData classes. FirstUserData gets the first item in the...">FirstUserData()</a> and then use <a class="el" href="../../d5/d55/class_o_n___user_data.html#a5e5a0d01e000319e0b37b340752613d8">ON_UserData::Next()</a> to traverse the list. <a href="../../d9/d7b/class_o_n___object.html#adb43bb324c44740c4bc2932e2f95c835">More...</a><br /></td></tr>
|
||||
<tr class="separator:adb43bb324c44740c4bc2932e2f95c835 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a691de6470e814973858aa5c51eaffa77 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a691de6470e814973858aa5c51eaffa77">GetComponentsWithSetStates</a> (<a class="el" href="../../d9/d12/class_o_n___component_status.html">ON_ComponentStatus</a> states_filter, bool bAllEqualStates, <a class="el" href="../../dc/dfe/class_o_n___simple_array.html">ON_SimpleArray</a>< ON_COMPONENT_INDEX > &components) const</td></tr>
|
||||
<tr class="separator:a691de6470e814973858aa5c51eaffa77 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a29f8d609e22008680581c6ca72ac47df inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">class <a class="el" href="../../d5/d55/class_o_n___user_data.html">ON_UserData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a29f8d609e22008680581c6ca72ac47df">GetUserData</a> (const <a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> &userdata_uuid) const</td></tr>
|
||||
<tr class="memdesc:a29f8d609e22008680581c6ca72ac47df inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Get a pointer to user data. <a href="../../d9/d7b/class_o_n___object.html#a29f8d609e22008680581c6ca72ac47df">More...</a><br /></td></tr>
|
||||
<tr class="separator:a29f8d609e22008680581c6ca72ac47df inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab40b5e89b4766299e415593b31a3849c inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ab40b5e89b4766299e415593b31a3849c">GetUserString</a> (const wchar_t *key, <a class="el" href="../../d1/d11/class_o_n__w_string.html">ON_wString</a> &string_value) const</td></tr>
|
||||
<tr class="memdesc:ab40b5e89b4766299e415593b31a3849c inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Get user string from the object. <a href="../../d9/d7b/class_o_n___object.html#ab40b5e89b4766299e415593b31a3849c">More...</a><br /></td></tr>
|
||||
<tr class="separator:ab40b5e89b4766299e415593b31a3849c inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac285fba1506b2b9b821e3655582939c4 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ac285fba1506b2b9b821e3655582939c4">GetUserStringKeys</a> (<a class="el" href="../../dd/d40/class_o_n___class_array.html">ON_ClassArray</a>< <a class="el" href="../../d1/d11/class_o_n__w_string.html">ON_wString</a> > &user_string_keys) const</td></tr>
|
||||
<tr class="memdesc:ac285fba1506b2b9b821e3655582939c4 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Get a list of all user string keys on the object. <a href="../../d9/d7b/class_o_n___object.html#ac285fba1506b2b9b821e3655582939c4">More...</a><br /></td></tr>
|
||||
<tr class="separator:ac285fba1506b2b9b821e3655582939c4 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a004ab49490f69fcdc7681919c3837a33 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a004ab49490f69fcdc7681919c3837a33">GetUserStrings</a> (<a class="el" href="../../dd/d40/class_o_n___class_array.html">ON_ClassArray</a>< <a class="el" href="../../d0/d82/class_o_n___user_string.html">ON_UserString</a> > &user_strings) const</td></tr>
|
||||
<tr class="memdesc:a004ab49490f69fcdc7681919c3837a33 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Get a list of all user strings on the object. <a href="../../d9/d7b/class_o_n___object.html#a004ab49490f69fcdc7681919c3837a33">More...</a><br /></td></tr>
|
||||
<tr class="separator:a004ab49490f69fcdc7681919c3837a33 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afe5367058a90545e81cd79b78103175d inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#afe5367058a90545e81cd79b78103175d">IsKindOf</a> (const <a class="el" href="../../d3/d3c/class_o_n___class_id.html">ON_ClassId</a> *pClassId) const</td></tr>
|
||||
<tr class="memdesc:afe5367058a90545e81cd79b78103175d inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Low level tool to test if an object is derived from a specified class. <a href="../../d9/d7b/class_o_n___object.html#afe5367058a90545e81cd79b78103175d">More...</a><br /></td></tr>
|
||||
<tr class="separator:afe5367058a90545e81cd79b78103175d inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a609192fbafecbe4be3136d8cb4dce882 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a609192fbafecbe4be3136d8cb4dce882">MarkAggregateComponentStatusAsNotCurrent</a> () const</td></tr>
|
||||
<tr class="memdesc:a609192fbafecbe4be3136d8cb4dce882 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Call whenever a component status setting is modifed by directly changing it on a component in a way that will result in any saved information about the parent object's aggretate component status becoming invalid. <a href="../../d9/d7b/class_o_n___object.html#a609192fbafecbe4be3136d8cb4dce882">More...</a><br /></td></tr>
|
||||
<tr class="separator:a609192fbafecbe4be3136d8cb4dce882 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae0674ccb79b6333e4b3c8e95ee10dd73 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ae0674ccb79b6333e4b3c8e95ee10dd73">MemoryRelocate</a> ()</td></tr>
|
||||
<tr class="memdesc:ae0674ccb79b6333e4b3c8e95ee10dd73 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="../../d9/d7b/class_o_n___object.html#ae0674ccb79b6333e4b3c8e95ee10dd73" title="The MemoryRelocate() function is called when an object's location in memory is changed. For example, if an object resides in a chunk of memory that is grown by calling a realloc that has to allocate a new chunk and copy the contents of the old chunk to the new chunk, then the location of the object's memory changes. In practice this happens when classes derived from ON_Object are stored in dynamic arrays, like the default implementation of ON_ObjectArray<>'s that use realloc to grow the dynamic array. ">MemoryRelocate()</a> function is called when an object's location in memory is changed. For example, if an object resides in a chunk of memory that is grown by calling a realloc that has to allocate a new chunk and copy the contents of the old chunk to the new chunk, then the location of the object's memory changes. In practice this happens when classes derived from <a class="el" href="../../d9/d7b/class_o_n___object.html" title="Pure virtual base class for all classes that must provide runtime class id or support object level 3D...">ON_Object</a> are stored in dynamic arrays, like the default implementation of ON_ObjectArray<>'s that use realloc to grow the dynamic array. <a href="../../d9/d7b/class_o_n___object.html#ae0674ccb79b6333e4b3c8e95ee10dd73">More...</a><br /></td></tr>
|
||||
<tr class="separator:ae0674ccb79b6333e4b3c8e95ee10dd73 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a21c508d3b53458e252adbcd29e62ed09 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a21c508d3b53458e252adbcd29e62ed09">ModelObjectId</a> () const</td></tr>
|
||||
<tr class="memdesc:a21c508d3b53458e252adbcd29e62ed09 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">All objects in an opennurbs model have an id ( ON_Layer.m_layer_id, ON_Font.m_font_id, ON_Material.m_material_id, <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a806a85052b002c45021650e3b97e2018">ON_3dmObjectAttributes.m_uuid</a> ). <a href="../../d9/d7b/class_o_n___object.html#a21c508d3b53458e252adbcd29e62ed09">More...</a><br /></td></tr>
|
||||
<tr class="separator:a21c508d3b53458e252adbcd29e62ed09 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a78b4ecb2eb36641e1ee6b4fc6129606e inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a78b4ecb2eb36641e1ee6b4fc6129606e">MoveUserData</a> (<a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> &source_object, <a class="el" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> source_userdata_item_id, <a class="el" href="../../d9/d7b/class_o_n___object.html#a7f520e987ffa14e71b06493340f9956c">ON_Object::UserDataConflictResolution</a> userdata_conflict_resolution, bool bDeleteAllSourceItems)</td></tr>
|
||||
<tr class="memdesc:a78b4ecb2eb36641e1ee6b4fc6129606e inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Expert user tool that moves user data items from source_object to "this. <a href="../../d9/d7b/class_o_n___object.html#a78b4ecb2eb36641e1ee6b4fc6129606e">More...</a><br /></td></tr>
|
||||
<tr class="separator:a78b4ecb2eb36641e1ee6b4fc6129606e inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a54a891ae2cb2a25008a7a39cb19dfcea inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a54a891ae2cb2a25008a7a39cb19dfcea">MoveUserData</a> (<a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> &source_object)</td></tr>
|
||||
<tr class="memdesc:a54a891ae2cb2a25008a7a39cb19dfcea inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Calls MoveUserData(source_object,ON_Object::UserDataConflictResolution::source_object,true). <a href="../../d9/d7b/class_o_n___object.html#a54a891ae2cb2a25008a7a39cb19dfcea">More...</a><br /></td></tr>
|
||||
<tr class="separator:a54a891ae2cb2a25008a7a39cb19dfcea inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afa19aee4a411a8fda53aff00bd02d86e inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual ON::object_type </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#afa19aee4a411a8fda53aff00bd02d86e">ObjectType</a> () const</td></tr>
|
||||
<tr class="memdesc:afa19aee4a411a8fda53aff00bd02d86e inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Useful for switch statements that need to differentiate between basic object types like points, curves, surfaces, and so on. <a href="../../d9/d7b/class_o_n___object.html#afa19aee4a411a8fda53aff00bd02d86e">More...</a><br /></td></tr>
|
||||
<tr class="separator:afa19aee4a411a8fda53aff00bd02d86e inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aba6166c9aecef42639e684a2a3fda223 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#aba6166c9aecef42639e684a2a3fda223">operator=</a> (const <a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> &)</td></tr>
|
||||
<tr class="separator:aba6166c9aecef42639e684a2a3fda223 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a88b61cafc0024ecb7a4bd22da2718680 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a88b61cafc0024ecb7a4bd22da2718680">PurgeUserData</a> ()</td></tr>
|
||||
<tr class="memdesc:a88b61cafc0024ecb7a4bd22da2718680 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="../../d9/d7b/class_o_n___object.html#a88b61cafc0024ecb7a4bd22da2718680" title="PurgeUserData() removes all user data from object. ">PurgeUserData()</a> removes all user data from object. <a href="../../d9/d7b/class_o_n___object.html#a88b61cafc0024ecb7a4bd22da2718680">More...</a><br /></td></tr>
|
||||
<tr class="separator:a88b61cafc0024ecb7a4bd22da2718680 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab728c0576fd5913bc1575b74997bddb5 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ab728c0576fd5913bc1575b74997bddb5">SetComponentStates</a> (ON_COMPONENT_INDEX component_index, <a class="el" href="../../d9/d12/class_o_n___component_status.html">ON_ComponentStatus</a> states_to_set) const</td></tr>
|
||||
<tr class="memdesc:ab728c0576fd5913bc1575b74997bddb5 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Set states on an individual component. <a href="../../d9/d7b/class_o_n___object.html#ab728c0576fd5913bc1575b74997bddb5">More...</a><br /></td></tr>
|
||||
<tr class="separator:ab728c0576fd5913bc1575b74997bddb5 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a589f1fdc28f6259d1bd22bdedc9c4c76 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a589f1fdc28f6259d1bd22bdedc9c4c76">SetComponentStatus</a> (ON_COMPONENT_INDEX component_index, <a class="el" href="../../d9/d12/class_o_n___component_status.html">ON_ComponentStatus</a> status_to_copy) const</td></tr>
|
||||
<tr class="memdesc:a589f1fdc28f6259d1bd22bdedc9c4c76 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Copy status settings to an individual component. <a href="../../d9/d7b/class_o_n___object.html#a589f1fdc28f6259d1bd22bdedc9c4c76">More...</a><br /></td></tr>
|
||||
<tr class="separator:a589f1fdc28f6259d1bd22bdedc9c4c76 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a074dc9e9b919853919564793c37f5143 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a074dc9e9b919853919564793c37f5143">SetUserString</a> (const wchar_t *key, const wchar_t *string_value)</td></tr>
|
||||
<tr class="memdesc:a074dc9e9b919853919564793c37f5143 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Attach a user string to the object. This information will perisist through copy construction, operator=, and file IO. <a href="../../d9/d7b/class_o_n___object.html#a074dc9e9b919853919564793c37f5143">More...</a><br /></td></tr>
|
||||
<tr class="separator:a074dc9e9b919853919564793c37f5143 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7234af898c307a2c2f7931db7e627592 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a7234af898c307a2c2f7931db7e627592">SetUserStrings</a> (int count, const <a class="el" href="../../d0/d82/class_o_n___user_string.html">ON_UserString</a> *user_strings, bool bReplace)</td></tr>
|
||||
<tr class="memdesc:a7234af898c307a2c2f7931db7e627592 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Append entries to the user string list <a href="../../d9/d7b/class_o_n___object.html#a7234af898c307a2c2f7931db7e627592">More...</a><br /></td></tr>
|
||||
<tr class="separator:a7234af898c307a2c2f7931db7e627592 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a881bd2f0d8515adba1c42c578bcb7052 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#a881bd2f0d8515adba1c42c578bcb7052">TransformUserData</a> (const class <a class="el" href="../../d3/d13/class_o_n___xform.html">ON_Xform</a> &xform)</td></tr>
|
||||
<tr class="memdesc:a881bd2f0d8515adba1c42c578bcb7052 inherit pub_methods_class_o_n___object"><td class="mdescLeft"> </td><td class="mdescRight">Objects derived from <a class="el" href="../../df/de0/class_o_n___geometry.html" title="Base class for all geometry classes that must provide runtime class id. Provides interface for common...">ON_Geometry</a> must call <a class="el" href="../../d9/d7b/class_o_n___object.html#a881bd2f0d8515adba1c42c578bcb7052" title="Objects derived from ON_Geometry must call TransformUserData() in their Transform() member function...">TransformUserData()</a> in their Transform() member function. <a href="../../d9/d7b/class_o_n___object.html#a881bd2f0d8515adba1c42c578bcb7052">More...</a><br /></td></tr>
|
||||
<tr class="separator:a881bd2f0d8515adba1c42c578bcb7052 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab648403ebf4592831809710f378e9ac2 inherit pub_methods_class_o_n___object"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d7b/class_o_n___object.html#ab648403ebf4592831809710f378e9ac2">UserStringCount</a> () const</td></tr>
|
||||
<tr class="separator:ab648403ebf4592831809710f378e9ac2 inherit pub_methods_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -315,14 +356,13 @@ Additional Inherited Members</h2></td></tr>
|
||||
<a class="el" href="../../d9/d7b/class_o_n___object.html#a7f520e987ffa14e71b06493340f9956cadb77cee2050a09b500c679688e45a105">UserDataConflictResolution::destination_copycount_ge</a> = 5,
|
||||
<a class="el" href="../../d9/d7b/class_o_n___object.html#a7f520e987ffa14e71b06493340f9956ca880ec7882afd9386e91140bf4f77e594">UserDataConflictResolution::delete_item</a> = 6
|
||||
<br />
|
||||
}</td></tr>
|
||||
}<tr class="memdesc:a7f520e987ffa14e71b06493340f9956c"><td class="mdescLeft"> </td><td class="mdescRight">When a userdata item is copied or moved from a source object to a destination object, the <a class="el" href="../../d9/d7b/class_o_n___object.html#a7f520e987ffa14e71b06493340f9956c" title="When a userdata item is copied or moved from a source object to a destination object, the ON_Object::UserDataConflictResolution enum values specify how conficts are resolved. Remark: A userdata item "conflict" occurs when both the destination and source object have a user data item with the same value of ON_UserData::m_userdata_uuid. ">ON_Object::UserDataConflictResolution</a> enum values specify how conficts are resolved. Remark: A userdata item "conflict" occurs when both the destination and source object have a user data item with the same value of <a class="el" href="../../d5/d55/class_o_n___user_data.html#a9bc044ba84a529fe2195d8f8a817fda2" title="This uuid is the value that must be passed to ON_Object::GetUserData() to retrieve this piece of user...">ON_UserData::m_userdata_uuid</a>. <a href="../../d9/d7b/class_o_n___object.html#a7f520e987ffa14e71b06493340f9956c">More...</a><br /></td></tr>
|
||||
</td></tr>
|
||||
<tr class="separator:a7f520e987ffa14e71b06493340f9956c inherit pub_types_class_o_n___object"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section rcs"><dt>NoKeywords</dt><dd></dd></dl>
|
||||
<p>/ / Copyright (c) 1993-2012 Robert McNeel & Associates. All rights reserved. / OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert / McNeel & Associates. / / THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. / ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF / MERCHANTABILITY ARE HEREBY DISCLAIMED. / / For complete openNURBS copyright information see <a href="http://www.opennurbs.org">http://www.opennurbs.org</a>. / //////////////////////////////////////////////////////////////</p>
|
||||
<p>defines <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> Description: Top level OpenNURBS objects have geometry and attributes. The geometry is stored in some class derived from <a class="el" href="../../df/de0/class_o_n___geometry.html">ON_Geometry</a> and the attributes are stored in an <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a> class. Examples of attributes are object name, object id, display attributes, group membership, layer membership, and so on.</p>
|
||||
<p>Remarks: 7 January 2003 Dale Lear Derived from <a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> so <a class="el" href="../../d5/d55/class_o_n___user_data.html">ON_UserData</a> can be attached to <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a>. </p>
|
||||
<div class="textblock"><p>Top level OpenNURBS objects have geometry and attributes. The geometry is stored in some class derived from <a class="el" href="../../df/de0/class_o_n___geometry.html" title="Base class for all geometry classes that must provide runtime class id. Provides interface for common...">ON_Geometry</a> and the attributes are stored in an <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html" title="Top level OpenNURBS objects have geometry and attributes. The geometry is stored in some class derive...">ON_3dmObjectAttributes</a> class. Examples of attributes are object name, object id, display attributes, group membership, layer membership, and so on. </p>
|
||||
<p>7 January 2003 Dale Lear Derived from <a class="el" href="../../d9/d7b/class_o_n___object.html" title="Pure virtual base class for all classes that must provide runtime class id or support object level 3D...">ON_Object</a> so <a class="el" href="../../d5/d55/class_o_n___user_data.html">ON_UserData</a> can be attached to <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html" title="Top level OpenNURBS objects have geometry and attributes. The geometry is stored in some class derive...">ON_3dmObjectAttributes</a>. </p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a7082b86c0a38c3e1da3ddc5813ffa109"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a7082b86c0a38c3e1da3ddc5813ffa109">◆ </a></span>ON_3dmObjectAttributes()</h2>
|
||||
@@ -376,7 +416,16 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Add a display material reference to the attributes. If there is an existing entry with a matching viewport id, the existing entry is replaced. Parameters: display_material - [in] Returns: True if input is valid (material id != nil) See Also: <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7c206d7ea9b158f3186f5a73a1dc5cb5" title="display material references ">ON_3dmObjectAttributes::FindDisplayMaterialRef</a> <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a73d8172c7ae2b2d8f4ed216fc3de64e7">ON_3dmObjectAttributes::RemoveDisplayMaterialRef</a> </p>
|
||||
|
||||
<p>Add a display material reference to the attributes. If there is an existing entry with a matching viewport id, the existing entry is replaced. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">display_material</td><td>[in]</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if input is valid (material id != nil) </dd></dl>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7c206d7ea9b158f3186f5a73a1dc5cb5" title="display material references ">ON_3dmObjectAttributes::FindDisplayMaterialRef</a>, <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a73d8172c7ae2b2d8f4ed216fc3de64e7" title="Remove a display material reference from the list. ">ON_3dmObjectAttributes::RemoveDisplayMaterialRef</a></dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -395,7 +444,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Adds object to the group with specified index by appending index to group list (If the object is already in group, nothing is changed.) </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -430,14 +478,24 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: If "this" has attributes (color, plot weight, ...) with "by parent" sources, then the values of those attributes on parent_attributes are copied. Parameters: parent_attributes - [in] parent_layer - [in] control_limits - [in] The bits in control_limits determine which attributes may may be copied. 1: visibility 2: color 4: render material 8: plot color 0x10: plot weight 0x20: linetype 0x40: display order</p>
|
||||
<p>Returns: The bits in the returned integer indicate which attributes were actually modified. </p><pre class="fragment"> 1: visibility
|
||||
|
||||
<p>If "this" has attributes (color, plot weight, ...) with "by parent" sources, then the values of those attributes on parent_attributes are copied. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">parent_attributes</td><td>[in]</td></tr>
|
||||
<tr><td class="paramname">parent_layer</td><td>[in]</td></tr>
|
||||
<tr><td class="paramname">control_limits</td><td>[in] The bits in control_limits determine which attributes may may be copied. 1: visibility 2: color 4: render material 8: plot color 0x10: plot weight 0x20: linetype 0x40: display order </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The bits in the returned integer indicate which attributes were actually modified. <pre class="fragment"> 1: visibility
|
||||
2: color
|
||||
4: render material
|
||||
8: plot color
|
||||
0x10: plot weight
|
||||
0x20: linetype
|
||||
0x40: display order</pre><p> ON_DEPRECATED unsigned int ApplyParentalControl( const <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a>& parent_attributes, unsigned int control_limits = 0xFFFFFFFF ); </p>
|
||||
0x40: display order
|
||||
</pre> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -455,7 +513,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>The color used to display an OpenNURBS object is specified in one of three ways. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a33d637f60a01b3782d2c93bdb2399bb3">ColorSource()</a> is ON::color_from_layer, then the object's layer <a class="el" href="../../d6/d78/class_o_n___layer.html#a42b0dcfa3a183660018d0979a40f394b">ON_Layer::Color()</a> is used. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a33d637f60a01b3782d2c93bdb2399bb3">ColorSource()</a> is ON::color_from_object, then value of m_color is used. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a33d637f60a01b3782d2c93bdb2399bb3">ColorSource()</a> is ON::color_from_material, then the diffuse color of the object's render material is used. See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ad6f67ac4c1d05942d541f847111fc9a1">ON_3dmObjectAttributes::MaterialSource()</a> to determine where to get the definition of the object's render material. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -473,7 +530,12 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns: Null or a pointer to fragile mesh parameters. If a non-null pointer is returned, copy it and use the copy. DO NOT SAVE THIS POINTER FOR LATER USE. A call to DeleteMeshParameters() will delete the class. DO NOT const_cast the returned pointer and change its settings. You must use either SetMeshParameters() or EnableMeshParameters() to change settings. Remarks: If the value of ON_MeshParameters::m_bCustomSettingsDisabled is true, then do no use these parameters to make a render mesh. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Null or a pointer to fragile mesh parameters. If a non-null pointer is returned, copy it and use the copy.<ul>
|
||||
<li>DO NOT SAVE THIS POINTER FOR LATER USE. A call to DeleteMeshParameters() will delete the class.</li>
|
||||
<li>DO NOT const_cast the returned pointer and change its settings. You must use either SetMeshParameters() or EnableMeshParameters() to change settings. </li>
|
||||
</ul>
|
||||
</dd></dl>
|
||||
<p>If the value of ON_MeshParameters::m_bCustomSettingsDisabled is true, then do no use these parameters to make a render mesh. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -510,7 +572,8 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Deletes any per object mesh parameters. </p>
|
||||
|
||||
<p>Deletes any per object mesh parameters. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -528,7 +591,7 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns: Number of diplay material refences. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Number of diplay material refences. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -577,7 +640,14 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Parameters: bEnable - [in] true to enable use of the per object mesh parameters. false to disable use of the per object mesh parameters. Returns: False if the object doe not have per object mesh parameters and bEnable was true. Use SetMeshParameters() to set per object mesh parameters. Remarks: Sets the value of ON_MeshParameters::m_bCustomSettingsDisabled to !bEnable </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">bEnable</td><td>[in] true to enable use of the per object mesh parameters. false to disable use of the per object mesh parameters.</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>False if the object doe not have per object mesh parameters and bEnable was true. Use SetMeshParameters() to set per object mesh parameters. </dd></dl>
|
||||
<p>Sets the value of ON_MeshParameters::m_bCustomSettingsDisabled to !bEnable </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -606,7 +676,16 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Quick way to see if a viewport has a special material. Parameters: viewport_id - [in] display_material_id - [out] Returns: True if a material_id is assigned. </p>
|
||||
|
||||
<p>Quick way to see if a viewport has a special material. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">viewport_id</td><td>[in]</td></tr>
|
||||
<tr><td class="paramname">display_material_id</td><td>[out]</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if a material_id is assigned. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -637,13 +716,19 @@ Additional Inherited Members</h2></td></tr>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>display material references </p>
|
||||
<p>Description: Searches for a matching display material. For a given viewport id, there is at most one display material. For a given display material id, there can be multiple viewports. If there is a display reference in the list with a nil viewport id, then the display material will be used in all viewports that are not explictly referenced in other ON_DisplayMaterialRefs.</p>
|
||||
<p>Parameters: search_material - [in] found_material - [out]</p>
|
||||
<p>Searches for a matching display material. For a given viewport id, there is at most one display material. For a given display material id, there can be multiple viewports. If there is a display reference in the list with a nil viewport id, then the display material will be used in all viewports that are not explictly referenced in other ON_DisplayMaterialRefs.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">search_material</td><td>[in]</td></tr>
|
||||
<tr><td class="paramname">found_material</td><td>[out]</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7c206d7ea9b158f3186f5a73a1dc5cb5" title="display material references ">FindDisplayMaterialRef()</a>, the input value of search_material is never changed. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7c206d7ea9b158f3186f5a73a1dc5cb5" title="display material references ">FindDisplayMaterialRef()</a> returns true, the chart shows the output value of display_material. When there are multiple possibilities for a match, the matches at the top of the chart have higher priority.</p>
|
||||
<p>search_material found_material input value output value</p>
|
||||
<p>(nil,nil) (nil,did) if (nil,did) is in the list. (nil,did) (vid,did) if (vid,did) is in the list. (nil,did) (nil,did) if (nil,did) is in the list. (vid,nil) (vid,did) if (vid,did) is in the list (vid,nil) (vid,did) if (nil,did) is in the list (vid,did) (vid,did) if (vid,did) is in the list.</p>
|
||||
<p>Example: ON_UUID display_material_id = ON_nil_uuid; <a class="el" href="../../d4/deb/class_o_n___viewport.html">ON_Viewport</a> vp = ...; <a class="el" href="../../d3/d88/class_o_n___display_material_ref.html">ON_DisplayMaterialRef</a> search_dm; search_dm.m_viewport_id = vp.ViewportId(); <a class="el" href="../../d3/d88/class_o_n___display_material_ref.html">ON_DisplayMaterialRef</a> found_dm; if ( attributes.FindDisplayMaterial(search_dm, &found_dm) ) { display_material_id = found_dm.m_display_material_id; }</p>
|
||||
<p>Returns: True if a matching display material is found. See Also: <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a32136fa207529db2c98dc6e3246ce3ae">ON_3dmObjectAttributes::AddDisplayMaterialRef</a> <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a73d8172c7ae2b2d8f4ed216fc3de64e7">ON_3dmObjectAttributes::RemoveDisplayMaterialRef</a> </p>
|
||||
<p>(nil,nil) (nil,did) if (nil,did) is in the list. (nil,did) (vid,did) if (vid,did) is in the list. (nil,did) (nil,did) if (nil,did) is in the list. (vid,nil) (vid,did) if (vid,did) is in the list (vid,nil) (vid,did) if (nil,did) is in the list (vid,did) (vid,did) if (vid,did) is in the list. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if a matching display material is found. </dd></dl>
|
||||
<div class="fragment"><div class="line"><a class="code" href="../../d8/db4/struct_o_n___u_u_i_d__struct.html">ON_UUID</a> display_material_id = ON_nil_uuid;</div><div class="line"><a class="code" href="../../d4/deb/class_o_n___viewport.html">ON_Viewport</a> vp = ...;</div><div class="line"><a class="code" href="../../d3/d88/class_o_n___display_material_ref.html">ON_DisplayMaterialRef</a> search_dm;</div><div class="line">search_dm.<a class="code" href="../../d3/d88/class_o_n___display_material_ref.html#a4aea3d078d852786716a7e3686a80f58">m_viewport_id</a> = vp.<a class="code" href="../../d4/deb/class_o_n___viewport.html#a175792a4a5412d581f9ef7ca5063c0ec">ViewportId</a>();</div><div class="line"><a class="code" href="../../d3/d88/class_o_n___display_material_ref.html">ON_DisplayMaterialRef</a> found_dm;</div><div class="line"><span class="keywordflow">if</span> ( attributes.FindDisplayMaterial(search_dm, &found_dm) )</div><div class="line">{</div><div class="line"> display_material_id = found_dm.<a class="code" href="../../d3/d88/class_o_n___display_material_ref.html#aba753e9d8e7997a4dd9f0c5f59eab17c">m_display_material_id</a>;</div><div class="line">}</div></div><!-- fragment --> <dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a32136fa207529db2c98dc6e3246ce3ae" title="Add a display material reference to the attributes. If there is an existing entry with a matching vie...">ON_3dmObjectAttributes::AddDisplayMaterialRef</a>, <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a73d8172c7ae2b2d8f4ed216fc3de64e7" title="Remove a display material reference from the list. ">ON_3dmObjectAttributes::RemoveDisplayMaterialRef</a></dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -662,7 +747,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a6e486c9b62156a0518d43fffe921c0d5" title="group interface ">GroupCount()</a> and puts a list of zero based group indices into the array. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -700,7 +784,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns and array an array of <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a6e486c9b62156a0518d43fffe921c0d5" title="group interface ">GroupCount()</a> zero based group indices. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a6e486c9b62156a0518d43fffe921c0d5" title="group interface ">GroupCount()</a> is zero, then <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a2fcd27baff85f671af78270fe0f44677">GroupList()</a> returns nullptr. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -788,7 +871,9 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Use this query to determine if an object is part of an instance definition. Returns: True if the object is part of an instance definition. </p>
|
||||
|
||||
<p>Use this query to determine if an object is part of an instance definition. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if the object is part of an instance definition. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -815,7 +900,16 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p><a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> virtual interface. See <a class="el" href="../../d9/d7b/class_o_n___object.html">ON_Object</a> for details. </p>
|
||||
|
||||
<p>Tests an object to see if its data members are correctly initialized. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">text_log</td><td>[in] if the object is not valid and text_log is not nullptr, then a brief englis description of the reason the object is not valid is appened to the log. The information appended to text_log is suitable for</td></tr>
|
||||
<tr><td class="paramname">low</td><td>level debugging purposes by programmers and is not intended to be useful as a high level user interface tool.</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>table true object is valid false object is invalid, uninitialized, etc. </dd></dl>
|
||||
|
||||
<p>Reimplemented from <a class="el" href="../../d9/d7b/class_o_n___object.html#a7212696724553dc4d365479a10150c0d">ON_Object</a>.</p>
|
||||
|
||||
@@ -835,7 +929,8 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns: Returns true if object is visible. See Also: <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a544b3375659d943eb72ca5370ca1d197">ON_3dmObjectAttributes::SetVisible</a> </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Returns true if object is visible. </dd></dl>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a544b3375659d943eb72ca5370ca1d197" title="Controls object visibility ">ON_3dmObjectAttributes::SetVisible</a></dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -853,7 +948,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>The Linetype used to display an OpenNURBS object is specified in one of two ways. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ac56df8f7a1fe84e6ad419c689ed48235">LinetypeSource()</a> is ON::linetype_from_layer, then the object's layer ON_Layer::Linetype() is used. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ac56df8f7a1fe84e6ad419c689ed48235">LinetypeSource()</a> is ON::linetype_from_object, then value of m_linetype is used. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -871,7 +965,9 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>END: Per object mesh parameter support Description: Determine if the simple material should come from the object or from it's layer. High quality rendering plug-ins should use m_rendering_attributes. Returns: Where to get material information if you do are too lazy to look in m_rendering_attributes.m_materials[]. </p>
|
||||
|
||||
<p>Determine if the simple material should come from the object or from it's layer. High quality rendering plug-ins should use m_rendering_attributes. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Where to get material information if you do are too lazy to look in m_rendering_attributes.m_materials[]. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -891,7 +987,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Interface ////////////////////////////////////////////////////////. </p>
|
||||
<p>An OpenNURBS object must be in one of three modes: normal, locked or hidden. If an object is in normal mode, then the object's layer controls visibility and selectability. If an object is locked, then the object's layer controls visibility by the object cannot be selected. If the object is hidden, it is not visible and it cannot be selected. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -945,7 +1040,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Default C++ copy constructor and operator= work fine Do not provide custom versions NO ///< <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes(const ON_3dmObjectAttributes&)</a>; NO ///< <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a>& operator=(const ON_3dmObjectAttributes&); </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -963,7 +1057,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>The color used to plot an OpenNURBS object on paper is specified in one of three ways. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#abdcc18cdf4a3541c710661211c1cee33">PlotColorSource()</a> is ON::plot_color_from_layer, then the object's layer <a class="el" href="../../d6/d78/class_o_n___layer.html#a626e61c00223403a08bb2d0b4fbfb302">ON_Layer::PlotColor()</a> is used. If <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#abdcc18cdf4a3541c710661211c1cee33">PlotColorSource()</a> is ON::plot_color_from_object, then value of PlotColor() is used. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1028,7 +1121,8 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Remove a the entire display material reference list. </p>
|
||||
|
||||
<p>Remove a the entire display material reference list. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1057,7 +1151,17 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Remove a display material reference from the list. Parameters: viewport_id - [in] Any display material references with this viewport id will be removed. If nil, then viewport_id is ignored. display_material_id - [in] Any display material references that match the viewport_id and have this display_material_id will be removed. If nil, then display_material_id is ignored. Returns: True if a display material reference was removed. See Also: <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7c206d7ea9b158f3186f5a73a1dc5cb5" title="display material references ">ON_3dmObjectAttributes::FindDisplayMaterialRef</a> <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a32136fa207529db2c98dc6e3246ce3ae">ON_3dmObjectAttributes::AddDisplayMaterialRef</a> </p>
|
||||
|
||||
<p>Remove a display material reference from the list. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">viewport_id</td><td>[in] Any display material references with this viewport id will be removed. If nil, then viewport_id is ignored.</td></tr>
|
||||
<tr><td class="paramname">display_material_id</td><td>[in] Any display material references that match the viewport_id and have this display_material_id will be removed. If nil, then display_material_id is ignored.</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if a display material reference was removed. </dd></dl>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7c206d7ea9b158f3186f5a73a1dc5cb5" title="display material references ">ON_3dmObjectAttributes::FindDisplayMaterialRef</a>, <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a32136fa207529db2c98dc6e3246ce3ae" title="Add a display material reference to the attributes. If there is an existing entry with a matching vie...">ON_3dmObjectAttributes::AddDisplayMaterialRef</a></dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1095,7 +1199,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Removes object from the group with specified index. If the object is not in the group, nothing is changed. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1134,8 +1237,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a33d637f60a01b3782d2c93bdb2399bb3">ColorSource()</a>. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a1e61312cb1d70e83a13866d8a8dee053"></a>
|
||||
@@ -1153,7 +1254,13 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>BEGIN: Per object mesh parameter support Parameters: mp - [in] per object mesh parameters Returns: True if successful. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">mp</td><td>[in] per object mesh parameters</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if successful. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1173,8 +1280,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#ac56df8f7a1fe84e6ad419c689ed48235">LinetypeSource()</a>. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3ac0bcc1ab87185a4c600eed85265574"></a>
|
||||
@@ -1192,7 +1297,14 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Specifies if the simple material should be the one indicated by the material index or the one indicated by the object's layer. Parameters: ms - [in] </p>
|
||||
|
||||
<p>Specifies if the simple material should be the one indicated by the material index or the one indicated by the object's layer. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">ms</td><td>[in]</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1212,8 +1324,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a8651b5951e627bf2eb9c4e8b20206023" title="Interface ////////////////////////////////////////////////////////. ">Mode()</a>. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a68dfcb38d27de261d07d6555314ae5a2"></a>
|
||||
@@ -1260,8 +1370,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>See <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#abdcc18cdf4a3541c710661211c1cee33">PlotColorSource()</a>. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a702ed53555265581b6f2738da745f148"></a>
|
||||
@@ -1297,7 +1405,15 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Controls object visibility Parameters: bVisible - [in] true to make object visible, false to make object invisible See Also: <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a532bcebb3f3b31a37db40e504d81e2e4">ON_3dmObjectAttributes::IsVisible</a> </p>
|
||||
|
||||
<p>Controls object visibility </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">bVisible</td><td>[in] true to make object visible, false to make object invisible</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a532bcebb3f3b31a37db40e504d81e2e4">ON_3dmObjectAttributes::IsVisible</a></dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1344,7 +1460,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns the index of the last group in the group list or -1 if the object is not in any groups </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1363,7 +1478,7 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns: True if successful. (xform is invertable or didn't need to be). </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if successful. (xform is invertable or didn't need to be). </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1406,8 +1521,18 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Description: Uses the destination_manifest to update references to other components. This is typically done when a component's references came from a "source" context and are being updated to the "destination" context. For example, inserting one model into another when index, id, and name conflicts need to be resolved at the time of insertion. Parameters: source_manifest - [in] A manifest of the source context with indices and ids corresponding to the current component references. If this manifest is not available, pass <a class="el" href="../../d8/d72/class_o_n___component_manifest.html#a7a838571207b4e5a8771c7aacffec086">ON_ComponentManifest::Empty</a>. destination_manifest - [in] A manifest of the destination context with indices and ids corresponding to the desired component references. If this manifest is not available, pass <a class="el" href="../../d8/d72/class_o_n___component_manifest.html#a7a838571207b4e5a8771c7aacffec086">ON_ComponentManifest::Empty</a>. manifest_map - [in] A map from the source (current) referenced component index/id values to the destination (desired) component index/id values. Returns: True if successful. False indicates a referenced component was not found in the manifest and the reference was changed to a default value. Example: If this object is an <a class="el" href="../../d6/d78/class_o_n___layer.html">ON_Layer</a>, the line pattern and render material references are updated. If this object is an <a class="el" href="../../d8/df8/class_o_n___dim_style.html">ON_DimStyle</a>, the text style reference is updated. If this object is an <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html">ON_3dmObjectAttributes</a>, the layer, material, line pattern, and group references are updated. </p>
|
||||
|
||||
<p>Uses the destination_manifest to update references to other components. This is typically done when a component's references came from a "source" context and are being updated to the "destination" context. For example, inserting one model into another when index, id, and name conflicts need to be resolved at the time of insertion. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">source_manifest</td><td>[in] A manifest of the source context with indices and ids corresponding to the current component references. If this manifest is not available, pass <a class="el" href="../../d8/d72/class_o_n___component_manifest.html#a7a838571207b4e5a8771c7aacffec086">ON_ComponentManifest::Empty</a>.</td></tr>
|
||||
<tr><td class="paramname">destination_manifest</td><td>[in] A manifest of the destination context with indices and ids corresponding to the desired component references. If this manifest is not available, pass <a class="el" href="../../d8/d72/class_o_n___component_manifest.html#a7a838571207b4e5a8771c7aacffec086">ON_ComponentManifest::Empty</a>.</td></tr>
|
||||
<tr><td class="paramname">manifest_map</td><td>[in] A map from the source (current) referenced component index/id values to the destination (desired) component index/id values.</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>True if successful. False indicates a referenced component was not found in the manifest and the reference was changed to a default value. </dd></dl>
|
||||
<div class="fragment"><div class="line">If <span class="keyword">this</span> <span class="keywordtype">object</span> is an <a class="code" href="../../d6/d78/class_o_n___layer.html">ON_Layer</a>, the line pattern and render material references</div><div class="line">are updated.</div><div class="line">If <span class="keyword">this</span> <span class="keywordtype">object</span> is an <a class="code" href="../../d8/df8/class_o_n___dim_style.html">ON_DimStyle</a>, the text style reference is updated.</div><div class="line">If <span class="keyword">this</span> <span class="keywordtype">object</span> is an <a class="code" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a7082b86c0a38c3e1da3ddc5813ffa109">ON_3dmObjectAttributes</a>, the layer,</div><div class="line">material, line pattern, and group references are updated.</div></div><!-- fragment -->
|
||||
<p>Reimplemented from <a class="el" href="../../d9/d7b/class_o_n___object.html#a82188bbf97bbd149ac6fcb7cd8e989d1">ON_Object</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -1476,7 +1601,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>If ON::color_from_object == <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a33d637f60a01b3782d2c93bdb2399bb3">ColorSource()</a>, then m_color is the object's display color. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1491,7 +1615,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Display order used to force objects to be drawn on top or behind each other 0 = draw object in standard depth buffered order <0 = draw object behind "normal" draw order objects >0 = draw object on top of "noraml" draw order objects Larger number draws on top of smaller number. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1520,7 +1643,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Layer definitions in an OpenNURBS model are stored in a layer table. The layer table is conceptually an array of <a class="el" href="../../d6/d78/class_o_n___layer.html">ON_Layer</a> classes. Every OpenNURBS object in a model is on some layer. The object's layer is specified by zero based indicies into the <a class="el" href="../../d6/d78/class_o_n___layer.html">ON_Layer</a> array. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1535,7 +1657,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Linetype definitions in an OpenNURBS model are stored in a linetype table. The linetype table is conceptually an array of <a class="el" href="../../d0/dbb/class_o_n___linetype.html" title="class ON_Linetype ">ON_Linetype</a> classes. Every OpenNURBS object in a model references some linetype. The object's linetype is specified by zero based indicies into the <a class="el" href="../../d0/dbb/class_o_n___linetype.html" title="class ON_Linetype ">ON_Linetype</a> array. index 0 is reserved for continuous linetype (no pattern) </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1550,8 +1671,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Rendering material: If you want something simple and fast, set m_material_index to the index of the rendering material and ignore m_rendering_attributes. If you are developing a high quality plug-in renderer, and a user is assigning one of your fabulous rendering materials to this object, then add rendering material information to the m_rendering_attributes.m_materials[] array.</p>
|
||||
<p>Developers: As soon as m_rendering_attributes.m_materials[] is not empty, rendering material queries slow down. Do not populate m_rendering_attributes.m_materials[] when setting m_material_index will take care of your needs. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1566,7 +1685,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>The m_name member is public to avoid breaking the SDK. Use <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#a68dfcb38d27de261d07d6555314ae5a2">SetName()</a> and <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#aa99175d1ac724f25e785721962b9730d">Name()</a> for proper validation. OpenNURBS object have optional text names. More than one object in a model can have the same name and some objects may have no name. ON_ModelComponent::IsValidComponentName(m_name) should be true. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1597,7 +1715,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>If ON::plot_color_from_object == <a class="el" href="../../d0/d52/class_o_n__3dm_object_attributes.html#abdcc18cdf4a3541c710661211c1cee33">PlotColorSource()</a>, then m_color is the object's display color. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1612,7 +1729,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Plot weight in millimeters. =0.0 means use the default width <0.0 means don't plot (visible for screen display, but does not show on plot) </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1641,7 +1757,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Starting with V4, objects can be in either model space or page space. If an object is in page space, then m_viewport_id is not nil and identifies the page it is on. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1656,7 +1771,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>OpenNURBS objects may have an URL. There are no restrictions on what value this URL may have. As an example, if the object came from a commercial part library, the URL might point to the definition of that part. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1671,7 +1785,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Every OpenNURBS object has a UUID (universally unique identifier). The default value is nullptr. When an OpenNURBS object is added to a model, the value is checked. If the value is nullptr, a new UUID is created. If the value is not nullptr but it is already used by another object in the model, a new UUID is created. If the value is not nullptr and it is not used by another object in the model, then that value persists. When an object is updated, by a move for example, the value of m_uuid persists. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1686,7 +1799,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>If m_viewport_id is nil, the object is active in all viewports. If m_viewport_id is not nil, then this object is only active in a specific view. This field is primarily used to assign page space objects to a specific page, but it can also be used to restrict model space to a specific view. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1701,8 +1813,6 @@ Additional Inherited Members</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>When a surface object is displayed in wireframe, m_wire_density controls how many isoparametric wires are used.</p>
|
||||
<p>value number of isoparametric wires -1 boundary wires 0 boundary and knot wires 1 boundary and knot wires and, if there are no interior knots, a single interior wire. N>=2 boundary and knot wires and (N-1) interior wires </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1734,7 +1844,7 @@ Additional Inherited Members</h2></td></tr>
|
||||
</div> <!-- page-content -->
|
||||
</div> <!-- container -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jan 31 2018 14:45:38 for openNURBS SDK Help by <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Fri Feb 2 2018 07:57:27 for openNURBS SDK Help by <a href="http://www.doxygen.org/index.html">
|
||||
<!-- <img class="footer" src="../../doxygen.png" alt="doxygen"/> -->
|
||||
Doxygen
|
||||
</a> 1.8.13
|
||||
|
||||
Reference in New Issue
Block a user