    

 ## On this page

  

 

 # OpenTD.MeshDisplayer Class Reference

 Last update: 16.07.2025 

Client-side representation of the TD base class that displays finite element meshes. Implements the [OpenTD.TdDbEntityData](class_open_t_d_1_1_td_db_entity_data.xhtml "Base class for objects sorted on AutoCAD layers.") [More...](#details)

Inheritance diagram for OpenTD.MeshDisplayer:

 ![](/sites/default/files/migrate-content/opentd_net4_reference_2025_r2_1/class_open_t_d_1_1_mesh_displayer.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [MeshDisplayer](#aad7abcb8b2e6edabfe8f227997cf8bd3) () void [TransformBy](#a4bb0503bc418bfacf3028c29bf51f55d) ([Matrix3d](class_open_t_d_1_1_matrix3d.xhtml) x) void [SetThermalStressAssociation](#a7bad23d3a25dca171a7581cc163b0b10) (string stress, string thermal) Set post processing data mapper stress group to thermal group association.   
 void [SetThermalStressGradAssociation](#aa8137a238afb1425f3b593de16bd5c64) (string stress, string thermal) Set post processing data mapper stress group to thermal gradient group association.   
 List&lt; [StressThermalGroupAssociation](class_open_t_d_1_1_post_processing_1_1_stress_thermal_group_association.xhtml) &gt; [GetThermalStressAssociations](#a029c24909daee555b1ac8a299ec33702) () Get list of post processing data mapper stress group to thermal group associations.   
 void [SetFrom](class_open_t_d_1_1_td_db_entity_data.xhtml#abf5b57b46dd355b945d17eca954fe173) ([TdDbEntityData](class_open_t_d_1_1_td_db_entity_data.xhtml) x) void [SetFrom](class_open_t_d_1_1_db_object.xhtml#a595c3f7ce20889de96e2adf759fb4c2c) ([DbObject](class_open_t_d_1_1_db_object.xhtml) x) void [SetFrom](class_open_t_d_1_1_open_t_d_object.xhtml#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](class_open_t_d_1_1_open_t_d_object.xhtml) x) override string [ToString](class_open_t_d_1_1_td_db_entity_data.xhtml#a46aa7decbbbda0df648389d237df11e1) () override void [Update](class_open_t_d_1_1_db_object.xhtml#a18304eff52add0793e578464eaecb4fb) () Updates the TD entity with the latest client data.   
 override void [UpdateFromTD](class_open_t_d_1_1_db_object.xhtml#a0d02db5bdd966c2ec9f83d3f07c4a6e8) () Updates the client-side instance with the latest data from the TD entity.   
 override void [CreateIn](class_open_t_d_1_1_db_object.xhtml#ab2b049c600a1290764920ab3a5e4f1b6) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) td) Creates the TD entity in the specified TD instance.   
 override bool [Equals](class_open_t_d_1_1_db_object.xhtml#a07cda25341543659c639e815879e5e38) (object obj) override int [GetHashCode](class_open_t_d_1_1_db_object.xhtml#a10d2aadcea2f0c8dbdd597c71cd1f7ad) () void [UpdateIn](class_open_t_d_1_1_open_t_d_object.xhtml#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible.   
 ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

static bool [operator==](class_open_t_d_1_1_db_object.xhtml#adc17b71dfa209f83a3a1730c95a032a6) ([DbObject](class_open_t_d_1_1_db_object.xhtml) first, [DbObject](class_open_t_d_1_1_db_object.xhtml) second) static bool [operator!=](class_open_t_d_1_1_db_object.xhtml#ae362d2d78aad41f0cec5dcc3c345b33d) ([DbObject](class_open_t_d_1_1_db_object.xhtml) first, [DbObject](class_open_t_d_1_1_db_object.xhtml) second) ## <a id="pro-methods" name="pro-methods"></a>Protected Member Functions

string [ToString](class_open_t_d_1_1_td_db_entity_data.xhtml#ab07a5432adb933ee336d5e01c9bbed94) (string [Submodel](class_open_t_d_1_1_submodel.xhtml), string Id, string Comment) string [ToString](class_open_t_d_1_1_td_db_entity_data.xhtml#a96616691bb090a4b73f12d23f76a1a76) (string [Submodel](class_open_t_d_1_1_submodel.xhtml), int Id, string Comment) ## <a id="pro-attribs" name="pro-attribs"></a>Protected Attributes

[ITdCommander](interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.xhtml) [TdProxy](class_open_t_d_1_1_open_t_d_object.xhtml#a0da16592e6b635ca0def27b355d669b3) ## <a id="properties" name="properties"></a>Properties

[Matrix3d](class_open_t_d_1_1_matrix3d.xhtml) [LocalToWorldTransformation](#a8ce0c1eea588333ce042889f8ba7fbb1)` [get]` [Matrix3d](class_open_t_d_1_1_matrix3d.xhtml) [BaseTrans](#ac6efa1b5c27169e8d62d7eeeae337304)` [get, set]` [MeshDisplayerGraphicsMode](namespace_open_t_d.xhtml#a7a1a1ed3d31516b97104e43f389ffcb6) [PostProcessingDisplayMode](#a75ebb2e7a961b24036d417dadb3a7afa)` [get, set]` [MeshDisplayerGraphicsMode](namespace_open_t_d.xhtml#a7a1a1ed3d31516b97104e43f389ffcb6) [ModelViewDisplayMode](#aa980bf44e09d4c61594a3bf59c34170e)` [get, set]` string [Label](#add2336a505b39095513ba0e5c99989ea)` [get, set]` Dictionary&lt; string, [StressThermalGroupAssociation](class_open_t_d_1_1_post_processing_1_1_stress_thermal_group_association.xhtml) &gt; [StressThermalGroupMap](#a122f9f87796223a35e9dbacd7feccb1a)` [get, set]` Do not use.   
 string [Layer](class_open_t_d_1_1_td_db_entity_data.xhtml#a41b404d510f026f172463d453c74c112)` [get, set]` int [ColorIndex](class_open_t_d_1_1_td_db_entity_data.xhtml#ae76026f8ee74723b4fea0623eb0c4cf4)` [get, set]` Specifies a color. See the AutoCAD [Layer](class_open_t_d_1_1_layer.xhtml "An AutoCAD layer.") [Properties](namespace_open_t_d_1_1_properties.xhtml) Manager for valid values.   
 string [Handle](class_open_t_d_1_1_db_object.xhtml#a64061b4cada0773c01f886b2670ab156)` [get, set]` string [TypeName](class_open_t_d_1_1_db_object.xhtml#ab9ed363a260a75e71e606e61d3f86352)` [get, set]` <a id="details" name="details"></a>## Detailed Description

Client-side representation of the TD base class that displays finite element meshes. Implements the [OpenTD.TdDbEntityData](class_open_t_d_1_1_td_db_entity_data.xhtml "Base class for objects sorted on AutoCAD layers.")

See also[OpenTD.TdDbEntityData](class_open_t_d_1_1_td_db_entity_data.xhtml "Base class for objects sorted on AutoCAD layers."), [OpenTD.RadCAD.FEMeshImporter](class_open_t_d_1_1_rad_c_a_d_1_1_f_e_mesh_importer.xhtml "Finite-element mesh importer.")

## Constructor &amp; Destructor Documentation

<a id="aad7abcb8b2e6edabfe8f227997cf8bd3" name="aad7abcb8b2e6edabfe8f227997cf8bd3"></a>## [◆ ](#aad7abcb8b2e6edabfe8f227997cf8bd3)MeshDisplayer()

 OpenTD.MeshDisplayer.MeshDisplayer  ( )   inline 





## Member Function Documentation

<a id="ab2b049c600a1290764920ab3a5e4f1b6" name="ab2b049c600a1290764920ab3a5e4f1b6"></a>## [◆ ](#ab2b049c600a1290764920ab3a5e4f1b6)CreateIn()

 override void OpenTD.DbObject.CreateIn  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *td*)   inlineinherited 

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](interface_open_t_d_1_1_i_reassignable.xhtml#a94cbc52d002a10e44f5dc2daaf9c87db).





<a id="a07cda25341543659c639e815879e5e38" name="a07cda25341543659c639e815879e5e38"></a>## [◆ ](#a07cda25341543659c639e815879e5e38)Equals()

 override bool OpenTD.DbObject.Equals  ( object *obj*)   inlineinherited 





<a id="a10d2aadcea2f0c8dbdd597c71cd1f7ad" name="a10d2aadcea2f0c8dbdd597c71cd1f7ad"></a>## [◆ ](#a10d2aadcea2f0c8dbdd597c71cd1f7ad)GetHashCode()

 override int OpenTD.DbObject.GetHashCode  ( )   inlineinherited 





<a id="a029c24909daee555b1ac8a299ec33702" name="a029c24909daee555b1ac8a299ec33702"></a>## [◆ ](#a029c24909daee555b1ac8a299ec33702)GetThermalStressAssociations()

 List&lt; [StressThermalGroupAssociation](class_open_t_d_1_1_post_processing_1_1_stress_thermal_group_association.xhtml) &gt; OpenTD.MeshDisplayer.GetThermalStressAssociations  ( )   inline 

Get list of post processing data mapper stress group to thermal group associations.

Returns



<a id="ae362d2d78aad41f0cec5dcc3c345b33d" name="ae362d2d78aad41f0cec5dcc3c345b33d"></a>## [◆ ](#ae362d2d78aad41f0cec5dcc3c345b33d)operator!=()

 static bool OpenTD.DbObject.operator!=  ( [DbObject](class_open_t_d_1_1_db_object.xhtml) *first*,    [DbObject](class_open_t_d_1_1_db_object.xhtml) *second* )  inlinestaticinherited 





<a id="adc17b71dfa209f83a3a1730c95a032a6" name="adc17b71dfa209f83a3a1730c95a032a6"></a>## [◆ ](#adc17b71dfa209f83a3a1730c95a032a6)operator==()

 static bool OpenTD.DbObject.operator==  ( [DbObject](class_open_t_d_1_1_db_object.xhtml) *first*,    [DbObject](class_open_t_d_1_1_db_object.xhtml) *second* )  inlinestaticinherited 





<a id="a595c3f7ce20889de96e2adf759fb4c2c" name="a595c3f7ce20889de96e2adf759fb4c2c"></a>## [◆ ](#a595c3f7ce20889de96e2adf759fb4c2c)SetFrom() \[1/3\]

 void OpenTD.DbObject.SetFrom  ( [DbObject](class_open_t_d_1_1_db_object.xhtml) *x*)   inlineinherited 





<a id="aa2e0aa2793e95a56891ef59fb4843ca2" name="aa2e0aa2793e95a56891ef59fb4843ca2"></a>## [◆ ](#aa2e0aa2793e95a56891ef59fb4843ca2)SetFrom() \[2/3\]

 void OpenTD.OpenTDObject.SetFrom  ( [OpenTDObject](class_open_t_d_1_1_open_t_d_object.xhtml) *x*)   inlineinherited 





<a id="abf5b57b46dd355b945d17eca954fe173" name="abf5b57b46dd355b945d17eca954fe173"></a>## [◆ ](#abf5b57b46dd355b945d17eca954fe173)SetFrom() \[3/3\]

 void OpenTD.TdDbEntityData.SetFrom  ( [TdDbEntityData](class_open_t_d_1_1_td_db_entity_data.xhtml) *x*)   inlineinherited 





<a id="a7bad23d3a25dca171a7581cc163b0b10" name="a7bad23d3a25dca171a7581cc163b0b10"></a>## [◆ ](#a7bad23d3a25dca171a7581cc163b0b10)SetThermalStressAssociation()

 void OpenTD.MeshDisplayer.SetThermalStressAssociation  ( string *stress*,    string *thermal* )  inline 

Set post processing data mapper stress group to thermal group association.

Parameters stressthermal



<a id="aa8137a238afb1425f3b593de16bd5c64" name="aa8137a238afb1425f3b593de16bd5c64"></a>## [◆ ](#aa8137a238afb1425f3b593de16bd5c64)SetThermalStressGradAssociation()

 void OpenTD.MeshDisplayer.SetThermalStressGradAssociation  ( string *stress*,    string *thermal* )  inline 

Set post processing data mapper stress group to thermal gradient group association.

Parameters stressthermal



<a id="a46aa7decbbbda0df648389d237df11e1" name="a46aa7decbbbda0df648389d237df11e1"></a>## [◆ ](#a46aa7decbbbda0df648389d237df11e1)ToString() \[1/3\]

 override string OpenTD.TdDbEntityData.ToString  ( )   inlineinherited 





<a id="a96616691bb090a4b73f12d23f76a1a76" name="a96616691bb090a4b73f12d23f76a1a76"></a>## [◆ ](#a96616691bb090a4b73f12d23f76a1a76)ToString() \[2/3\]

 string OpenTD.TdDbEntityData.ToString  ( string *Submodel*,    int *Id*,    string *Comment* )  inlineprotectedinherited 





<a id="ab07a5432adb933ee336d5e01c9bbed94" name="ab07a5432adb933ee336d5e01c9bbed94"></a>## [◆ ](#ab07a5432adb933ee336d5e01c9bbed94)ToString() \[3/3\]

 string OpenTD.TdDbEntityData.ToString  ( string *Submodel*,    string *Id*,    string *Comment* )  inlineprotectedinherited 





<a id="a4bb0503bc418bfacf3028c29bf51f55d" name="a4bb0503bc418bfacf3028c29bf51f55d"></a>## [◆ ](#a4bb0503bc418bfacf3028c29bf51f55d)TransformBy()

 void OpenTD.MeshDisplayer.TransformBy  ( [Matrix3d](class_open_t_d_1_1_matrix3d.xhtml) *x*)   inline 





<a id="a18304eff52add0793e578464eaecb4fb" name="a18304eff52add0793e578464eaecb4fb"></a>## [◆ ](#a18304eff52add0793e578464eaecb4fb)Update()

 override void OpenTD.DbObject.Update  ( )   inlineinherited 

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](interface_open_t_d_1_1_i_updatable.xhtml#a162ef7c717f51047a1d45c7df4282470).





<a id="a0d02db5bdd966c2ec9f83d3f07c4a6e8" name="a0d02db5bdd966c2ec9f83d3f07c4a6e8"></a>## [◆ ](#a0d02db5bdd966c2ec9f83d3f07c4a6e8)UpdateFromTD()

 override void OpenTD.DbObject.UpdateFromTD  ( )   inlineinherited 

Updates the client-side instance with the latest data from the TD entity.

Implements [OpenTD.IUpdatable](interface_open_t_d_1_1_i_updatable.xhtml#a47f3096415cfb5694fd822df8a1eceb0).





<a id="a1e5228ce309c9a85ec09e8119318024d" name="a1e5228ce309c9a85ec09e8119318024d"></a>## [◆ ](#a1e5228ce309c9a85ec09e8119318024d)UpdateIn()

 void OpenTD.OpenTDObject.UpdateIn  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *td*)   inlineinherited 

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements [OpenTD.IReassignable](interface_open_t_d_1_1_i_reassignable.xhtml#a90dffde7dd442e9d940f9e5c5fabde14).





## Member Data Documentation

<a id="a0da16592e6b635ca0def27b355d669b3" name="a0da16592e6b635ca0def27b355d669b3"></a>## [◆ ](#a0da16592e6b635ca0def27b355d669b3)TdProxy

 [ITdCommander](interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.xhtml) OpenTD.OpenTDObject.TdProxy  protectedinherited 





## Property Documentation

<a id="ac6efa1b5c27169e8d62d7eeeae337304" name="ac6efa1b5c27169e8d62d7eeeae337304"></a>## [◆ ](#ac6efa1b5c27169e8d62d7eeeae337304)BaseTrans

 [Matrix3d](class_open_t_d_1_1_matrix3d.xhtml) OpenTD.MeshDisplayer.BaseTrans  getset 





<a id="ae76026f8ee74723b4fea0623eb0c4cf4" name="ae76026f8ee74723b4fea0623eb0c4cf4"></a>## [◆ ](#ae76026f8ee74723b4fea0623eb0c4cf4)ColorIndex

 int OpenTD.TdDbEntityData.ColorIndex  getsetinherited 

Specifies a color. See the AutoCAD [Layer](class_open_t_d_1_1_layer.xhtml "An AutoCAD layer.") [Properties](namespace_open_t_d_1_1_properties.xhtml) Manager for valid values.





<a id="a64061b4cada0773c01f886b2670ab156" name="a64061b4cada0773c01f886b2670ab156"></a>## [◆ ](#a64061b4cada0773c01f886b2670ab156)Handle

 string OpenTD.DbObject.Handle  getsetinherited 





<a id="add2336a505b39095513ba0e5c99989ea" name="add2336a505b39095513ba0e5c99989ea"></a>## [◆ ](#add2336a505b39095513ba0e5c99989ea)Label

 string OpenTD.MeshDisplayer.Label  getset 





<a id="a41b404d510f026f172463d453c74c112" name="a41b404d510f026f172463d453c74c112"></a>## [◆ ](#a41b404d510f026f172463d453c74c112)Layer

 string OpenTD.TdDbEntityData.Layer  getsetinherited 





<a id="a8ce0c1eea588333ce042889f8ba7fbb1" name="a8ce0c1eea588333ce042889f8ba7fbb1"></a>## [◆ ](#a8ce0c1eea588333ce042889f8ba7fbb1)LocalToWorldTransformation

 [Matrix3d](class_open_t_d_1_1_matrix3d.xhtml) OpenTD.MeshDisplayer.LocalToWorldTransformation  get 





<a id="aa980bf44e09d4c61594a3bf59c34170e" name="aa980bf44e09d4c61594a3bf59c34170e"></a>## [◆ ](#aa980bf44e09d4c61594a3bf59c34170e)ModelViewDisplayMode

 [MeshDisplayerGraphicsMode](namespace_open_t_d.xhtml#a7a1a1ed3d31516b97104e43f389ffcb6) OpenTD.MeshDisplayer.ModelViewDisplayMode  getset 





<a id="a75ebb2e7a961b24036d417dadb3a7afa" name="a75ebb2e7a961b24036d417dadb3a7afa"></a>## [◆ ](#a75ebb2e7a961b24036d417dadb3a7afa)PostProcessingDisplayMode

 [MeshDisplayerGraphicsMode](namespace_open_t_d.xhtml#a7a1a1ed3d31516b97104e43f389ffcb6) OpenTD.MeshDisplayer.PostProcessingDisplayMode  getset 





<a id="a122f9f87796223a35e9dbacd7feccb1a" name="a122f9f87796223a35e9dbacd7feccb1a"></a>## [◆ ](#a122f9f87796223a35e9dbacd7feccb1a)StressThermalGroupMap

 Dictionary&lt;string, [StressThermalGroupAssociation](class_open_t_d_1_1_post_processing_1_1_stress_thermal_group_association.xhtml)&gt; OpenTD.MeshDisplayer.StressThermalGroupMap  getset 

Do not use.





<a id="ab9ed363a260a75e71e606e61d3f86352" name="ab9ed363a260a75e71e606e61d3f86352"></a>## [◆ ](#ab9ed363a260a75e71e606e61d3f86352)TypeName

 string OpenTD.DbObject.TypeName  getsetinherited 





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**MeshDisplayer.cs**