Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiFaceDataStorage.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiFaceDataStorage(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiFaceDataStorage_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiFaceDataStorage 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 OdGiFaceDataStorage() : this(GlobalsPINVOKE.new_OdGiFaceDataStorage(), true) {
44 }
45
47// csout array
49
51 return res;
52}
53
54 public void setColorsArray() {
57 }
58
59 public UInt16 resizeColorsArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
60// test csout
61 /*SIMPLETYPE*/
62 UInt16 ret = GlobalsPINVOKE.OdGiFaceDataStorage_resizeColorsArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
64 return ret;
65 }
66
67 public UInt16 resizeColorsArray(UInt32 /*SIMPLETYPE*/ nSize) {
68// test csout
69 /*SIMPLETYPE*/
70 UInt16 ret = GlobalsPINVOKE.OdGiFaceDataStorage_resizeColorsArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
72 return ret;
73 }
74
76// csout array
78
80 return res;
81}
82
83 public void setTrueColorsArray() {
86 }
87
88 public OdCmEntityColor resizeTrueColorsArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
89 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeTrueColorsArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
90 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
92 return ret;
93 }
94
95 public OdCmEntityColor resizeTrueColorsArray(UInt32 /*SIMPLETYPE*/ nSize) {
96 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeTrueColorsArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
97 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
99 return ret;
100 }
101
103// csout array
105
107 return res;
108}
109
110 public void setLayersArray() {
113 }
114
115 public OdDbStub resizeLayerIdsArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
116 OdDbStub res = new OdDbStub(GlobalsPINVOKE.OdGiFaceDataStorage_resizeLayerIdsArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr),false);
117
119 return res;
120}
121
122 public OdDbStub resizeLayerIdsArray(UInt32 /*SIMPLETYPE*/ nSize) {
123 OdDbStub res = new OdDbStub(GlobalsPINVOKE.OdGiFaceDataStorage_resizeLayerIdsArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/),false);
124
126 return res;
127}
128
130// csout array
132
134 return res;
135}
136
140 }
141
142 public IntPtr[] /*SIMPLE_ARRAY*/ resizeSelectionMarkersArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
143 /*SArr csout*/
144 IntPtr[] ret = Teigha.Core.Helpers.UnMarshalIntPtrFixedArray(GlobalsPINVOKE.OdGiFaceDataStorage_resizeSelectionMarkersArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr));
146 return ret;
147}
148
149 public IntPtr[] /*SIMPLE_ARRAY*/ resizeSelectionMarkersArray(UInt32 /*SIMPLETYPE*/ nSize) {
150 /*SArr csout*/
151 IntPtr[] ret = Teigha.Core.Helpers.UnMarshalIntPtrFixedArray(GlobalsPINVOKE.OdGiFaceDataStorage_resizeSelectionMarkersArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/));
153 return ret;
154}
155
157// csout array
159
161 return res;
162}
163
164 public void setNormalsArray() {
167 }
168
169 public OdGeVector3d resizeNormalsArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
170 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeNormalsArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
171 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
173 return ret;
174 }
175
176 public OdGeVector3d resizeNormalsArray(UInt32 /*SIMPLETYPE*/ nSize) {
177 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeNormalsArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
178 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
180 return ret;
181 }
182
184// csout array
186
188 return res;
189}
190
191 public void setVisibilityArray() {
194 }
195
196 public byte[] /*SIMPLE_ARRAY*/ resizeVisibilityArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
197 /*SArr csout*/
198 byte[] ret = Teigha.Core.Helpers.UnMarshalbyteFixedArray(GlobalsPINVOKE.OdGiFaceDataStorage_resizeVisibilityArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr));
200 return ret;
201}
202
203 public byte[] /*SIMPLE_ARRAY*/ resizeVisibilityArray(UInt32 /*SIMPLETYPE*/ nSize) {
204 /*SArr csout*/
205 byte[] ret = Teigha.Core.Helpers.UnMarshalbyteFixedArray(GlobalsPINVOKE.OdGiFaceDataStorage_resizeVisibilityArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/));
207 return ret;
208}
209
211// csout array
213
215 return res;
216}
217
218 public void setMaterialsArray() {
221 }
222
223 public OdDbStub resizeMaterialsArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
224 OdDbStub res = new OdDbStub(GlobalsPINVOKE.OdGiFaceDataStorage_resizeMaterialsArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr),false);
225
227 return res;
228}
229
230 public OdDbStub resizeMaterialsArray(UInt32 /*SIMPLETYPE*/ nSize) {
231 OdDbStub res = new OdDbStub(GlobalsPINVOKE.OdGiFaceDataStorage_resizeMaterialsArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/),false);
232
234 return res;
235}
236
240 return ret;
241 }
242
243 public void setMappersArray() {
246 }
247
248 public OdGiMapper resizeMappersArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
249 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeMappersArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
250 OdGiMapper ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiMapper(cPtr, false);
252 return ret;
253 }
254
255 public OdGiMapper resizeMappersArray(UInt32 /*SIMPLETYPE*/ nSize) {
256 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeMappersArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
257 OdGiMapper ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiMapper(cPtr, false);
259 return ret;
260 }
261
263// csout array
265
267 return res;
268}
269
270 public void setTransparencyArray() {
273 }
274
275 public OdCmTransparency resizeTransparencyArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
276 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeTransparencyArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
277 OdCmTransparency ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmTransparency(cPtr, false);
279 return ret;
280 }
281
282 public OdCmTransparency resizeTransparencyArray(UInt32 /*SIMPLETYPE*/ nSize) {
283 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiFaceDataStorage_resizeTransparencyArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
284 OdCmTransparency ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmTransparency(cPtr, false);
286 return ret;
287 }
288
289 public void cloneData(OdGiFaceData pData) {
292 }
293
294 public void resetPointers() {
297 }
298
299 public void setPointersArray(OdGiFaceData pFaceData) {
302 }
303
304 public void setPointersArray() {
307 }
308
309 public void clearArrays(OdGiFaceData pFaceData) {
312 }
313
314 public void clearArrays() {
317 }
318
319 public void deleteArrays(OdGiFaceData pFaceData) {
322 }
323
324 public void deleteArrays() {
327 }
328
329 public void reserveArrays(OdGiFaceData pFaceData, UInt32 /*SIMPLETYPE*/ nReserve) {
330 GlobalsPINVOKE.OdGiFaceDataStorage_reserveArrays(swigCPtr, OdGiFaceData.getCPtr(pFaceData), nReserve /*SIMPLETYPE*/);
332 }
333
334 public void copyFrom(OdGiFaceData pFaceData, UInt32 /*SIMPLETYPE*/ nFace) {
335 GlobalsPINVOKE.OdGiFaceDataStorage_copyFrom(swigCPtr, OdGiFaceData.getCPtr(pFaceData), nFace /*SIMPLETYPE*/);
337 }
338
343 public IntPtr vb_Visibility() { return this.Visibility(); }
344
349 public Byte vb_Visibility(int faceIdx) { return this.Visibility(faceIdx); }
350
355 public Teigha.Core.OdDbStub vb_Material(int faceIdx) { return this.Material(faceIdx); }
356
357}
358
359}
static global::System.Exception Retrieve()
static IntPtr OdGiFaceDataStorage_visibilityArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceDataStorage_resizeMaterialsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static void OdGiFaceDataStorage_setMaterialsArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_setColorsArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_setNormalsArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_setPointersArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_layerIdsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_resizeMappersArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static void OdGiFaceDataStorage_reserveArrays(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static IntPtr OdGiFaceDataStorage_resizeVisibilityArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static IntPtr OdGiFaceDataStorage_resizeSelectionMarkersArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static UInt16 OdGiFaceDataStorage_resizeColorsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static IntPtr OdGiFaceDataStorage_resizeVisibilityArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static global::System.IntPtr OdGiFaceDataStorage_resizeNormalsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static void OdGiFaceDataStorage_cloneData(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiFaceDataStorage_resizeSelectionMarkersArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static UInt16 OdGiFaceDataStorage_resizeColorsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdGiFaceDataStorage_materialsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_setTransparencyArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_setVisibilityArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_deleteArrays__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiFaceDataStorage_colorsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_resizeTrueColorsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdGiFaceDataStorage_setLayersArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_deleteArrays__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_copyFrom(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static void OdGiFaceDataStorage_setTrueColorsArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_resizeTransparencyArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdGiFaceDataStorage_setMappersArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_resizeMappersArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdGiFaceDataStorage_resizeTrueColorsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static IntPtr OdGiFaceDataStorage_resizeMaterialsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdGiFaceDataStorage_selectionMarkersArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_setPointersArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiFaceDataStorage_normalsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_trueColorsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_mappersArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_resetPointers(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiFaceDataStorage_setSelectionMarkersArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiFaceDataStorage_resizeNormalsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdGiFaceDataStorage_clearArrays__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiFaceDataStorage_resizeLayerIdsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static global::System.IntPtr OdGiFaceDataStorage_resizeTransparencyArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static global::System.IntPtr OdGiFaceDataStorage_transparencyArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiFaceDataStorage(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiFaceDataStorage_resizeLayerIdsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdGiFaceDataStorage_clearArrays__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
OdDbStub Material(int faceIdx)
static HandleRef getCPtr(OdGiFaceData obj)
Definition: OdGiFaceData.cs:26
void cloneData(OdGiFaceData pData)
OdCmEntityColor resizeTrueColorsArray(UInt32 nSize)
OdCmEntityColorArray trueColorsArray()
byte[] resizeVisibilityArray(UInt32 nSize, bool bSetPtr)
void clearArrays(OdGiFaceData pFaceData)
OdGeVector3d resizeNormalsArray(UInt32 nSize, bool bSetPtr)
IntPtr[] resizeSelectionMarkersArray(UInt32 nSize, bool bSetPtr)
void setPointersArray(OdGiFaceData pFaceData)
OdCmTransparencyArray transparencyArray()
OdGiFaceDataStorage(IntPtr cPtr, bool cMemoryOwn)
IntPtr[] resizeSelectionMarkersArray(UInt32 nSize)
OdCmEntityColor resizeTrueColorsArray(UInt32 nSize, bool bSetPtr)
void copyFrom(OdGiFaceData pFaceData, UInt32 nFace)
UInt16 resizeColorsArray(UInt32 nSize, bool bSetPtr)
OdGiMapper resizeMappersArray(UInt32 nSize, bool bSetPtr)
Teigha.Core.OdDbStub vb_Material(int faceIdx)
OdCmTransparency resizeTransparencyArray(UInt32 nSize)
OdGeVector3d resizeNormalsArray(UInt32 nSize)
void reserveArrays(OdGiFaceData pFaceData, UInt32 nReserve)
OdDbStub resizeMaterialsArray(UInt32 nSize)
static HandleRef getCPtr(OdGiFaceDataStorage obj)
override void Dispose(bool disposing)
OdGiMapper resizeMappersArray(UInt32 nSize)
OdCmTransparency resizeTransparencyArray(UInt32 nSize, bool bSetPtr)
OdDbStub resizeLayerIdsArray(UInt32 nSize)
UInt16 resizeColorsArray(UInt32 nSize)
OdDbStub resizeMaterialsArray(UInt32 nSize, bool bSetPtr)
void deleteArrays(OdGiFaceData pFaceData)
byte[] resizeVisibilityArray(UInt32 nSize)
OdDbStub resizeLayerIdsArray(UInt32 nSize, bool bSetPtr)