Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgEnvMapImage.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
17public class OdDgEnvMapImage : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdDgEnvMapImage(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(OdDgEnvMapImage 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 public OdDgEnvMapImage() : this(TG_DbPINVOKE.new_OdDgEnvMapImage(), true) {
54 }
55
59 return ret;
60 }
61
65 }
66
67 public bool getMirrorFlag() {
70 return ret;
71 }
72
73 public void setMirrorFlag(bool bSet) {
76 }
77
81 return ret;
82 }
83
84 public void setAutoCorrectionGammaFlag(bool bSet) {
87 }
88
89 public bool getUseAntialiasingFlag() {
92 return ret;
93 }
94
95 public void setUseAntialiasingFlag(bool bSet) {
98 }
99
103 return ret;
104 }
105
107 TG_DbPINVOKE.OdDgEnvMapImage_setFilterType(swigCPtr, (int)uType);
109 }
110
111 public double getGamma() {
112 double ret = TG_DbPINVOKE.OdDgEnvMapImage_getGamma(swigCPtr);
114 return ret;
115 }
116
117 public void setGamma(double dGamma) {
118 TG_DbPINVOKE.OdDgEnvMapImage_setGamma(swigCPtr, dGamma);
120 }
121
122 public double getAntialiasingStrength() {
125 return ret;
126 }
127
128 public void setAntialiasingStrength(double dValue) {
131 }
132
134 string ret = TG_DbPINVOKE.OdDgEnvMapImage_getImageFileName(swigCPtr);
136 return ret;
137}
138
139 public void setImageFileName(String strFileName) {
140 TG_DbPINVOKE.OdDgEnvMapImage_setImageFileName(swigCPtr, strFileName);
142 }
143
147 return ret;
148 }
149
150 public void setOrigin(OdGePoint3d ptOrigin) {
153 }
154
158 return ret;
159 }
160
161 public void setRotation(OdGeVector3d vrRotation) {
164 }
165
169 return ret;
170 }
171
172 public void setScale(OdGeVector3d vrScale) {
175 }
176
178 kPlanar = 2,
179 kCylindrical = 3,
180 kSpherical = 4,
181 kCubic = 5,
182 kFront = 6,
183 kLightProbe = 8
184 }
185
187 kNearest = 0,
188 kBilinear = 1,
189 kBicubic = 2
190 }
191
192}
193
194}
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
OdDgEnvMapImage(IntPtr cPtr, bool cMemoryOwn)
void setFilterType(OdDgEnvMapImage.OdDgEnvMapFilterType uType)
OdDgEnvMapImage.OdDgEnvMapFilterType getFilterType()
void setUseAntialiasingFlag(bool bSet)
OdDgEnvMapImage.OdDgEnvMapProjectionType getProjectionType()
void setRotation(OdGeVector3d vrRotation)
void setAntialiasingStrength(double dValue)
static HandleRef getCPtr(OdDgEnvMapImage obj)
void setProjectionType(OdDgEnvMapImage.OdDgEnvMapProjectionType uType)
void setMirrorFlag(bool bSet)
virtual void Dispose(bool disposing)
void setGamma(double dGamma)
void setScale(OdGeVector3d vrScale)
void setImageFileName(String strFileName)
void setOrigin(OdGePoint3d ptOrigin)
void setAutoCorrectionGammaFlag(bool bSet)
static global::System.Exception Retrieve()
static void OdDgEnvMapImage_setAntialiasingStrength(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void delete_OdDgEnvMapImage(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgEnvMapImage_getProjectionType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapImage_setFilterType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdDgEnvMapImage_getRotation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapImage_setGamma(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgEnvMapImage_setRotation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgEnvMapImage_setUseAntialiasingFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static String OdDgEnvMapImage_getImageFileName(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgEnvMapImage_getAutoCorrectionGammaFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgEnvMapImage_getUseAntialiasingFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapImage_setProjectionType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgEnvMapImage_setAutoCorrectionGammaFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgEnvMapImage_setScale(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgEnvMapImage_getFilterType(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgEnvMapImage_getMirrorFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapImage_setMirrorFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdDgEnvMapImage_getAntialiasingStrength(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapImage_setOrigin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDgEnvMapImage_getGamma(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgEnvMapImage_getScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgEnvMapImage_getOrigin(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgEnvMapImage_setImageFileName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)