Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgRasterClipXAttribute.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDgRasterClipXAttribute(IntPtr cPtr, bool cMemoryOwn) : base(TG_DbPINVOKE.OdDgRasterClipXAttribute_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDgRasterClipXAttribute obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public class OdDgRasterClipElementData : global::System.IDisposable {
44 private Object locker = new Object();
45 private HandleRef swigCPtr;
46 protected bool swigCMemOwn;
47 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
48 public OdDgRasterClipElementData(IntPtr cPtr, bool cMemoryOwn) {
49 swigCMemOwn = cMemoryOwn;
50 swigCPtr = new HandleRef(this, cPtr);
51 }
52 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
53 public static HandleRef getCPtr(OdDgRasterClipElementData obj) {
54 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
55 }
56
58 Dispose(false);
59 }
60
61 public void Dispose() {
62 Dispose(true);
63 global::System.GC.SuppressFinalize(this);
64 }
65
66 protected virtual void Dispose(bool disposing) {
67 lock(this) {
68 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
69 if (swigCMemOwn) {
70 swigCMemOwn = false;
72 }
73 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
74 }
75 }
76 }
77
78 public UInt32 uContourNum {
79 set {
80 /*SIMPLETYPE*/
83 }
84 get {
85 /*SIMPLETYPE*/
88 return ret;
89 }
90 }
91
93 set {
95
97 }
98
99 get {
100 OdDgElement ret = (OdDgElement)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgElement),TG_DbPINVOKE.OdDgRasterClipXAttribute_OdDgRasterClipElementData_pContourElement_get(swigCPtr),false); /*createInt 4_3*/
101
103 return ret; //csvarout
104 }
105
106 }
107
108 public bool bContourIsMask {
109 set {
112 }
113 get {
116 return ret;
117 }
118 }
119
120 public OdDgRasterClipElementData() : this(TG_DbPINVOKE.new_OdDgRasterClipXAttribute_OdDgRasterClipElementData(), true) {
122 }
123
124 }
125
126 public static OdDgRasterClipXAttribute cast(OdRxObject pObj) {// OdSmartPtr<OdDgRasterClipXAttribute>
127 MemoryManager mMan = MemoryManager.GetMemoryManager();
128 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
130
131 OdDgRasterClipXAttribute ret = null;
132 if (null != mTrans)
133 {
134 mTrans.AddObject((OdDgRasterClipXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgRasterClipXAttribute),ptr, true));
135 ret = (OdDgRasterClipXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgRasterClipXAttribute),ptr, false);
136 }
137 else
138 {
139 ret = (OdDgRasterClipXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgRasterClipXAttribute),ptr, true);
140 }
141
143 return ret;
144}
145
146 public new static OdRxClass desc() {
147 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgRasterClipXAttribute_desc(),false); /*createInt 3_2*/
148
150 return ret;
151}
152
153 public override OdRxClass isA() {
154 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TG_DbPINVOKE.OdDgRasterClipXAttribute_isA(swigCPtr),false); /*createInt 3_2*/
155
157 return ret;
158}
159
160 public override OdRxObject queryX(OdRxClass protocolClass) {
161 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TG_DbPINVOKE.OdDgRasterClipXAttribute_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
162
164 return ret;
165}
166
167 public static OdDgRasterClipXAttribute createObject() {// OdSmartPtr<OdDgRasterClipXAttribute>
168 MemoryManager mMan = MemoryManager.GetMemoryManager();
169 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
171
172 OdDgRasterClipXAttribute ret = null;
173 if (null != mTrans)
174 {
175 mTrans.AddObject((OdDgRasterClipXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgRasterClipXAttribute),ptr, true));
176 ret = (OdDgRasterClipXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgRasterClipXAttribute),ptr, false);
177 }
178 else
179 {
180 ret = (OdDgRasterClipXAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgRasterClipXAttribute),ptr, true);
181 }
182
184 return ret;
185}
186
187 public override void readData(OdBinaryData data, OdDgDatabase pDb) {
190 }
191
192 public override void readData(OdBinaryData data) {
195 }
196
197 public override void writeData(OdBinaryData data) {
200 }
201
202 public virtual UInt32 getClipElementCount() {
203// test csout
204 /*SIMPLETYPE*/
207 return ret;
208 }
209
210 public virtual OdDgRasterClipXAttribute.OdDgRasterClipElementData getClipElementData(UInt32 /*SIMPLETYPE*/ uIndex) {
213 return ret;
214 }
215
216 public virtual void setClipElementData(UInt32 /*SIMPLETYPE*/ uIndex, OdDgRasterClipXAttribute.OdDgRasterClipElementData clipData) {
219 }
220
224 }
225
226 public virtual void addClipElementData(OdGePoint3dArray arrPoints, bool bMaskElement) {
229 }
230
231 public virtual void addClipElementData(OdGePoint2dArray arrPoints, bool bMaskElement) {
234 }
235
236 public virtual void deleteClipElementData(UInt32 /*SIMPLETYPE*/ uCountourNum) {
237 TG_DbPINVOKE.OdDgRasterClipXAttribute_deleteClipElementData(swigCPtr, uCountourNum /*SIMPLETYPE*/);
239 }
240
241 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
242 string ret = TG_DbPINVOKE.OdDgRasterClipXAttribute_getRealClassName(ptr /*SIMPLETYPE*/);
244 return ret;
245 }
246
247 public const int kType = 0x570B0000;
248
249}
250
251}
static HandleRef getCPtr(OdBinaryData obj)
Definition: OdBinaryData.cs:25
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdDgDatabase obj)
Definition: OdDgDatabase.cs:26
static HandleRef getCPtr(OdDgElement obj)
Definition: OdDgElement.cs:26
static HandleRef getCPtr(OdDgRasterClipElementData obj)
override void readData(OdBinaryData data, OdDgDatabase pDb)
override void writeData(OdBinaryData data)
override OdRxObject queryX(OdRxClass protocolClass)
virtual void deleteClipElementData(UInt32 uCountourNum)
virtual void addClipElementData(OdGePoint3dArray arrPoints, bool bMaskElement)
static HandleRef getCPtr(OdDgRasterClipXAttribute obj)
virtual void addClipElementData(OdGePoint2dArray arrPoints, bool bMaskElement)
override void readData(OdBinaryData data)
OdDgRasterClipXAttribute(IntPtr cPtr, bool cMemoryOwn)
override void Dispose(bool disposing)
static OdDgRasterClipXAttribute cast(OdRxObject pObj)
virtual void addClipElementData(OdDgRasterClipXAttribute.OdDgRasterClipElementData clipData)
virtual void setClipElementData(UInt32 uIndex, OdDgRasterClipXAttribute.OdDgRasterClipElementData clipData)
virtual OdDgRasterClipXAttribute.OdDgRasterClipElementData getClipElementData(UInt32 uIndex)
static OdDgRasterClipXAttribute createObject()
static global::System.Exception Retrieve()
static string OdDgRasterClipXAttribute_getRealClassName(IntPtr jarg1)
static void delete_OdDgRasterClipXAttribute(HandleRef jarg1)
static void OdDgRasterClipXAttribute_writeData(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdDgRasterClipXAttribute_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDgRasterClipXAttribute_desc()
static void OdDgRasterClipXAttribute_readData__SWIG_0(HandleRef jarg1, IntPtr jarg2, HandleRef jarg3)
static void OdDgRasterClipXAttribute_OdDgRasterClipElementData_pContourElement_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdDgRasterClipXAttribute_deleteClipElementData(HandleRef jarg1, UInt32 jarg2)
static IntPtr OdDgRasterClipXAttribute_isA(HandleRef jarg1)
static global::System.IntPtr OdDgRasterClipXAttribute_getClipElementData(HandleRef jarg1, UInt32 jarg2)
static bool OdDgRasterClipXAttribute_OdDgRasterClipElementData_bContourIsMask_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgRasterClipXAttribute_addClipElementData__SWIG_2(HandleRef jarg1, IntPtr jarg2, bool jarg3)
static IntPtr OdDgRasterClipXAttribute_createObject()
static IntPtr OdDgRasterClipXAttribute_cast(HandleRef jarg1)
static void OdDgRasterClipXAttribute_addClipElementData__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdDgRasterClipXAttribute_OdDgRasterClipElementData_bContourIsMask_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDgRasterClipXAttribute_OdDgRasterClipElementData_uContourNum_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgRasterClipXAttribute_setClipElementData(HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static UInt32 OdDgRasterClipXAttribute_getClipElementCount(HandleRef jarg1)
static void delete_OdDgRasterClipXAttribute_OdDgRasterClipElementData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgRasterClipXAttribute_readData__SWIG_1(HandleRef jarg1, IntPtr jarg2)
static void OdDgRasterClipXAttribute_OdDgRasterClipElementData_uContourNum_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static IntPtr OdDgRasterClipXAttribute_OdDgRasterClipElementData_pContourElement_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgRasterClipXAttribute_addClipElementData__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)