Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiDrawableDesc.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 OdGiDrawableDesc : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGiDrawableDesc(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGiDrawableDesc obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public OdGiDrawableDesc() : this(GlobalsPINVOKE.new_OdGiDrawableDesc(), true) {
53 }
54
56 set {
59 }
60 get {
61 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiDrawableDesc_pParent_get(swigCPtr);
62 OdGiDrawableDesc ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiDrawableDesc(cPtr, false);
64 return ret;
65 }
66 }
67
69 set {
72 }
73 get {
74 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiDrawableDesc_persistId_get(swigCPtr);
75 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
77 return ret;
78 }
79 }
80
82 set {
85 }
86 get {
87 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiDrawableDesc_pTransientDrawable_get(swigCPtr);
88 OdGiDrawable ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiDrawable(cPtr, false);
90 return ret;
91 }
92 }
93
94 public UInt32 nDrawableFlags {
95 set {
96 /*SIMPLETYPE*/
99 }
100 get {
101 /*SIMPLETYPE*/
104 return ret;
105 }
106 }
107
108 public UInt32 nDrawableDescFlags {
109 set {
110 /*SIMPLETYPE*/
113 }
114 get {
115 /*SIMPLETYPE*/
118 return ret;
119 }
120 }
121
122 public void markToSkip(bool skip) {
125 }
126
127 public bool isMarkedToSkip() {
130 return ret;
131 }
132
133 public void markBySelection(bool val) {
136 }
137
138 public bool isMarkedBySelection() {
141 return ret;
142 }
143
144 public void markBySubSelection(bool val) {
147 }
148
152 return ret;
153 }
154
155 public void markByGeometry(bool val) {
158 }
159
160 public bool isMarkedByGeometry() {
163 return ret;
164 }
165
166 public void markBySubGeometry(bool val) {
169 }
170
171 public bool isMarkedBySubGeometry() {
174 return ret;
175 }
176
177 public void markToBreak(bool val) {
180 }
181
182 public bool isMarkedToBreak() {
185 return ret;
186 }
187
188 public void markForForcedSelection(bool val) {
191 }
192
196 return ret;
197 }
198
199 [System.Flags] public enum DrawableDescFlags {
200 kFirstFlag = 1,
209 }
210
211}
212
213}
static global::System.Exception Retrieve()
static void OdGiDrawableDesc_markToSkip(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiDrawableDesc_nDrawableFlags_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdGiDrawableDesc_markBySelection(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdGiDrawableDesc_nDrawableDescFlags_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiDrawableDesc_pParent_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDrawableDesc_markBySubGeometry(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiDrawableDesc_pParent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiDrawableDesc_pTransientDrawable_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiDrawableDesc_isMarkedToSkip(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiDrawableDesc_isMarkedToBreak(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDrawableDesc_markForForcedSelection(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiDrawableDesc_markToBreak(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_OdGiDrawableDesc(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDrawableDesc_pTransientDrawable_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdGiDrawableDesc_persistId_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiDrawableDesc_isMarkedByGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiDrawableDesc_isMarkedForForcedSelection(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDrawableDesc_markByGeometry(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdGiDrawableDesc_nDrawableFlags_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDrawableDesc_persistId_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiDrawableDesc_nDrawableDescFlags_set(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool OdGiDrawableDesc_isMarkedBySubSelection(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiDrawableDesc_isMarkedBySubGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiDrawableDesc_isMarkedBySelection(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiDrawableDesc_markBySubSelection(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
virtual void Dispose(bool disposing)
OdGiDrawableDesc(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdGiDrawableDesc obj)
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25