Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgViewAsPerspectiveCamera.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdDgViewAsPerspectiveCamera(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdDgViewAsPerspectiveCamera obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
53 global::System.Runtime.InteropServices.HandleRef OdDgViewAsPerspectiveCameraSwigInterface.GetInterfaceCPtr() {
54 return new global::System.Runtime.InteropServices.HandleRef(this, TG_DbPINVOKE.OdDgViewAsPerspectiveCamera_OdDgViewAsPerspectiveCameraSwigInterface_GetInterfaceCPtr(swigCPtr.Handle));
55 }
56
57 public virtual void getCameraPosition(OdGePoint3d position) {
60 }
61
62 public virtual void setCameraPosition(OdGePoint3d position) {
65 }
66
67 public virtual void getCameraRotation(OdGeMatrix3d rotation) {
70 }
71
72 public virtual void setCameraRotation(OdGeMatrix3d rotation) {
75 }
76
77 public virtual double getCameraFocalLength() {
80 return ret;
81 }
82
83 public virtual void setCameraFocalLength(double length) {
86 }
87
88 public virtual void getCameraVisibleRectangle(OdGeExtents2d extent) {
91 }
92
93 public virtual void setCameraVisibleRectangle(OdGeExtents2d extent) {
96 }
97
98 public virtual double getCameraFrontClippingDistance() {
101 return ret;
102 }
103
104 public virtual void setCameraFrontClippingDistance(double distance) {
107 }
108
109 public virtual double getCameraBackClippingDistance() {
112 return ret;
113 }
114
115 public virtual void setCameraBackClippingDistance(double distance) {
118 }
119
120 public virtual double getCameraLensAngle() {
123 return ret;
124 }
125
126 public virtual void setCameraLensAngle(double dAngle) {
129 }
130
131}
132
133}
static HandleRef getCPtr(OdGeExtents2d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
virtual void setCameraFrontClippingDistance(double distance)
OdDgViewAsPerspectiveCamera(IntPtr cPtr, bool cMemoryOwn)
virtual void getCameraPosition(OdGePoint3d position)
virtual void getCameraVisibleRectangle(OdGeExtents2d extent)
static HandleRef getCPtr(OdDgViewAsPerspectiveCamera obj)
virtual void setCameraRotation(OdGeMatrix3d rotation)
virtual void setCameraVisibleRectangle(OdGeExtents2d extent)
virtual void setCameraPosition(OdGePoint3d position)
virtual void setCameraBackClippingDistance(double distance)
virtual void getCameraRotation(OdGeMatrix3d rotation)
static global::System.Exception Retrieve()
static double OdDgViewAsPerspectiveCamera_getCameraFocalLength(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgViewAsPerspectiveCamera_getCameraFrontClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgViewAsPerspectiveCamera_getCameraRotation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDgViewAsPerspectiveCamera_getCameraBackClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDgViewAsPerspectiveCamera(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgViewAsPerspectiveCamera_getCameraVisibleRectangle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDgViewAsPerspectiveCamera_OdDgViewAsPerspectiveCameraSwigInterface_GetInterfaceCPtr(global::System.IntPtr jarg1)
static void OdDgViewAsPerspectiveCamera_setCameraRotation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgViewAsPerspectiveCamera_getCameraPosition(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdDgViewAsPerspectiveCamera_setCameraFrontClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdDgViewAsPerspectiveCamera_getCameraLensAngle(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgViewAsPerspectiveCamera_setCameraFocalLength(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgViewAsPerspectiveCamera_setCameraLensAngle(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgViewAsPerspectiveCamera_setCameraVisibleRectangle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgViewAsPerspectiveCamera_setCameraPosition(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdDgViewAsPerspectiveCamera_setCameraBackClippingDistance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()