Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiModelToViewProc.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 OdGiModelToViewProc(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiModelToViewProc_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiModelToViewProc 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 OdGiModelToViewProc cast(OdRxObject pObj) {// OdSmartPtr<OdGiModelToViewProc>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdGiModelToViewProc ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdGiModelToViewProc)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiModelToViewProc),ptr, true));
51 ret = (OdGiModelToViewProc)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiModelToViewProc),ptr, false);
52 }
53 else
54 {
55 ret = (OdGiModelToViewProc)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiModelToViewProc),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.OdGiModelToViewProc_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.OdGiModelToViewProc_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.OdGiModelToViewProc_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdGiModelToViewProc createObject() {// OdSmartPtr<OdGiModelToViewProc>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdGiModelToViewProc ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdGiModelToViewProc)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiModelToViewProc),ptr, true));
92 ret = (OdGiModelToViewProc)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiModelToViewProc),ptr, false);
93 }
94 else
95 {
96 ret = (OdGiModelToViewProc)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiModelToViewProc),ptr, true);
97 }
98
100 return ret;
101}
102
103 public virtual void setDrawContext(OdGiConveyorContext pDrawCtx) {
106 }
107
108 public virtual OdGiConveyorInput modelInput() {
110
112 return (OdGiConveyorInput)ret;
113}
114
115 public virtual OdGiConveyorInput eyeInput() {
117
119 return (OdGiConveyorInput)ret;
120}
121
122 public virtual OdGiConveyorOutput output() {
124
126 return (OdGiConveyorOutput)ret;
127}
128
129 public virtual void setEyeToOutputTransform(OdGeMatrix3d xMat) {
132 }
133
137 return ret;
138 }
139
140 public virtual void setView(OdGePoint3d target, OdGeVector3d xVector, OdGeVector3d upVector, OdGeVector3d eyeVector) {
143 }
144
145 public virtual void setWorldToEyeTransform(OdGeMatrix3d xMat) {
148 }
149
153 return ret;
154 }
155
159 return ret;
160 }
161
165 return ret;
166 }
167
171 return ret;
172 }
173
174 public virtual void pushModelTransform(OdGeMatrix3d xMat) {
177 }
178
179 public virtual void popModelTransform() {
182 }
183
184 public virtual bool isEmptyModelMatrixStack() {
187 return ret;
188 }
189
193 return ret;
194 }
195
199 return ret;
200 }
201
202 public virtual OdGiXform getModelToEyeXform() {
203 OdGiXform ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),GlobalsPINVOKE.OdGiModelToViewProc_getModelToEyeXform__SWIG_0(swigCPtr),false); /*createInt 3_2*/
204
206 return ret;
207}
208
209 public virtual OdGiXform getEyeToModelXform() {
210 OdGiXform ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),GlobalsPINVOKE.OdGiModelToViewProc_getEyeToModelXform__SWIG_0(swigCPtr),false); /*createInt 3_2*/
211
213 return ret;
214}
215
216 public virtual void pushClipBoundary(OdGiClipBoundary pBoundary) {
219 }
220
221 public virtual void pushClipBoundary(OdGiClipBoundary pBoundary, OdGiAbstractClipBoundary pClipInfo) {
224 }
225
226 public virtual void popClipBoundary() {
229 }
230
231 public virtual bool isClipping() {
234 return ret;
235 }
236
237 public virtual bool isEmptyClipSet() {
240 return ret;
241 }
242
243 public virtual void initGeometryClipStatus() {
246 }
247
248 public virtual int getGeometryClipStatus(bool bSectioning, bool bClear) {
249 int ret = GlobalsPINVOKE.OdGiModelToViewProc_getGeometryClipStatus__SWIG_0(swigCPtr, bSectioning, bClear);
251 return ret;
252 }
253
254 public virtual int getGeometryClipStatus(bool bSectioning) {
257 return ret;
258 }
259
260 public virtual int getGeometryClipStatus() {
263 return ret;
264 }
265
266 public virtual void setWorldDeviation(OdGiDeviation worldDev) {
269 }
270
271 public virtual void setWorldDeviation(OdGeDoubleArray deviations) {
274 }
275
276 public virtual OdGiDeviation worldDeviation() {
278
280 return (OdGiDeviation)ret;
281}
282
283 public virtual OdGiDeviation modelDeviation() {
285
287 return (OdGiDeviation)ret;
288}
289
290 public virtual OdGiDeviation eyeDeviation() {
292
294 return (OdGiDeviation)ret;
295}
296
297 public virtual void setClippingSpace(OdGiModelToViewProc.ClippingCS newClipCS) {
300 }
301
305 return ret;
306 }
307
308 public virtual void enableAnalyticCurvesClipping(bool bEnable) {
311 }
312
313 public virtual void enableAnalyticCurvesClipping() {
316 }
317
318 public virtual bool isAnalyticCurvesClippingEnabled() {
321 return ret;
322 }
323
324 public virtual void enableClippingDebugLog(String fileName) {
327 }
328
329 public virtual void disableClippingDebugLog() {
332 }
333
334 public virtual bool isClippingDebugLogEnabled() {
337 return ret;
338 }
339
340 public virtual void switchSectioning(bool bEnable) {
343 }
344
345 public virtual bool isSectioningEnabled() {
348 return ret;
349 }
350
351 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
352 string ret = GlobalsPINVOKE.OdGiModelToViewProc_getRealClassName(ptr /*SIMPLETYPE*/);
354 return ret;
355 }
356
357 public enum ClippingCS {
361 }
362
363}
364
365}
static global::System.Exception Retrieve()
static int OdGiModelToViewProc_getGeometryClipStatus__SWIG_0(HandleRef jarg1, bool jarg2, bool jarg3)
static IntPtr OdGiModelToViewProc_desc()
static bool OdGiModelToViewProc_isSectioningEnabled(HandleRef jarg1)
static void OdGiModelToViewProc_setView(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdGiModelToViewProc_eyeInput(HandleRef jarg1)
static void OdGiModelToViewProc_pushClipBoundary__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiModelToViewProc_setWorldDeviation__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiModelToViewProc_initGeometryClipStatus(HandleRef jarg1)
static IntPtr OdGiModelToViewProc_getModelToEyeXform__SWIG_0(HandleRef jarg1)
static bool OdGiModelToViewProc_isEmptyModelMatrixStack(HandleRef jarg1)
static void delete_OdGiModelToViewProc(HandleRef jarg1)
static void OdGiModelToViewProc_setClippingSpace(HandleRef jarg1, int jarg2)
static void OdGiModelToViewProc_pushClipBoundary__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGiModelToViewProc_modelToEyeTransform(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_output(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_worldToModelTransform(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_worldDeviation(HandleRef jarg1)
static string OdGiModelToViewProc_getRealClassName(IntPtr jarg1)
static int OdGiModelToViewProc_currentClippingSpace(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_modelDeviation(HandleRef jarg1)
static bool OdGiModelToViewProc_isEmptyClipSet(HandleRef jarg1)
static IntPtr OdGiModelToViewProc_isA(HandleRef jarg1)
static IntPtr OdGiModelToViewProc_createObject()
static void OdGiModelToViewProc_setWorldDeviation__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiModelToViewProc_eyeToWorldTransform(HandleRef jarg1)
static bool OdGiModelToViewProc_isClipping(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_eyeToModelTransform(HandleRef jarg1)
static void OdGiModelToViewProc_popModelTransform(HandleRef jarg1)
static void OdGiModelToViewProc_disableClippingDebugLog(HandleRef jarg1)
static IntPtr OdGiModelToViewProc_cast(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_eyeToOutputTransform(HandleRef jarg1)
static bool OdGiModelToViewProc_isAnalyticCurvesClippingEnabled(HandleRef jarg1)
static void OdGiModelToViewProc_switchSectioning(HandleRef jarg1, bool jarg2)
static void OdGiModelToViewProc_pushModelTransform(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiModelToViewProc_isClippingDebugLogEnabled(HandleRef jarg1)
static void OdGiModelToViewProc_enableAnalyticCurvesClipping__SWIG_0(HandleRef jarg1, bool jarg2)
static IntPtr OdGiModelToViewProc_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdGiModelToViewProc_getGeometryClipStatus__SWIG_1(HandleRef jarg1, bool jarg2)
static void OdGiModelToViewProc_setDrawContext(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiModelToViewProc_setEyeToOutputTransform(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiModelToViewProc_enableClippingDebugLog(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static int OdGiModelToViewProc_getGeometryClipStatus__SWIG_2(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_eyeDeviation(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_modelInput(HandleRef jarg1)
static IntPtr OdGiModelToViewProc_getEyeToModelXform__SWIG_0(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_modelToWorldTransform(HandleRef jarg1)
static void OdGiModelToViewProc_enableAnalyticCurvesClipping__SWIG_1(HandleRef jarg1)
static global::System.IntPtr OdGiModelToViewProc_worldToEyeTransform(HandleRef jarg1)
static void OdGiModelToViewProc_setWorldToEyeTransform(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiModelToViewProc_popClipBoundary(HandleRef jarg1)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiAbstractClipBoundary obj)
static HandleRef getCPtr(OdGiClipBoundary obj)
virtual void setDrawContext(OdGiConveyorContext pDrawCtx)
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdGeMatrix3d worldToEyeTransform()
static OdGiModelToViewProc createObject()
virtual OdGeMatrix3d eyeToOutputTransform()
virtual OdGiDeviation worldDeviation()
virtual void pushModelTransform(OdGeMatrix3d xMat)
virtual void setClippingSpace(OdGiModelToViewProc.ClippingCS newClipCS)
static string getRealClassName(IntPtr ptr)
virtual OdGiDeviation modelDeviation()
virtual OdGiDeviation eyeDeviation()
override void Dispose(bool disposing)
virtual void enableAnalyticCurvesClipping(bool bEnable)
virtual OdGiConveyorOutput output()
virtual OdGeMatrix3d modelToWorldTransform()
virtual void setWorldDeviation(OdGeDoubleArray deviations)
virtual int getGeometryClipStatus(bool bSectioning)
virtual OdGeMatrix3d eyeToWorldTransform()
virtual OdGeMatrix3d modelToEyeTransform()
static OdGiModelToViewProc cast(OdRxObject pObj)
virtual void setWorldDeviation(OdGiDeviation worldDev)
virtual void setWorldToEyeTransform(OdGeMatrix3d xMat)
virtual OdGeMatrix3d eyeToModelTransform()
OdGiModelToViewProc(IntPtr cPtr, bool cMemoryOwn)
virtual OdGiConveyorInput modelInput()
virtual void pushClipBoundary(OdGiClipBoundary pBoundary, OdGiAbstractClipBoundary pClipInfo)
virtual void setEyeToOutputTransform(OdGeMatrix3d xMat)
virtual OdGiModelToViewProc.ClippingCS currentClippingSpace()
virtual int getGeometryClipStatus(bool bSectioning, bool bClear)
virtual void pushClipBoundary(OdGiClipBoundary pBoundary)
virtual OdGeMatrix3d worldToModelTransform()
static HandleRef getCPtr(OdGiModelToViewProc obj)
virtual void enableClippingDebugLog(String fileName)
virtual void switchSectioning(bool bEnable)
virtual OdGiConveyorInput eyeInput()
virtual void setView(OdGePoint3d target, OdGeVector3d xVector, OdGeVector3d upVector, OdGeVector3d eyeVector)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()