Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiVertexDataStorage.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 OdGiVertexDataStorage(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiVertexDataStorage_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiVertexDataStorage 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 OdGiVertexDataStorage() : this(GlobalsPINVOKE.new_OdGiVertexDataStorage(), true) {
44 }
45
47// csout array
49
51 return res;
52}
53
54 public void setNormalsArray() {
57 }
58
59 public OdGeVector3d resizeNormalsArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
60 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexDataStorage_resizeNormalsArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
61 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
63 return ret;
64 }
65
66 public OdGeVector3d resizeNormalsArray(UInt32 /*SIMPLETYPE*/ nSize) {
67 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexDataStorage_resizeNormalsArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
68 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
70 return ret;
71 }
72
74// csout array
76
78 return res;
79}
80
81 public void setTrueColorsArray() {
84 }
85
86 public OdCmEntityColor resizeTrueColorsArray(UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
87 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexDataStorage_resizeTrueColorsArray__SWIG_0(swigCPtr, nSize /*SIMPLETYPE*/, bSetPtr);
88 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
90 return ret;
91 }
92
93 public OdCmEntityColor resizeTrueColorsArray(UInt32 /*SIMPLETYPE*/ nSize) {
94 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexDataStorage_resizeTrueColorsArray__SWIG_1(swigCPtr, nSize /*SIMPLETYPE*/);
95 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
97 return ret;
98 }
99
101// csout array
103
105 return res;
106}
107
111 }
112
113 public OdGePoint3d resizeMappingCoordsArray(OdGiVertexData.MapChannel channel, UInt32 /*SIMPLETYPE*/ nSize, bool bSetPtr) {
114 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexDataStorage_resizeMappingCoordsArray__SWIG_0(swigCPtr, (int)channel, nSize /*SIMPLETYPE*/, bSetPtr);
115 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
117 return ret;
118 }
119
120 public OdGePoint3d resizeMappingCoordsArray(OdGiVertexData.MapChannel channel, UInt32 /*SIMPLETYPE*/ nSize) {
121 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexDataStorage_resizeMappingCoordsArray__SWIG_1(swigCPtr, (int)channel, nSize /*SIMPLETYPE*/);
122 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
124 return ret;
125 }
126
127 public void cloneData(OdGiVertexData pData) {
130 }
131
132 public void resetPointers() {
135 }
136
137 public void setPointersArray(OdGiVertexData pVertexData) {
140 }
141
142 public void setPointersArray() {
145 }
146
147 public void clearArrays(OdGiVertexData pVertexData) {
150 }
151
152 public void clearArrays() {
155 }
156
157 public void deleteArrays(OdGiVertexData pVertexData) {
160 }
161
162 public void deleteArrays() {
165 }
166
167 public void reserveArrays(OdGiVertexData pVertexData, UInt32 /*SIMPLETYPE*/ nReserve) {
168 GlobalsPINVOKE.OdGiVertexDataStorage_reserveArrays(swigCPtr, OdGiVertexData.getCPtr(pVertexData), nReserve /*SIMPLETYPE*/);
170 }
171
172 public void copyFrom(OdGiVertexData pVertexData, UInt32 /*SIMPLETYPE*/ nVertex) {
173 GlobalsPINVOKE.OdGiVertexDataStorage_copyFrom(swigCPtr, OdGiVertexData.getCPtr(pVertexData), nVertex /*SIMPLETYPE*/);
175 }
176
177}
178
179}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGiVertexDataStorage_resizeNormalsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static void OdGiVertexDataStorage_clearArrays__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiVertexDataStorage_setTrueColorsArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiVertexDataStorage_resizeTrueColorsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, bool jarg3)
static void OdGiVertexDataStorage_resetPointers(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiVertexDataStorage_copyFrom(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static global::System.IntPtr OdGiVertexDataStorage_mappingCoordsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiVertexDataStorage_setMappingCoordsArray(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGiVertexDataStorage_resizeMappingCoordsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, UInt32 jarg3, bool jarg4)
static void OdGiVertexDataStorage_reserveArrays(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3)
static void OdGiVertexDataStorage_deleteArrays__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiVertexDataStorage_resizeTrueColorsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdGiVertexDataStorage_resizeMappingCoordsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, UInt32 jarg3)
static void OdGiVertexDataStorage_setPointersArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiVertexDataStorage_setPointersArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiVertexDataStorage(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiVertexDataStorage_setNormalsArray(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiVertexDataStorage_resizeNormalsArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static global::System.IntPtr OdGiVertexDataStorage_normalsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiVertexDataStorage_trueColorsArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiVertexDataStorage_clearArrays__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiVertexDataStorage_cloneData(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiVertexDataStorage_deleteArrays__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGiVertexData obj)
OdGePoint3dArray mappingCoordsArray(OdGiVertexData.MapChannel arg0)
void setPointersArray(OdGiVertexData pVertexData)
static HandleRef getCPtr(OdGiVertexDataStorage obj)
void setMappingCoordsArray(OdGiVertexData.MapChannel channel)
void copyFrom(OdGiVertexData pVertexData, UInt32 nVertex)
void deleteArrays(OdGiVertexData pVertexData)
void clearArrays(OdGiVertexData pVertexData)
OdGeVector3d resizeNormalsArray(UInt32 nSize, bool bSetPtr)
OdGiVertexDataStorage(IntPtr cPtr, bool cMemoryOwn)
OdGePoint3d resizeMappingCoordsArray(OdGiVertexData.MapChannel channel, UInt32 nSize, bool bSetPtr)
OdGePoint3d resizeMappingCoordsArray(OdGiVertexData.MapChannel channel, UInt32 nSize)
override void Dispose(bool disposing)
void reserveArrays(OdGiVertexData pVertexData, UInt32 nReserve)
OdCmEntityColor resizeTrueColorsArray(UInt32 nSize)
OdCmEntityColor resizeTrueColorsArray(UInt32 nSize, bool bSetPtr)
void cloneData(OdGiVertexData pData)
OdGeVector3d resizeNormalsArray(UInt32 nSize)