Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
TempOdGiDummyViewport.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 TempOdGiDummyViewport : 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 TempOdGiDummyViewport(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(TempOdGiDummyViewport 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;
44 GlobalsPINVOKE.deletePD_TempOdGiDummyViewport(swigCPtr); // PROTECTED_DTOR_CSHARP
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
54 return ret;
55 }
56
60 return ret;
61 }
62
66 return ret;
67 }
68
72 return ret;
73 }
74
75 public virtual bool isPerspective() {
78 return ret;
79 }
80
81 public virtual bool doPerspective(OdGePoint3d p) {
84 return ret;
85 }
86
87 public virtual bool doInversePerspective(OdGePoint3d arg0) {
90 return ret;
91 }
92
93 public virtual void getNumPixelsInUnitSquare(OdGePoint3d givenWorldpt, OdGePoint2d pixelArea) {
96 }
97
98 public virtual void getNumPixelsInUnitSquare(OdGePoint3d givenWorldpt, OdGePoint2d pixelArea, bool bUsePerspective) {
101 }
102
106 return ret;
107 }
108
109 public virtual OdGePoint3d getCameraTarget() {
112 return ret;
113 }
114
118 return ret;
119 }
120
121 public virtual OdGeVector3d viewDir() {
124 return ret;
125 }
126
127 public virtual UInt32 viewportId() {
128// test csout
129 /*SIMPLETYPE*/
130 UInt32 ret = GlobalsPINVOKE.TempOdGiDummyViewport_viewportId(swigCPtr);
132 return ret;
133 }
134
135 public virtual Int16 acadWindowId() {
136// test csout
137 /*SIMPLETYPE*/
140 return ret;
141 }
142
143 public virtual void getViewportDcCorners(OdGePoint2d lower_left, OdGePoint2d upper_right) {
146 }
147
148 public virtual bool getFrontAndBackClipValues(out bool clip_front, out bool clip_back, out double front, out double back) {
149 bool ret = GlobalsPINVOKE.TempOdGiDummyViewport_getFrontAndBackClipValues(swigCPtr, out clip_front, out clip_back, out front, out back);
151 return ret;
152 }
153
154 public virtual double linetypeScaleMultiplier() {
157 return ret;
158 }
159
160 public virtual double linetypeGenerationCriteria() {
163 return ret;
164 }
165
166 public virtual bool layerVisible(OdDbStub idLayer) {
169 return ret;
170 }
171
173 OdGiContextualColors ret = (OdGiContextualColors)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiContextualColors),GlobalsPINVOKE.TempOdGiDummyViewport_contextualColors(swigCPtr),false); /*createInt 3_2*/
174
176 return ret;
177}
178
179}
180
181}
static global::System.Exception Retrieve()
static global::System.IntPtr TempOdGiDummyViewport_getWorldToEyeTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr TempOdGiDummyViewport_getEyeToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr TempOdGiDummyViewport_getModelToEyeTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr TempOdGiDummyViewport_getCameraTarget(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool TempOdGiDummyViewport_layerVisible(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiDummyViewport_getViewportDcCorners(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool TempOdGiDummyViewport_getFrontAndBackClipValues(global::System.Runtime.InteropServices.HandleRef jarg1, out bool jarg2, out bool jarg3, out double jarg4, out double jarg5)
static IntPtr TempOdGiDummyViewport_contextualColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static double TempOdGiDummyViewport_linetypeScaleMultiplier(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr deletePD_TempOdGiDummyViewport(HandleRef jarg1)
static void TempOdGiDummyViewport_getNumPixelsInUnitSquare__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static Int16 TempOdGiDummyViewport_acadWindowId(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr TempOdGiDummyViewport_getEyeToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void TempOdGiDummyViewport_getNumPixelsInUnitSquare__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double TempOdGiDummyViewport_linetypeGenerationCriteria(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool TempOdGiDummyViewport_isPerspective(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr TempOdGiDummyViewport_getCameraUpVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool TempOdGiDummyViewport_doPerspective(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr TempOdGiDummyViewport_getCameraLocation(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool TempOdGiDummyViewport_doInversePerspective(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 TempOdGiDummyViewport_viewportId(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr TempOdGiDummyViewport_viewDir(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
virtual void getNumPixelsInUnitSquare(OdGePoint3d givenWorldpt, OdGePoint2d pixelArea)
virtual OdGeMatrix3d getEyeToModelTransform()
virtual bool doInversePerspective(OdGePoint3d arg0)
virtual bool getFrontAndBackClipValues(out bool clip_front, out bool clip_back, out double front, out double back)
virtual OdGeMatrix3d getEyeToWorldTransform()
virtual OdGiContextualColors contextualColors()
TempOdGiDummyViewport(IntPtr cPtr, bool cMemoryOwn)
virtual bool doPerspective(OdGePoint3d p)
virtual void getViewportDcCorners(OdGePoint2d lower_left, OdGePoint2d upper_right)
virtual bool layerVisible(OdDbStub idLayer)
virtual void getNumPixelsInUnitSquare(OdGePoint3d givenWorldpt, OdGePoint2d pixelArea, bool bUsePerspective)
virtual OdGeMatrix3d getWorldToEyeTransform()
virtual void Dispose(bool disposing)
static HandleRef getCPtr(TempOdGiDummyViewport obj)
virtual OdGeMatrix3d getModelToEyeTransform()