Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiConveyorContext_Internal.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 OdGiConveyorContext_Internal : 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 OdGiConveyorContext_Internal(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(OdGiConveyorContext_Internal 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.OdGiConveyorContext_Internal_OdGiConveyorContext_GetInterfaceCPtr(swigCPtr.Handle));
54 }
55
56 public virtual OdGiContext giContext() {
57 OdGiContext ret = (OdGiContext)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiContext),GlobalsPINVOKE.OdGiConveyorContext_Internal_giContext(swigCPtr),false); /*createInt 3_1*/
58
60 return ret;
61}
62
64 OdGiSubEntityTraits ret = (OdGiSubEntityTraits)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiSubEntityTraits),GlobalsPINVOKE.OdGiConveyorContext_Internal_subEntityTraits(swigCPtr),false); /*createInt 3_1*/
65
67 return ret;
68}
69
73 return ret;
74 }
75
76 public virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits, OdGeVector3d fillNormal) {
79 }
80
81 public virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits) {
84 }
85
86 public virtual bool effectivelyVisible() {
89 return ret;
90 }
91
93 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiConveyorContext_Internal_currentDrawableDesc(swigCPtr);
94 OdGiDrawableDesc ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiDrawableDesc(cPtr, false);
96 return ret;
97 }
98
99 public virtual OdGiDrawable currentDrawable() {
100 OdGiDrawable ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),GlobalsPINVOKE.OdGiConveyorContext_Internal_currentDrawable(swigCPtr),false); /*createInt 3_2*/
101
103 return ret;
104}
105
106 public virtual OdGiViewport giViewport() {
107 OdGiViewport ret = (OdGiViewport)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiViewport),GlobalsPINVOKE.OdGiConveyorContext_Internal_giViewport(swigCPtr),false); /*createInt 3_2*/
108
110 return ret;
111}
112
113 public virtual OdGsView gsView() {
114 OdGsView ret = (OdGsView)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsView),GlobalsPINVOKE.OdGiConveyorContext_Internal_gsView(swigCPtr),false); /*createInt 3_2*/
115
117 return ret;
118}
119
120 public virtual void onTraitsModified() {
123 }
124
125 public virtual void onTextProcessing(OdGePoint3d arg0, OdGeVector3d arg1, OdGeVector3d arg2) {
128 }
129
130 public virtual bool regenAbort() {
133 return ret;
134 }
135
136 public virtual OdGiPathNode currentGiPath() {
137 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiConveyorContext_Internal_currentGiPath(swigCPtr);
138 OdGiPathNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiPathNode(cPtr, false);
140 return ret;
141 }
142
143 public virtual OdGiDeviation worldDeviation() {
145
147 return (OdGiDeviation)ret;
148}
149
150 public virtual OdGiDeviation modelDeviation() {
152
154 return (OdGiDeviation)ret;
155}
156
157 public virtual OdGiDeviation eyeDeviation() {
159
161 return (OdGiDeviation)ret;
162}
163
167 return ret;
168 }
169
173 return ret;
174 }
175
177 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiConveyorContext_Internal_currentLineweightOverride(swigCPtr);
178 OdGiLineweightOverride ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiLineweightOverride(cPtr, false);
180 return ret;
181 }
182
183 public virtual UInt32 drawContextFlags() {
184// test csout
185 /*SIMPLETYPE*/
188 return ret;
189 }
190
191 public virtual double annotationScale() {
194 return ret;
195 }
196
207 kPlineMarkers = 64,
209 kPolylineMarkers = 256,
210 kPlineAllowArcProc = 512,
211 kTestMode = 1024,
213 }
214
215}
216
217}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGiConveyorContext_Internal_currentDrawableDesc(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContext_Internal_setEffectiveTraits__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGiConveyorContext_Internal_regenAbort(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiConveyorContext_Internal_annotationScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContext_Internal_onTraitsModified(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_getModelToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_eyeDeviation(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiConveyorContext_Internal_giContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiConveyorContext_Internal_effectivelyVisible(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_worldDeviation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_currentLineweightOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_getWorldToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiConveyorContext_Internal_subEntityTraits(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_effectiveTraits(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiConveyorContext_Internal_drawContextFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiConveyorContext_Internal_giViewport(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContext_Internal_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 void delete_OdGiConveyorContext_Internal(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiConveyorContext_Internal_currentDrawable(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiConveyorContext_Internal_gsView(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_currentGiPath(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiConveyorContext_Internal_modelDeviation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiConveyorContext_Internal_setEffectiveTraits__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGiConveyorContext_Internal_OdGiConveyorContext_GetInterfaceCPtr(global::System.IntPtr jarg1)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
OdGiConveyorContext_Internal(IntPtr cPtr, bool cMemoryOwn)
virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits)
static HandleRef getCPtr(OdGiConveyorContext_Internal obj)
virtual OdGiLineweightOverride currentLineweightOverride()
virtual void setEffectiveTraits(OdGiSubEntityTraitsData traits, OdGeVector3d fillNormal)
virtual OdGiSubEntityTraitsData effectiveTraits()
virtual void onTextProcessing(OdGePoint3d arg0, OdGeVector3d arg1, OdGeVector3d arg2)
static HandleRef getCPtr(OdGiSubEntityTraitsData obj)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()