14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
201 if (ret_ptr == IntPtr.Zero)
203 int arrayLength = 257;
204 Int32[] ret_tmp_result =
new Int32[arrayLength];
205 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
207 UInt32[] result =
Array.ConvertAll<Int32,UInt32>(ret_tmp_result,
new Converter<Int32, UInt32>((in_value) => {
return (UInt32)in_value; }));
214 if (ret_ptr == IntPtr.Zero)
216 int arrayLength = 257;
217 Int32[] ret_tmp_result =
new Int32[arrayLength];
218 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
220 UInt32[] result =
Array.ConvertAll<Int32,UInt32>(ret_tmp_result,
new Converter<Int32, UInt32>((in_value) => {
return (UInt32)in_value; }));
372 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new OdDbStub(cPtr,
false);
402 public virtual void shell(ShellData numVertices) {
403IntPtr p_numVertices=
Teigha.
Core.Helpers.MarshalShellData(numVertices);
408Marshal.FreeCoTaskMem(p_numVertices);
412 public virtual void mesh(MeshData numRows) {
413IntPtr p_numRows=
Teigha.
Core.Helpers.MarshalMeshData(numRows);
418Marshal.FreeCoTaskMem(p_numRows);
455 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new OdDbStub(cPtr,
false);
484 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new OdDbStub(cPtr,
false);
static global::System.Exception Retrieve()
static bool OdGiBaseVectorizerImpl_hasLineweightOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_pushPaletteOverride(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static Int16 OdGiBaseVectorizerImpl_acadWindowId(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getEyeToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiBaseVectorizerImpl_contextualColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_setVectorizingFlags(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGiBaseVectorizerImpl_doInversePerspective(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 OdGiBaseVectorizerImpl_paletteColor__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static int OdGiBaseVectorizerImpl_regenType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_setUp(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdGiBaseVectorizerImpl_hasPaletteOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiBaseVectorizerImpl_sequenceNumber(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiBaseVectorizerImpl_getPalette__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_viewportObjectId(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_ray(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiBaseVectorizerImpl_setFillPlane__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiBaseVectorizerImpl_getPalette__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, Int32 jarg2)
static void OdGiBaseVectorizerImpl_setModelSection(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static global::System.IntPtr OdGiBaseVectorizerImpl_effectivePlotStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_worldToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_getFrontAndBackClipValues(global::System.Runtime.InteropServices.HandleRef jarg1, out bool jarg2, out bool jarg3, out double jarg4, out double jarg5)
static void OdGiBaseVectorizerImpl_setLinetypesEnabled(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdGiBaseVectorizerImpl_shell(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdGiBaseVectorizerImpl_setFillType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static double OdGiBaseVectorizerImpl_deviation(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdGiBaseVectorizerImpl_viewport(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_doPerspective(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGiBaseVectorizerImpl_linetypeGenerationCriteria(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_layerVisible(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiBaseVectorizerImpl_mesh(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGiBaseVectorizerImpl_visualStyle(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_isValidId(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static bool OdGiBaseVectorizerImpl_isLinetypesEnabled(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiBaseVectorizerImpl_lineweightToPixels__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool OdGiBaseVectorizerImpl_isViewSectioningSkipped(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiBaseVectorizerImpl_viewportId(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_hasLinestyleOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_popModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getEyeToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getCameraUpVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_getViewportDcCorners(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGiBaseVectorizerImpl_hasPaletteOverrides(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_viewDir(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getModelToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiBaseVectorizerImpl_vectorizingFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiBaseVectorizerImpl_giViewport(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_setSkipViewSectioning(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr OdGiBaseVectorizerImpl_effectiveTraits(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_popLineweightOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiBaseVectorizerImpl_paletteColor__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2)
static void OdGiBaseVectorizerImpl_getNumPixelsInUnitSquare__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static global::System.IntPtr OdGiBaseVectorizerImpl_getModelToEyeTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getWorldToEyeTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_modelToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_clearLinetypeCache(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_setFillPlane__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiBaseVectorizerImpl_setExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiBaseVectorizerImpl_resetAwareFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getCameraTarget(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getWorldToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdGiBaseVectorizerImpl_annotationScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdGiBaseVectorizerImpl_gsView(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_onTraitsModified(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_xline(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGiBaseVectorizerImpl_currentLineweightOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_endViewVectorization(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiBaseVectorizerImpl_setupForEntity(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_pushLineweightOverride(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiBaseVectorizerImpl_beginViewVectorization(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGiBaseVectorizerImpl_awareFlags__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiBaseVectorizerImpl(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_pushModelTransform__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdGiBaseVectorizerImpl_linetypeScaleMultiplier(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_annotationScaleId(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_isPerspective(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiBaseVectorizerImpl_getRenderMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGiBaseVectorizerImpl_isMultiplyLineStyleScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_getNumPixelsInUnitSquare__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static double OdGiBaseVectorizerImpl_lineweightToPixels__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static IntPtr OdGiBaseVectorizerImpl_view(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_popPaletteOverride(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_getCameraLocation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiBaseVectorizerImpl_objectToDeviceMatrix(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiBaseVectorizerImpl_pushModelTransform__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdGiBaseVectorizerImpl_liveSection(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdDbStub obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
void shape(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, int shapeNumber, OdGiTextStyle pTextStyle)
new OdGiContext context()
virtual void edge(OdGiEdge2dArray edges)
OdGiDrawable liveSection()
OdPsPlotStyleData effectivePlotStyle()
virtual void xline(OdGePoint3d firstPoint, OdGePoint3d secondPoint)
virtual bool isPerspective()
override OdGiRegenType regenType()
virtual OdGsView gsView()
bool isViewSectioningSkipped()
virtual Teigha.Core.OdGiSubEntityTraits.ShadowFlags vb_shadowFlags()
bool isLinetypesEnabled()
void setModelSection(OdGiDrawable pSection, bool bUseSectionGeometryMap)
virtual OdGePoint3d getCameraLocation()
virtual void setUp(OdGsViewImpl view)
virtual OdDbStub visualStyle()
virtual OdGiViewport viewport()
virtual void getViewportDcCorners(OdGePoint2d lowerLeft, OdGePoint2d upperRight)
virtual OdGeVector3d viewDir()
virtual bool isValidId(UInt32 viewportId)
virtual double linetypeScaleMultiplier()
bool hasLineweightOverride()
virtual bool layerVisible(OdDbStub layerId)
virtual OdGiViewport giViewport()
OdGeMatrix3d worldToModelTransform()
virtual void ray(OdGePoint3d basePoint, OdGePoint3d throughPoint)
virtual void setExtents(OdGePoint3d newExtents)
virtual void getNumPixelsInUnitSquare(OdGePoint3d point, OdGePoint2d pixelDensity, bool includePerspective)
int lineweightToPixels(LineWeight lineweight)
OdGsView.RenderMode getRenderMode()
void setLinetypesEnabled(bool bEnable)
override void endViewVectorization()
virtual Teigha.Core.PlotStyleNameType vb_plotStyleNameType()
virtual OdGeMatrix3d getModelToWorldTransform()
virtual OdGiContextualColors contextualColors()
virtual Int16 acadWindowId()
virtual bool pushLineweightOverride(OdGiLineweightOverride pOverride)
Teigha.Core.OdGiContext vb_context()
OdGiBaseVectorizerImpl(IntPtr cPtr, bool cMemoryOwn)
virtual Teigha.Core.LineWeight vb_lineWeight()
virtual bool pushPaletteOverride(OdGiPalette pOverride)
virtual OdDbStub viewportObjectId()
virtual OdDbStub annotationScaleId()
virtual void getNumPixelsInUnitSquare(OdGePoint3d point, OdGePoint2d pixelDensity)
virtual void vb_mesh(Teigha.Core.MeshData numRows)
virtual OdGeMatrix3d getModelToEyeTransform()
virtual void popLineweightOverride()
bool hasPaletteOverride()
virtual bool doInversePerspective(OdGePoint3d point)
virtual double vb_deviation(Teigha.Core.OdGiDeviationType deviationType, Teigha.Core.OdGePoint3d pointOnCurve)
virtual OdGeMatrix3d getWorldToEyeTransform()
UInt32 paletteColor(UInt16 colorIndex)
static HandleRef getCPtr(OdGiBaseVectorizerImpl obj)
override double annotationScale()
virtual void vb_edge(Teigha.Core.OdGiEdge2dArray edges)
virtual UInt32 viewportId()
virtual Teigha.Core.OdDbStub vb_lineType()
virtual bool getFrontAndBackClipValues(out bool clipFront, out bool clipBack, out double front, out double back)
void setVectorizingFlags(int flags)
virtual UInt32 sequenceNumber()
virtual double linetypeGenerationCriteria()
virtual OdGeMatrix3d objectToDeviceMatrix()
virtual Teigha.Core.OdGiSubEntityTraits.SelectionFlags vb_selectionFlags()
bool isMultiplyLineStyleScale()
virtual bool doPerspective(OdGePoint3d point)
virtual double deviation(OdGiDeviationType deviationType, OdGePoint3d pointOnCurve)
virtual OdGeMatrix3d getEyeToModelTransform()
void setSkipViewSectioning(bool bEnable)
virtual UInt32 setupForEntity()
OdGeMatrix3d modelToWorldTransform()
virtual void popPaletteOverride()
override void beginViewVectorization()
virtual bool hasPaletteOverrides()
virtual OdGeMatrix3d getWorldToModelTransform()
int vb_vectorizingFlags()
virtual OdGeVector3d getCameraUpVector()
virtual OdGeMatrix3d getEyeToWorldTransform()
virtual void setFillPlane(OdGeVector3d pNormal)
double lineweightToPixels(double lineweight)
virtual void setFillType(OdGiFillType fillType)
virtual void popModelTransform()
virtual Teigha.Core.OdGiWorldGeometry vb_geometry()
UInt32 paletteColor(Int16 colorIndex)
virtual void pushModelTransform(OdGeMatrix3d xfm)
virtual void pushModelTransform(OdGeVector3d normal)
virtual uint vb_lockFlags()
override OdGiLineweightOverride currentLineweightOverride()
virtual void mesh(MeshData numRows)
virtual uint vb_drawFlags()
virtual OdGiSubEntityTraitsData effectiveTraits()
virtual void Dispose(bool disposing)
virtual void shell(ShellData numVertices)
void clearLinetypeCache()
bool hasLinestyleOverride()
UInt32[] getPalette(Int32 pNumColors)
void vb_shape(Teigha.Core.OdGePoint3d position, Teigha.Core.OdGeVector3d normal, Teigha.Core.OdGeVector3d direction, int shapeNumber, Teigha.Core.OdGiTextStyle pTextStyle)
virtual OdGePoint3d getCameraTarget()
virtual void onTraitsModified()
virtual Teigha.Core.OdDbStub vb_material()
virtual void setFillPlane()
static HandleRef getCPtr(OdGiDrawable obj)
static HandleRef getCPtr(OdGiLineweightOverride obj)
static HandleRef getCPtr(OdGiPalette obj)
virtual OdGiWorldGeometry geometry()
virtual UInt32 lockFlags()
virtual OdDbStub lineType()
virtual UInt32 drawFlags()
virtual OdGiSubEntityTraits.ShadowFlags shadowFlags()
virtual PlotStyleNameType plotStyleNameType()
virtual OdGiSubEntityTraits.SelectionFlags selectionFlags()
virtual LineWeight lineWeight()
virtual OdGiFillType fillType()
virtual OdDbStub material()
static HandleRef getCPtr(OdGsViewImpl obj)