Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbMotionPath.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbMotionPath : OdDbObject {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbMotionPath(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbMotionPath_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbMotionPath obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public static OdDbMotionPath cast(OdRxObject pObj) {// OdSmartPtr<OdDbMotionPath>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbMotionPath ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbMotionPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMotionPath),ptr, true));
52 ret = (OdDbMotionPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMotionPath),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbMotionPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMotionPath),ptr, true);
57 }
58
60 return ret;
61}
62
63 public new static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbMotionPath_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public override OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbMotionPath_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public override OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDbMotionPath_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDbMotionPath createObject() {// OdSmartPtr<OdDbMotionPath>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbMotionPath ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbMotionPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMotionPath),ptr, true));
93 ret = (OdDbMotionPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMotionPath),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbMotionPath)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMotionPath),ptr, true);
98 }
99
101 return ret;
102}
103
104 public void setCameraPath(OdDbObjectId pathId) {
107 }
108
110 MemoryManager mMan = MemoryManager.GetMemoryManager();
111 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #27
112 IntPtr ptr = TD_DbPINVOKE.OdDbMotionPath_cameraPath(swigCPtr);
113
114 OdDbObjectId ret = null;
115 if (null != mTrans)
116 {
117 mTrans.AddObject(new OdDbObjectId(ptr, true));
118 ret = new OdDbObjectId(ptr, false);
119 }
120 else
121 {
122 ret = new OdDbObjectId(ptr, true);
123 }
124
126 return ret;
127}
128
129 public void setTargetPath(OdDbObjectId pathId) {
132 }
133
135 MemoryManager mMan = MemoryManager.GetMemoryManager();
136 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #27
137 IntPtr ptr = TD_DbPINVOKE.OdDbMotionPath_targetPath(swigCPtr);
138
139 OdDbObjectId ret = null;
140 if (null != mTrans)
141 {
142 mTrans.AddObject(new OdDbObjectId(ptr, true));
143 ret = new OdDbObjectId(ptr, false);
144 }
145 else
146 {
147 ret = new OdDbObjectId(ptr, true);
148 }
149
151 return ret;
152}
153
154 public void setViewTableRecordId(OdDbObjectId viewId) {
157 }
158
160 MemoryManager mMan = MemoryManager.GetMemoryManager();
161 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #27
162 IntPtr ptr = TD_DbPINVOKE.OdDbMotionPath_viewTableRecordId(swigCPtr);
163
164 OdDbObjectId ret = null;
165 if (null != mTrans)
166 {
167 mTrans.AddObject(new OdDbObjectId(ptr, true));
168 ret = new OdDbObjectId(ptr, false);
169 }
170 else
171 {
172 ret = new OdDbObjectId(ptr, true);
173 }
174
176 return ret;
177}
178
179 public void setFrames(UInt32 /*SIMPLETYPE*/ nFrames) {
180 TD_DbPINVOKE.OdDbMotionPath_setFrames(swigCPtr, nFrames /*SIMPLETYPE*/);
182 }
183
184 public UInt32 frames() {
185// test csout
186 /*SIMPLETYPE*/
187 UInt32 ret = TD_DbPINVOKE.OdDbMotionPath_frames(swigCPtr);
189 return ret;
190 }
191
192 public void setFrameRate(UInt32 /*SIMPLETYPE*/ nRate) {
193 TD_DbPINVOKE.OdDbMotionPath_setFrameRate(swigCPtr, nRate /*SIMPLETYPE*/);
195 }
196
197 public UInt32 frameRate() {
198// test csout
199 /*SIMPLETYPE*/
200 UInt32 ret = TD_DbPINVOKE.OdDbMotionPath_frameRate(swigCPtr);
202 return ret;
203 }
204
205 public void setCornerDecel(bool bCornerDecel) {
206 TD_DbPINVOKE.OdDbMotionPath_setCornerDecel(swigCPtr, bCornerDecel);
208 }
209
210 public bool cornerDecel() {
211 bool ret = TD_DbPINVOKE.OdDbMotionPath_cornerDecel(swigCPtr);
213 return ret;
214 }
215
216 public override OdResult dwgInFields(OdDbDwgFiler pFiler) {
219 return ret;
220 }
221
222 public override void dwgOutFields(OdDbDwgFiler pFiler) {
225 }
226
227 public override OdResult dxfInFields(OdDbDxfFiler pFiler) {
230 return ret;
231 }
232
233 public override void dxfOutFields(OdDbDxfFiler pFiler) {
236 }
237
238 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
239 string ret = TD_DbPINVOKE.OdDbMotionPath_getRealClassName(ptr /*SIMPLETYPE*/);
241 return ret;
242 }
243
249
250}
251
252}
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdDbDwgFiler obj)
Definition: OdDbDwgFiler.cs:26
static HandleRef getCPtr(OdDbDxfFiler obj)
Definition: OdDbDxfFiler.cs:26
override void dwgOutFields(OdDbDwgFiler pFiler)
override OdResult dxfInFields(OdDbDxfFiler pFiler)
override OdRxClass isA()
static string getRealClassName(IntPtr ptr)
static new OdDbMotionPath createObject()
void setTargetPath(OdDbObjectId pathId)
static HandleRef getCPtr(OdDbMotionPath obj)
static OdDbMotionPath cast(OdRxObject pObj)
void setCornerDecel(bool bCornerDecel)
OdDbObjectId viewTableRecordId()
OdDbMotionPath(IntPtr cPtr, bool cMemoryOwn)
void setViewTableRecordId(OdDbObjectId viewId)
static new OdRxClass desc()
override void dxfOutFields(OdDbDxfFiler pFiler)
void setFrameRate(UInt32 nRate)
override OdResult dwgInFields(OdDbDwgFiler pFiler)
void setCameraPath(OdDbObjectId pathId)
void setFrames(UInt32 nFrames)
override OdRxObject queryX(OdRxClass protocolClass)
override void Dispose(bool disposing)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static global::System.Exception Retrieve()
static void OdDbMotionPath_dwgOutFields(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbMotionPath_isA(HandleRef jarg1)
static global::System.IntPtr OdDbMotionPath_targetPath(HandleRef jarg1)
static IntPtr OdDbMotionPath_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbMotionPath_cast(HandleRef jarg1)
static UInt32 OdDbMotionPath_frames(HandleRef jarg1)
static void OdDbMotionPath_setFrames(HandleRef jarg1, UInt32 jarg2)
static bool OdDbMotionPath_cornerDecel(HandleRef jarg1)
static void OdDbMotionPath_setCornerDecel(HandleRef jarg1, bool jarg2)
static IntPtr OdDbMotionPath_desc()
static void OdDbMotionPath_dxfOutFields(HandleRef jarg1, HandleRef jarg2)
static UInt32 OdDbMotionPath_frameRate(HandleRef jarg1)
static int OdDbMotionPath_dwgInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbMotionPath_dxfInFields(HandleRef jarg1, HandleRef jarg2)
static void OdDbMotionPath_setFrameRate(HandleRef jarg1, UInt32 jarg2)
static void OdDbMotionPath_setViewTableRecordId(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbMotionPath_cameraPath(HandleRef jarg1)
static string OdDbMotionPath_getRealClassName(IntPtr jarg1)
static IntPtr OdDbMotionPath_createObject()
static global::System.IntPtr OdDbMotionPath_viewTableRecordId(HandleRef jarg1)
static void OdDbMotionPath_setTargetPath(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbMotionPath_setCameraPath(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdDbMotionPath(HandleRef jarg1)