Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGsBaseModelReactor.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGsBaseModelReactor(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGsBaseModelReactor_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGsBaseModelReactor obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public virtual bool onHighlight(OdGsModel pModel, OdGiPathNode path, bool bDoIt, out UInt32 /*SIMPLETYPE*/ nStyle, OdGsView pView) {
43 bool ret = GlobalsPINVOKE.OdGsBaseModelReactor_onHighlight__SWIG_0(swigCPtr, OdGsModel.getCPtr(pModel), OdGiPathNode.getCPtr(path), bDoIt, out nStyle, OdGsView.getCPtr(pView));
45 return ret;
46 }
47
48 public virtual bool onHighlight(OdGsModel pModel, OdGiPathNode path, IntPtr[] /*SIMPLE_ARRAY*/ pMarkers, UInt32 /*SIMPLETYPE*/ nMarkers, bool bDoIt, out UInt32 /*SIMPLETYPE*/ nStyle, OdGsView pView) {
49 bool ret = GlobalsPINVOKE.OdGsBaseModelReactor_onHighlight__SWIG_1(swigCPtr, OdGsModel.getCPtr(pModel), OdGiPathNode.getCPtr(path), Teigha.Core.Helpers.MarshalIntPtrFixedArray(pMarkers), nMarkers /*SIMPLETYPE*/, bDoIt, out nStyle, OdGsView.getCPtr(pView));
51 return ret;
52 }
53
54 public virtual bool onInvalidate(OdGsModel pModel, OdGsModel.InvalidationHint hint) {
55 bool ret = GlobalsPINVOKE.OdGsBaseModelReactor_onInvalidate__SWIG_0(swigCPtr, OdGsModel.getCPtr(pModel), (int)hint);
57 return ret;
58 }
59
60 public virtual bool onInvalidate(OdGsModel pModel, OdGsView pView) {
63 return ret;
64 }
65
66 public virtual bool onHide(OdGsModel pModel, OdGsNode pNode, out bool bHidden, out bool bSelectable, OdGsView pView) {
67 bool ret = GlobalsPINVOKE.OdGsBaseModelReactor_onHide__SWIG_0(swigCPtr, OdGsModel.getCPtr(pModel), OdGsNode.getCPtr(pNode), out bHidden, out bSelectable, OdGsView.getCPtr(pView));
69 return ret;
70 }
71
72 public virtual bool onHide(OdGsModel pModel, OdGiPathNode path, IntPtr[] /*SIMPLE_ARRAY*/ pMarkers, UInt32 /*SIMPLETYPE*/ nMarkers, out bool bHidden, out bool bSelectable, OdGsView pView) {
73 bool ret = GlobalsPINVOKE.OdGsBaseModelReactor_onHide__SWIG_1(swigCPtr, OdGsModel.getCPtr(pModel), OdGiPathNode.getCPtr(path), Teigha.Core.Helpers.MarshalIntPtrFixedArray(pMarkers), nMarkers /*SIMPLETYPE*/, out bHidden, out bSelectable, OdGsView.getCPtr(pView));
75 return ret;
76 }
77
79 bool ret = GlobalsPINVOKE.OdGsBaseModelReactor_onPropertyModified(swigCPtr, OdGsModel.getCPtr(pModel), (int)nProp);
81 return ret;
82 }
83
84 public OdGsBaseModelReactor() : this(GlobalsPINVOKE.new_OdGsBaseModelReactor(), true) {
86 }
87
88 public enum ModelProperty {
95 }
96
97}
98
99}
static global::System.Exception Retrieve()
static bool OdGsBaseModelReactor_onHighlight__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, IntPtr jarg4, UInt32 jarg5, bool jarg6, out UInt32 jarg7, HandleRef jarg8)
static bool OdGsBaseModelReactor_onInvalidate__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static bool OdGsBaseModelReactor_onInvalidate__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, int jarg3)
static bool OdGsBaseModelReactor_onHide__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, IntPtr jarg4, UInt32 jarg5, out bool jarg6, out bool jarg7, HandleRef jarg8)
static bool OdGsBaseModelReactor_onPropertyModified(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, int jarg3)
static bool OdGsBaseModelReactor_onHighlight__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4, out UInt32 jarg5, HandleRef jarg6)
static bool OdGsBaseModelReactor_onHide__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, out bool jarg4, out bool jarg5, HandleRef jarg6)
static void delete_OdGsBaseModelReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGiPathNode obj)
Definition: OdGiPathNode.cs:26
override void Dispose(bool disposing)
virtual bool onHide(OdGsModel pModel, OdGiPathNode path, IntPtr[] pMarkers, UInt32 nMarkers, out bool bHidden, out bool bSelectable, OdGsView pView)
OdGsBaseModelReactor(IntPtr cPtr, bool cMemoryOwn)
virtual bool onInvalidate(OdGsModel pModel, OdGsView pView)
virtual bool onHighlight(OdGsModel pModel, OdGiPathNode path, bool bDoIt, out UInt32 nStyle, OdGsView pView)
virtual bool onInvalidate(OdGsModel pModel, OdGsModel.InvalidationHint hint)
virtual bool onHide(OdGsModel pModel, OdGsNode pNode, out bool bHidden, out bool bSelectable, OdGsView pView)
virtual bool onPropertyModified(OdGsModel pModel, OdGsBaseModelReactor.ModelProperty nProp)
virtual bool onHighlight(OdGsModel pModel, OdGiPathNode path, IntPtr[] pMarkers, UInt32 nMarkers, bool bDoIt, out UInt32 nStyle, OdGsView pView)
static HandleRef getCPtr(OdGsBaseModelReactor obj)
static HandleRef getCPtr(OdGsModel obj)
Definition: OdGsModel.cs:25
static HandleRef getCPtr(OdGsNode obj)
Definition: OdGsNode.cs:25
static HandleRef getCPtr(OdGsView obj)
Definition: OdGsView.cs:25