Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiConveyorContextWrapper.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 OdGiConveyorContextWrapper : OdGiConveyorContext, 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 OdGiConveyorContextWrapper(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(OdGiConveyorContextWrapper 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 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
52 global::System.Runtime.InteropServices.HandleRef OdGiConveyorContext.GetInterfaceCPtr() {
53 return new global::System.Runtime.InteropServices.HandleRef(this, GlobalsPINVOKE.OdGiConveyorContextWrapper_OdGiConveyorContext_GetInterfaceCPtr(swigCPtr.Handle));
54 }
55
58
60 return (OdGiConveyorContext)ret;
61}
62
66 }
67
68 public virtual OdGiContext giContext() {
69 OdGiContext ret = (OdGiContext)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiContext),GlobalsPINVOKE.OdGiConveyorContextWrapper_giContext(swigCPtr),false); /*createInt 3_1*/
70
72 return ret;
73}
74
76 OdGiSubEntityTraits ret = (OdGiSubEntityTraits)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiSubEntityTraits),GlobalsPINVOKE.OdGiConveyorContextWrapper_subEntityTraits(swigCPtr),false); /*createInt 3_1*/
77
79 return ret;
80}
81
85 return ret;
86 }
87
88 public virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits, OdGeVector3d fillNormal) {
91 }
92
93 public virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits) {
96 }
97
98 public virtual bool effectivelyVisible() {
101 return ret;
102 }
103
105 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiConveyorContextWrapper_currentDrawableDesc(swigCPtr);
106 OdGiDrawableDesc ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiDrawableDesc(cPtr, false);
108 return ret;
109 }
110
111 public virtual OdGiDrawable currentDrawable() {
112 OdGiDrawable ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),GlobalsPINVOKE.OdGiConveyorContextWrapper_currentDrawable(swigCPtr),false); /*createInt 3_2*/
113
115 return ret;
116}
117
118 public virtual OdGiViewport giViewport() {
119 OdGiViewport ret = (OdGiViewport)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiViewport),GlobalsPINVOKE.OdGiConveyorContextWrapper_giViewport(swigCPtr),false); /*createInt 3_2*/
120
122 return ret;
123}
124
125 public virtual OdGsView gsView() {
126 OdGsView ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),GlobalsPINVOKE.OdGiConveyorContextWrapper_gsView(swigCPtr),false); /*createInt 3_2*/
127
129 return ret;
130}
131
132 public virtual void onTraitsModified() {
135 }
136
137 public virtual void onTextProcessing(OdGePoint3d position, OdGeVector3d direction, OdGeVector3d upVector) {
140 }
141
142 public virtual bool regenAbort() {
145 return ret;
146 }
147
148 public virtual OdGiPathNode currentGiPath() {
149 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiConveyorContextWrapper_currentGiPath(swigCPtr);
150 OdGiPathNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiPathNode(cPtr, false);
152 return ret;
153 }
154
155 public virtual OdGiDeviation worldDeviation() {
157
159 return (OdGiDeviation)ret;
160}
161
162 public virtual OdGiDeviation modelDeviation() {
164
166 return (OdGiDeviation)ret;
167}
168
169 public virtual OdGiDeviation eyeDeviation() {
171
173 return (OdGiDeviation)ret;
174}
175
179 return ret;
180 }
181
185 return ret;
186 }
187
189 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiConveyorContextWrapper_currentLineweightOverride(swigCPtr);
190 OdGiLineweightOverride ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiLineweightOverride(cPtr, false);
192 return ret;
193 }
194
195 public virtual UInt32 drawContextFlags() {
196// test csout
197 /*SIMPLETYPE*/
200 return ret;
201 }
202
203 public virtual double annotationScale() {
206 return ret;
207 }
208
209}
210
211}
static global::System.Exception Retrieve()
static IntPtr OdGiConveyorContextWrapper_gsView(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiConveyorContextWrapper(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_currentDrawableDesc(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContextWrapper_setOriginalContext(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiConveyorContextWrapper_effectivelyVisible(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_effectiveTraits(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContextWrapper_setEffectiveTraits__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGiConveyorContextWrapper_subEntityTraits(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_currentGiPath(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContextWrapper_setEffectiveTraits__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiConveyorContextWrapper_eyeDeviation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContextWrapper_onTraitsModified(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiConveyorContextWrapper_annotationScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_getModelToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiConveyorContextWrapper_currentDrawable(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContextWrapper_onTextProcessing(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdGiConveyorContextWrapper_giViewport(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_currentLineweightOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_OdGiConveyorContext_GetInterfaceCPtr(global::System.IntPtr jarg1)
static IntPtr OdGiConveyorContextWrapper_giContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiConveyorContextWrapper_regenAbort(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_getWorldToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_worldDeviation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_getOriginalContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiConveyorContextWrapper_drawContextFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContextWrapper_modelDeviation(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
void setOriginalContext(OdGiConveyorContext pCtx)
virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits, OdGeVector3d fillNormal)
virtual void onTextProcessing(OdGePoint3d position, OdGeVector3d direction, OdGeVector3d upVector)
OdGiConveyorContextWrapper(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdGiConveyorContextWrapper obj)
virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits)
virtual OdGiLineweightOverride currentLineweightOverride()
virtual OdGiSubEntityTraitsData effectiveTraits()
static HandleRef getCPtr(OdGiSubEntityTraitsData obj)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()