Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsPropertiesDirectRenderOutput.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 OdGsPropertiesDirectRenderOutput : 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 OdGsPropertiesDirectRenderOutput(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(OdGsPropertiesDirectRenderOutput 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;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public class DirectRenderImageUV : global::System.IDisposable {
52 private Object locker = new Object();
53 private HandleRef swigCPtr;
54 protected bool swigCMemOwn;
55 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
56 public DirectRenderImageUV(IntPtr cPtr, bool cMemoryOwn) {
57 swigCMemOwn = cMemoryOwn;
58 swigCPtr = new HandleRef(this, cPtr);
59 }
60 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
61 public static HandleRef getCPtr(DirectRenderImageUV obj) {
62 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
63 }
64
66 Dispose(false);
67 }
68
69 public void Dispose() {
70 Dispose(true);
71 global::System.GC.SuppressFinalize(this);
72 }
73
74 protected virtual void Dispose(bool disposing) {
75 lock(this) {
76 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
77 if (swigCMemOwn) {
78 swigCMemOwn = false;
80 }
81 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
82 }
83 }
84 }
85
86 public double u {
87 set {
90 }
91 get {
94 return ret;
95 }
96 }
97
98 public double v {
99 set {
102 }
103 get {
106 return ret;
107 }
108 }
109
110 public DirectRenderImageUV() : this(GlobalsPINVOKE.new_OdGsPropertiesDirectRenderOutput_DirectRenderImageUV(), true) {
112 }
113
114 }
115
116 public class DirectRenderImageParams : global::System.IDisposable {
117 private Object locker = new Object();
118 private HandleRef swigCPtr;
119 protected bool swigCMemOwn;
120 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
121 public DirectRenderImageParams(IntPtr cPtr, bool cMemoryOwn) {
122 swigCMemOwn = cMemoryOwn;
123 swigCPtr = new HandleRef(this, cPtr);
124 }
125 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
126 public static HandleRef getCPtr(DirectRenderImageParams obj) {
127 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
128 }
129
131 Dispose(false);
132 }
133
134 public void Dispose() {
135 Dispose(true);
136 global::System.GC.SuppressFinalize(this);
137 }
138
139 protected virtual void Dispose(bool disposing) {
140 lock(this) {
141 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
142 if (swigCMemOwn) {
143 swigCMemOwn = false;
145 }
146 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
147 }
148 }
149 }
150
152 set {
155 }
156 get {
158 OdGsPropertiesDirectRenderOutput.DirectRenderImageUV ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGsPropertiesDirectRenderOutput.DirectRenderImageUV(cPtr, false);
160 return ret;
161 }
162 }
163
165 set {
168 }
169 get {
171 OdGiDrawable ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiDrawable(cPtr, false);
173 return ret;
174 }
175 }
176
177 public DirectRenderImageParams() : this(GlobalsPINVOKE.new_OdGsPropertiesDirectRenderOutput_DirectRenderImageParams(), true) {
179 }
180
181 }
182
183 public virtual void directRenderOutputPoint(OdGePoint3d arg0, OdCmEntityColor arg1) {
186 }
187
191 }
192
196 }
197
201 }
202
206 }
207
208 public virtual void directRenderOutputPolygoneFlat(UInt32 /*SIMPLETYPE*/ arg0, OdGePoint3d arg1, OdCmEntityColor arg2) {
211 }
212
213 public virtual void directRenderOutputPolygoneGouraud(UInt32 /*SIMPLETYPE*/ arg0, OdGePoint3d arg1, OdCmEntityColor arg2) {
216 }
217
221 }
222
223 public virtual UInt32 directRenderOutputFlags() {
224// test csout
225 /*SIMPLETYPE*/
228 return ret;
229 }
230
231 public enum DirectRenderFlags {
233 DirectRender_LineFlat = (1 << 1),
234 DirectRender_LineGouraud = (1 << 2),
235 DirectRender_TriangleFlat = (1 << 3),
237 DirectRender_PolygoneFlat = (1 << 5),
239 DirectRender_Image = (1 << 7)
240 }
241
242}
243
244}
static global::System.Exception Retrieve()
static double OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_u_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_u_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputLineFlat(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputImage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void delete_OdGsPropertiesDirectRenderOutput_DirectRenderImageUV(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputTriangleFlat(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static double OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_v_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputTriangleGouraud(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static void delete_OdGsPropertiesDirectRenderOutput(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageUV_v_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputLineGouraud(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputPolygoneGouraud(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_uvCoords_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_pDrawable_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_uvCoords_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 OdGsPropertiesDirectRenderOutput_directRenderOutputFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGsPropertiesDirectRenderOutput_DirectRenderImageParams(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputPolygoneFlat(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGsPropertiesDirectRenderOutput_directRenderOutputPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGsPropertiesDirectRenderOutput_DirectRenderImageParams_pDrawable_set(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdGiRasterImage obj)
virtual void directRenderOutputImage(OdGePoint3d arg0, OdGiRasterImage arg1, OdGsPropertiesDirectRenderOutput.DirectRenderImageParams arg2)
virtual void directRenderOutputPoint(OdGePoint3d arg0, OdCmEntityColor arg1)
static HandleRef getCPtr(OdGsPropertiesDirectRenderOutput obj)
virtual void directRenderOutputTriangleFlat(OdGePoint3d arg0, OdGePoint3d arg1, OdGePoint3d arg2, OdCmEntityColor arg3)
virtual void directRenderOutputTriangleGouraud(OdGePoint3d arg0, OdGePoint3d arg1, OdGePoint3d arg2, OdCmEntityColor arg3, OdCmEntityColor arg4, OdCmEntityColor arg5)
virtual void directRenderOutputLineGouraud(OdGePoint3d arg0, OdGePoint3d arg1, OdCmEntityColor arg2, OdCmEntityColor arg3)
virtual void directRenderOutputPolygoneGouraud(UInt32 arg0, OdGePoint3d arg1, OdCmEntityColor arg2)
virtual void directRenderOutputLineFlat(OdGePoint3d arg0, OdGePoint3d arg1, OdCmEntityColor arg2)
virtual void directRenderOutputPolygoneFlat(UInt32 arg0, OdGePoint3d arg1, OdCmEntityColor arg2)