Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsMInsertBlockNode.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 OdGsMInsertBlockNode(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGsMInsertBlockNode_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGsMInsertBlockNode 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 OdGsMInsertBlockNode cast(OdRxObject pObj) {// OdSmartPtr<OdGsMInsertBlockNode>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdGsMInsertBlockNode ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdGsMInsertBlockNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMInsertBlockNode),ptr, true));
51 ret = (OdGsMInsertBlockNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMInsertBlockNode),ptr, false);
52 }
53 else
54 {
55 ret = (OdGsMInsertBlockNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMInsertBlockNode),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.OdGsMInsertBlockNode_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.OdGsMInsertBlockNode_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.OdGsMInsertBlockNode_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public new static OdGsMInsertBlockNode createObject() {// OdSmartPtr<OdGsMInsertBlockNode>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdGsMInsertBlockNode ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdGsMInsertBlockNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMInsertBlockNode),ptr, true));
92 ret = (OdGsMInsertBlockNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMInsertBlockNode),ptr, false);
93 }
94 else
95 {
96 ret = (OdGsMInsertBlockNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsMInsertBlockNode),ptr, true);
97 }
98
100 return ret;
101}
102
103 public OdGsMInsertBlockNode(OdGsBaseModel pModel, OdGiDrawable pInsert, bool bSetGsNode) : this(GlobalsPINVOKE.new_OdGsMInsertBlockNode__SWIG_0(OdGsBaseModel.getCPtr(pModel), OdGiDrawable.getCPtr(pInsert), bSetGsNode), true) {
105 }
106
107 public OdGsMInsertBlockNode(OdGsBaseModel pModel, OdGiDrawable pInsert) : this(GlobalsPINVOKE.new_OdGsMInsertBlockNode__SWIG_1(OdGsBaseModel.getCPtr(pModel), OdGiDrawable.getCPtr(pInsert)), true) {
109 }
110
111 public override void invalidate(OdGsContainerNode pParent, OdGsViewImpl pView, UInt32 /*SIMPLETYPE*/ mask) {
112 GlobalsPINVOKE.OdGsMInsertBlockNode_invalidate(swigCPtr, OdGsContainerNode.getCPtr(pParent), OdGsViewImpl.getCPtr(pView), mask /*SIMPLETYPE*/);
114 }
115
116 public override void destroy() {
119 }
120
121 public override void destroySubitems() {
124 }
125
126 public override void highlight(bool bDoIt, bool bWholeBranch, UInt32 /*SIMPLETYPE*/ nSelStyle) {
127 GlobalsPINVOKE.OdGsMInsertBlockNode_highlight__SWIG_0(swigCPtr, bDoIt, bWholeBranch, nSelStyle /*SIMPLETYPE*/);
129 }
130
131 public override void highlight(bool bDoIt, bool bWholeBranch) {
132 GlobalsPINVOKE.OdGsMInsertBlockNode_highlight__SWIG_1(swigCPtr, bDoIt, bWholeBranch);
134 }
135
136 public override OdGsEntityNode firstEntity() {
137 OdGsEntityNode ret = (OdGsEntityNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsEntityNode),GlobalsPINVOKE.OdGsMInsertBlockNode_firstEntity(swigCPtr),false); /*createInt 3_2*/
138
140 return ret;
141}
142
143 public override OdGsEntityNode firstAttrib() {
144 OdGsEntityNode ret = (OdGsEntityNode)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsEntityNode),GlobalsPINVOKE.OdGsMInsertBlockNode_firstAttrib__SWIG_0(swigCPtr),false); /*createInt 3_2*/
145
147 return ret;
148}
149
150 public override bool layersChanged(OdGsViewImpl view) {
153 return ret;
154 }
155
156 public override void playAsGeometry(OdGsBaseVectorizer view, EMetafilePlayMode eMode) {
159 }
160
161 public override void makeStock() {
164 }
165
166 public override void releaseStock() {
169 }
170
171 public override void propagateLayerChangesStock() {
174 }
175
176 public override bool isMInsert() {
179 return ret;
180 }
181
182 public OdGsEntityNode firstAttrib(uint iInstance) {
185 return ret;
186}
187
188 public void stretchExtents() {
191 }
192
193 public void setParams(OdGeMatrix3d blockTf, int nCols, int nRows, double sx, double sy) {
194 GlobalsPINVOKE.OdGsMInsertBlockNode_setParams(swigCPtr, OdGeMatrix3d.getCPtr(blockTf), nCols, nRows, sx, sy);
196 }
197
198 public override void doDisplay(OdGsDisplayContext ctx) {
201 }
202
203 public override bool doSelect(OdGsBaseVectorizer vect, OdGiDrawable pDrw, OdSiRecursiveVisitor pVisitor, OdGsView.SelectionMode mode) {
206 return ret;
207 }
208
209 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
210 string ret = GlobalsPINVOKE.OdGsMInsertBlockNode_getRealClassName(ptr /*SIMPLETYPE*/);
212 return ret;
213 }
214
215}
216
217}
static global::System.Exception Retrieve()
static void OdGsMInsertBlockNode_doDisplay(HandleRef jarg1, OdGsDisplayContext jarg2)
static IntPtr OdGsMInsertBlockNode_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGsMInsertBlockNode_desc()
static IntPtr OdGsMInsertBlockNode_cast(HandleRef jarg1)
static void OdGsMInsertBlockNode_makeStock(HandleRef jarg1)
static void delete_OdGsMInsertBlockNode(HandleRef jarg1)
static bool OdGsMInsertBlockNode_doSelect(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static void OdGsMInsertBlockNode_destroySubitems(HandleRef jarg1)
static IntPtr OdGsMInsertBlockNode_createObject()
static void OdGsMInsertBlockNode_stretchExtents(HandleRef jarg1)
static void OdGsMInsertBlockNode_invalidate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, UInt32 jarg4)
static void OdGsMInsertBlockNode_playAsGeometry(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void OdGsMInsertBlockNode_releaseStock(HandleRef jarg1)
static void OdGsMInsertBlockNode_highlight__SWIG_1(HandleRef jarg1, bool jarg2, bool jarg3)
static string OdGsMInsertBlockNode_getRealClassName(IntPtr jarg1)
static IntPtr OdGsMInsertBlockNode_firstAttrib__SWIG_0(HandleRef jarg1)
static void OdGsMInsertBlockNode_setParams(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, double jarg5, double jarg6)
static IntPtr OdGsMInsertBlockNode_isA(HandleRef jarg1)
static bool OdGsMInsertBlockNode_layersChanged(HandleRef jarg1, HandleRef jarg2)
static OdGsEntityNode OdGsMInsertBlockNode_firstAttrib__SWIG_1(HandleRef jarg1, uint jarg2)
static IntPtr OdGsMInsertBlockNode_firstEntity(HandleRef jarg1)
static void OdGsMInsertBlockNode_highlight__SWIG_0(HandleRef jarg1, bool jarg2, bool jarg3, UInt32 jarg4)
static void OdGsMInsertBlockNode_destroy(HandleRef jarg1)
static bool OdGsMInsertBlockNode_isMInsert(HandleRef jarg1)
static void OdGsMInsertBlockNode_propagateLayerChangesStock(HandleRef jarg1)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdGsBaseVectorizer obj)
static HandleRef getCPtr(OdGsContainerNode obj)
override void highlight(bool bDoIt, bool bWholeBranch)
override void Dispose(bool disposing)
override void playAsGeometry(OdGsBaseVectorizer view, EMetafilePlayMode eMode)
static HandleRef getCPtr(OdGsMInsertBlockNode obj)
static string getRealClassName(IntPtr ptr)
override bool doSelect(OdGsBaseVectorizer vect, OdGiDrawable pDrw, OdSiRecursiveVisitor pVisitor, OdGsView.SelectionMode mode)
OdGsMInsertBlockNode(IntPtr cPtr, bool cMemoryOwn)
static new OdGsMInsertBlockNode createObject()
void setParams(OdGeMatrix3d blockTf, int nCols, int nRows, double sx, double sy)
override bool layersChanged(OdGsViewImpl view)
OdGsEntityNode firstAttrib(uint iInstance)
override void doDisplay(OdGsDisplayContext ctx)
override void highlight(bool bDoIt, bool bWholeBranch, UInt32 nSelStyle)
override OdGsEntityNode firstAttrib()
override OdGsEntityNode firstEntity()
OdGsMInsertBlockNode(OdGsBaseModel pModel, OdGiDrawable pInsert, bool bSetGsNode)
override OdRxObject queryX(OdRxClass protocolClass)
static OdGsMInsertBlockNode cast(OdRxObject pObj)
OdGsMInsertBlockNode(OdGsBaseModel pModel, OdGiDrawable pInsert)
override void invalidate(OdGsContainerNode pParent, OdGsViewImpl pView, UInt32 mask)
static HandleRef getCPtr(OdGsViewImpl obj)
Definition: OdGsViewImpl.cs:26
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdSiRecursiveVisitor obj)