Extended .NET SDK Documentation 2025 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
61
66
72
77
83
88
94
99
105
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
127
132
138
143
149
154
160
165
171
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)
static HandleRef getCPtr(OdGeVector3d obj)
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)