Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiFaceDataTraitsSaver.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 OdGiFaceDataTraitsSaver : 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 OdGiFaceDataTraitsSaver(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(OdGiFaceDataTraitsSaver 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 OdGiFaceDataTraitsSaver(OdGiFaceData pFaceData, OdGiSubEntityTraits pTraits, OdGiConveyorContext pDrawCtx, OdGsView.RenderMode renderMode, bool bForEdge, bool ignoreFaceVisibilities) : this(GlobalsPINVOKE.new_OdGiFaceDataTraitsSaver__SWIG_0(OdGiFaceData.getCPtr(pFaceData), OdGiSubEntityTraits.getCPtr(pTraits), pDrawCtx.GetInterfaceCPtr(), (int)renderMode, bForEdge, ignoreFaceVisibilities), true) {
53 }
54
55 public OdGiFaceDataTraitsSaver(OdGiFaceData pFaceData, OdGiSubEntityTraits pTraits, OdGiConveyorContext pDrawCtx, OdGsView.RenderMode renderMode, bool bForEdge) : this(GlobalsPINVOKE.new_OdGiFaceDataTraitsSaver__SWIG_1(OdGiFaceData.getCPtr(pFaceData), OdGiSubEntityTraits.getCPtr(pTraits), pDrawCtx.GetInterfaceCPtr(), (int)renderMode, bForEdge), true) {
57 }
58
59 public OdGiFaceDataTraitsSaver(OdGiFaceData pFaceData, OdGiSubEntityTraits pTraits, OdGiConveyorContext pDrawCtx, OdGsView.RenderMode renderMode) : this(GlobalsPINVOKE.new_OdGiFaceDataTraitsSaver__SWIG_2(OdGiFaceData.getCPtr(pFaceData), OdGiSubEntityTraits.getCPtr(pTraits), pDrawCtx.GetInterfaceCPtr(), (int)renderMode), true) {
61 }
62
63 public bool onExit() {
66 return ret;
67 }
68
69 public bool needExit() {
72 return ret;
73 }
74
75 public bool setFaceTraits(int faceIndex) {
76 bool ret = GlobalsPINVOKE.OdGiFaceDataTraitsSaver_setFaceTraits(swigCPtr, faceIndex);
78 return ret;
79 }
80
81 public bool hasData() {
84 return ret;
85 }
86
87}
88
89}
static global::System.Exception Retrieve()
static void delete_OdGiFaceDataTraitsSaver(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceDataTraitsSaver_onExit(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceDataTraitsSaver_setFaceTraits(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGiFaceDataTraitsSaver_hasData(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiFaceDataTraitsSaver_needExit(global::System.Runtime.InteropServices.HandleRef jarg1)
OdGiFaceDataTraitsSaver(OdGiFaceData pFaceData, OdGiSubEntityTraits pTraits, OdGiConveyorContext pDrawCtx, OdGsView.RenderMode renderMode, bool bForEdge)
OdGiFaceDataTraitsSaver(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdGiFaceDataTraitsSaver obj)
virtual void Dispose(bool disposing)
OdGiFaceDataTraitsSaver(OdGiFaceData pFaceData, OdGiSubEntityTraits pTraits, OdGiConveyorContext pDrawCtx, OdGsView.RenderMode renderMode, bool bForEdge, bool ignoreFaceVisibilities)
OdGiFaceDataTraitsSaver(OdGiFaceData pFaceData, OdGiSubEntityTraits pTraits, OdGiConveyorContext pDrawCtx, OdGsView.RenderMode renderMode)