Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgMaterialMap.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 OdDgMaterialMap : 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 OdDgMaterialMap(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(OdDgMaterialMap 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 OdDgMaterialMap() : this(TG_DbPINVOKE.new_OdDgMaterialMap(), true) {
54 }
55
56 public void getGiMaterialMap(OdGiMaterialMap matMap) {
59 }
60
61 public void setGiMaterialMap(OdGiMaterialMap matMap, bool bUpdateMappingType) {
64 }
65
66 public void setGiMaterialMap(OdGiMaterialMap matMap) {
69 }
70
74 return ret;
75 }
76
78 TG_DbPINVOKE.OdDgMaterialMap_setMappingType(swigCPtr, (int)uType);
80 }
81
85 return ret;
86 }
87
91 }
92
93 public bool getCappedCylinderFlag() {
96 return ret;
97 }
98
99 public void setCappedCylinderFlag(bool bSet) {
102 }
103
104 public bool getTransparentBgFlag() {
107 return ret;
108 }
109
110 public void setTransparentBgFlag(bool bSet) {
113 }
114
115 public bool getInvertBumpMapFlag() {
118 return ret;
119 }
120
121 public void setInvertBumpMapFlag(bool bSet) {
124 }
125
129 return ret;
130 }
131
135 }
136
140 return ret;
141 }
142
143 public void setRotationAngleForDirectionDrapeMap(double dAngle) {
146 }
147
148 public bool IsEqual(OdDgMaterialMap other) {
149 bool ret = TG_DbPINVOKE.OdDgMaterialMap_IsEqual(swigCPtr, OdDgMaterialMap.getCPtr(other));
151 return ret;
152 }
153
154 public bool IsNotEqual(OdDgMaterialMap other) {
157 return ret;
158 }
159
160 public enum MappingType {
161 kParametric = 0,
162 kElevationDrape = 1,
163 kPlanar = 2,
165 kCubic = 4,
166 kSpherical = 5,
167 kCylindrical = 6
168 }
169
170 public enum ScaleMode {
171 kSurfaceMode = 0,
172 kMasterUnitMode = 1,
173 kSubUnitMode = 2,
174 kMetersMode = 3,
176 kFeetMode = 5,
177 kInchesMode = 6
178 }
179
180}
181
182}
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiMaterialMap obj)
void setGiMaterialMap(OdGiMaterialMap matMap)
bool IsEqual(OdDgMaterialMap other)
OdGeVector3d getDirectionForDirectionDrapeMap()
void setTransparentBgFlag(bool bSet)
void setDirectionForDirectionDrapeMap(OdGeVector3d vrDirection)
OdDgMaterialMap.ScaleMode getTextureScaleMode()
OdDgMaterialMap.MappingType getMappingType()
bool IsNotEqual(OdDgMaterialMap other)
static HandleRef getCPtr(OdDgMaterialMap obj)
void setInvertBumpMapFlag(bool bSet)
void setRotationAngleForDirectionDrapeMap(double dAngle)
void getGiMaterialMap(OdGiMaterialMap matMap)
void setMappingType(OdDgMaterialMap.MappingType uType)
void setTextureScaleMode(OdDgMaterialMap.ScaleMode uMode)
virtual void Dispose(bool disposing)
void setGiMaterialMap(OdGiMaterialMap matMap, bool bUpdateMappingType)
OdDgMaterialMap(IntPtr cPtr, bool cMemoryOwn)
void setCappedCylinderFlag(bool bSet)
double getRotationAngleForDirectionDrapeMap()
static global::System.Exception Retrieve()
static void delete_OdDgMaterialMap(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMaterialMap_setTransparentBgFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgMaterialMap_getInvertBumpMapFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgMaterialMap_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgMaterialMap_setGiMaterialMap__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static double OdDgMaterialMap_getRotationAngleForDirectionDrapeMap(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMaterialMap_setInvertBumpMapFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgMaterialMap_getGiMaterialMap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDgMaterialMap_getMappingType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMaterialMap_setMappingType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgMaterialMap_setRotationAngleForDirectionDrapeMap(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgMaterialMap_setGiMaterialMap__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgMaterialMap_getTransparentBgFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgMaterialMap_getDirectionForDirectionDrapeMap(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMaterialMap_setTextureScaleMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdDgMaterialMap_getCappedCylinderFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgMaterialMap_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgMaterialMap_setCappedCylinderFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdDgMaterialMap_getTextureScaleMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMaterialMap_setDirectionForDirectionDrapeMap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)