Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiMapperItem.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGiMapperItem : OdRxObject {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiMapperItem(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiMapperItem_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiMapperItem obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public static OdGiMapperItem cast(OdRxObject pObj) {// OdSmartPtr<OdGiMapperItem>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdGiMapperItem ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdGiMapperItem)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItem),ptr, true));
51 ret = (OdGiMapperItem)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItem),ptr, false);
52 }
53 else
54 {
55 ret = (OdGiMapperItem)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItem),ptr, true);
56 }
57
59 return ret;
60}
61
62 public new static OdRxClass desc() {
63 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGiMapperItem_desc(),false); /*createInt 3_2*/
64
66 return ret;
67}
68
69 public override OdRxClass isA() {
70 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGiMapperItem_isA(swigCPtr),false); /*createInt 3_2*/
71
73 return ret;
74}
75
76 public override OdRxObject queryX(OdRxClass protocolClass) {
77 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdGiMapperItem_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdGiMapperItem createObject() {// OdSmartPtr<OdGiMapperItem>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdGiMapperItem ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdGiMapperItem)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItem),ptr, true));
92 ret = (OdGiMapperItem)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItem),ptr, false);
93 }
94 else
95 {
96 ret = (OdGiMapperItem)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItem),ptr, true);
97 }
98
100 return ret;
101}
102
103 public virtual void setDiffuseMapper(OdGiMaterialTraitsData traitsData) {
106 }
107
108 public virtual void setDiffuseMapper(OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm) {
111 }
112
113 public virtual void setDiffuseMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData) {
116 }
117
118 public virtual void setDiffuseMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm) {
121 }
122
123 public virtual OdGiMapperItemEntry diffuseMapper() {// OdGiMapperItemEntryPtr
124 MemoryManager mMan = MemoryManager.GetMemoryManager();
125 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
127
128 OdGiMapperItemEntry ret = null;
129 if (null != mTrans)
130 {
131 mTrans.AddObject((OdGiMapperItemEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItemEntry),ptr, true));
132 ret = (OdGiMapperItemEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItemEntry),ptr, false);
133 }
134 else
135 {
136 ret = (OdGiMapperItemEntry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiMapperItemEntry),ptr, true);
137 }
138
140 return ret;
141}
142
143 public virtual void setMapper(OdGiMaterialTraitsData traitsData, OdDbStub pMaterial) {
146 }
147
148 public virtual void setMapper(OdGiMaterialTraitsData traitsData) {
151 }
152
153 public virtual void setMapper(OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm, OdDbStub pMaterial) {
156 }
157
158 public virtual void setMapper(OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm) {
161 }
162
163 public virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdDbStub pMaterial) {
166 }
167
168 public virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData) {
171 }
172
173 public virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm, OdDbStub pMaterial) {
176 }
177
178 public virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm) {
181 }
182
183 public virtual void setModelTransform(OdGeMatrix3d mtm, bool recomputeTransforms) {
186 }
187
188 public virtual void setModelTransform(OdGeMatrix3d mtm) {
191 }
192
193 public virtual void setObjectTransform(OdGeMatrix3d otm, bool recomputeTransforms) {
196 }
197
198 public virtual void setObjectTransform(OdGeMatrix3d otm) {
201 }
202
203 public virtual void setObjectTransform(Int32 /*SIMPLETYPE*/ nCount, OdGePoint3d pPoints, bool recomputeTransforms) {
204 GlobalsPINVOKE.OdGiMapperItem_setObjectTransform__SWIG_2(swigCPtr, nCount /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pPoints), recomputeTransforms);
206 }
207
208 public virtual void setObjectTransform(Int32 /*SIMPLETYPE*/ nCount, OdGePoint3d pPoints) {
209 GlobalsPINVOKE.OdGiMapperItem_setObjectTransform__SWIG_3(swigCPtr, nCount /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pPoints));
211 }
212
213 public virtual void setObjectTransform(OdGeExtents3d exts, bool recomputeTransforms) {
216 }
217
218 public virtual void setObjectTransform(OdGeExtents3d exts) {
221 }
222
223 public virtual void setDeviceTransform(OdGeMatrix3d dtm, bool recomputeTransforms) {
226 }
227
228 public virtual void setDeviceTransform(OdGeMatrix3d dtm) {
231 }
232
233 public virtual bool isLastProcValid(OdDbStub pMaterial) {
236 return ret;
237 }
238
239 public virtual bool isLastProcValid(OdDbStub pMaterial, OdGeMatrix3d tm) {
242 return ret;
243 }
244
245 public virtual bool isLastProcValid(OdGiMapper pMapper, OdDbStub pMaterial) {
248 return ret;
249 }
250
251 public virtual bool isLastProcValid(OdGiMapper pMapper, OdDbStub pMaterial, OdGeMatrix3d tm) {
254 return ret;
255 }
256
257 public virtual bool isLastProcValid(OdGeMatrix3d tm) {
260 return ret;
261 }
262
263 public virtual bool isEntityMapper() {
266 return ret;
267 }
268
269 public virtual bool isObjectMatrixNeed() {
272 return ret;
273 }
274
275 public virtual bool isModelMatrixNeed() {
278 return ret;
279 }
280
281 public virtual bool isDependsFromObjectMatrix() {
284 return ret;
285 }
286
287 public virtual bool isVertexTransformRequired() {
290 return ret;
291 }
292
293 public virtual void setVertexTransform(Int32 /*SIMPLETYPE*/ nCount, OdGePoint3d pPoints) {
294 GlobalsPINVOKE.OdGiMapperItem_setVertexTransform__SWIG_0(swigCPtr, nCount /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pPoints));
296 }
297
298 public virtual void setVertexTransform(OdGeExtents3d exts) {
301 }
302
303 public virtual void setInputTransform(OdGeMatrix3d tm, bool bVertexDependantOnly) {
306 }
307
308 public virtual void setInputTransform(OdGeMatrix3d tm) {
311 }
312
313 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
314 string ret = GlobalsPINVOKE.OdGiMapperItem_getRealClassName(ptr /*SIMPLETYPE*/);
316 return ret;
317 }
318
319}
320
321}
static global::System.Exception Retrieve()
static void OdGiMapperItem_setObjectTransform__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdGiMapperItem_setObjectTransform__SWIG_5(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiMapperItem_isObjectMatrixNeed(HandleRef jarg1)
static void OdGiMapperItem_setInputTransform__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdGiMapperItem_setDiffuseMapper__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiMapperItem_setDeviceTransform__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMapperItem_setInputTransform__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMapperItem_setModelTransform__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMapperItem_setDiffuseMapper__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMapperItem_setDiffuseMapper__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGiMapperItem_isVertexTransformRequired(HandleRef jarg1)
static bool OdGiMapperItem_isLastProcValid__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMapperItem_setObjectTransform__SWIG_3(HandleRef jarg1, Int32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMapperItem_setModelTransform__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static bool OdGiMapperItem_isModelMatrixNeed(HandleRef jarg1)
static void OdGiMapperItem_setDeviceTransform__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdGiMapperItem_setObjectTransform__SWIG_2(HandleRef jarg1, Int32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static string OdGiMapperItem_getRealClassName(IntPtr jarg1)
static void OdGiMapperItem_setObjectTransform__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiMapperItem_isA(HandleRef jarg1)
static void OdGiMapperItem_setMapper__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGiMapperItem_desc()
static void OdGiMapperItem_setMapper__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMapperItem_setMapper__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiMapperItem_isLastProcValid__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiMapperItem_setVertexTransform__SWIG_0(HandleRef jarg1, Int32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_OdGiMapperItem(HandleRef jarg1)
static bool OdGiMapperItem_isEntityMapper(HandleRef jarg1)
static void OdGiMapperItem_setDiffuseMapper__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiMapperItem_cast(HandleRef jarg1)
static bool OdGiMapperItem_isLastProcValid__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiMapperItem_setMapper__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiMapperItem_setObjectTransform__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdGiMapperItem_setVertexTransform__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiMapperItem_diffuseMapper__SWIG_0(HandleRef jarg1)
static bool OdGiMapperItem_isDependsFromObjectMatrix(HandleRef jarg1)
static bool OdGiMapperItem_isLastProcValid__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGiMapperItem_createObject()
static IntPtr OdGiMapperItem_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdGiMapperItem_setMapper__SWIG_7(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiMapperItem_setMapper__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdGiMapperItem_isLastProcValid__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiMapperItem_setMapper__SWIG_6(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGiMapperItem_setMapper__SWIG_5(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGiMapper obj)
Definition: OdGiMapper.cs:26
virtual void setModelTransform(OdGeMatrix3d mtm)
virtual void setMapper(OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm, OdDbStub pMaterial)
override OdRxClass isA()
virtual void setObjectTransform(OdGeExtents3d exts, bool recomputeTransforms)
virtual bool isDependsFromObjectMatrix()
virtual void setObjectTransform(Int32 nCount, OdGePoint3d pPoints)
virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm, OdDbStub pMaterial)
virtual void setMapper(OdGiMaterialTraitsData traitsData, OdDbStub pMaterial)
virtual bool isObjectMatrixNeed()
virtual void setDeviceTransform(OdGeMatrix3d dtm, bool recomputeTransforms)
virtual bool isLastProcValid(OdDbStub pMaterial)
virtual void setModelTransform(OdGeMatrix3d mtm, bool recomputeTransforms)
virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdDbStub pMaterial)
virtual void setVertexTransform(Int32 nCount, OdGePoint3d pPoints)
virtual bool isLastProcValid(OdDbStub pMaterial, OdGeMatrix3d tm)
virtual void setObjectTransform(OdGeMatrix3d otm, bool recomputeTransforms)
virtual void setObjectTransform(Int32 nCount, OdGePoint3d pPoints, bool recomputeTransforms)
virtual void setVertexTransform(OdGeExtents3d exts)
virtual bool isModelMatrixNeed()
virtual bool isLastProcValid(OdGiMapper pMapper, OdDbStub pMaterial)
virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm)
override void Dispose(bool disposing)
virtual bool isLastProcValid(OdGiMapper pMapper, OdDbStub pMaterial, OdGeMatrix3d tm)
static new OdRxClass desc()
virtual void setDiffuseMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData)
OdGiMapperItem(IntPtr cPtr, bool cMemoryOwn)
static OdGiMapperItem createObject()
static string getRealClassName(IntPtr ptr)
virtual void setDeviceTransform(OdGeMatrix3d dtm)
virtual bool isVertexTransformRequired()
virtual void setInputTransform(OdGeMatrix3d tm, bool bVertexDependantOnly)
virtual void setDiffuseMapper(OdGiMaterialTraitsData traitsData)
virtual OdGiMapperItemEntry diffuseMapper()
virtual void setMapper(OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm)
virtual void setMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData)
static HandleRef getCPtr(OdGiMapperItem obj)
static OdGiMapperItem cast(OdRxObject pObj)
virtual bool isLastProcValid(OdGeMatrix3d tm)
virtual void setObjectTransform(OdGeMatrix3d otm)
override OdRxObject queryX(OdRxClass protocolClass)
virtual void setDiffuseMapper(OdGiMapper pMapper, OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm)
virtual void setObjectTransform(OdGeExtents3d exts)
virtual void setDiffuseMapper(OdGiMaterialTraitsData traitsData, OdGeMatrix3d tm)
virtual void setInputTransform(OdGeMatrix3d tm)
virtual void setMapper(OdGiMaterialTraitsData traitsData)
static HandleRef getCPtr(OdGiMaterialTraitsData obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26