MrDwgWorldGeometry

Fields

std::map< std::wstring, std::string > *

m_pFontmap

AcDbEntity *

m_pEnt

mTextData *

m_pMText

HC_KEY

m_entitySegment

bool

apply_matrix

std::vector< dwg_matrix >

matrices

int

m_attributePrecisionMode

bool *

m_generatedDouble

Functions

MrDwgWorldGeometry

Adesk::Boolean

pushClipBoundary

void

popClipBoundary

void

setExtents

Adesk::Boolean

circle

Adesk::Boolean

circle

Adesk::Boolean

circularArc

Adesk::Boolean

circularArc

Adesk::Boolean

polyline

Adesk::Boolean

polyline

Adesk::Boolean

polyPolyline

Adesk::Boolean

polygon

Adesk::Boolean

polyPolygon

Adesk::Boolean

mesh

Adesk::Boolean

shell

Adesk::Boolean

text

Adesk::Boolean

text

Adesk::Boolean

xline

Adesk::Boolean

ray

Adesk::Boolean

image

Adesk::Boolean

rowOfDots

Adesk::Boolean

ellipticalArc

Adesk::Boolean

pline

Adesk::Boolean

edge

Adesk::Boolean

draw

AcGeMatrix3d

pushPositionTransform

AcGeMatrix3d

pushPositionTransform

AcGeMatrix3d

pushScaleTransform

AcGeMatrix3d

pushScaleTransform

AcGeMatrix3d

pushOrientationTransform

void

getModelToWorldTransform

void

getWorldToModelTransform

Adesk::Boolean

pushModelTransform

Adesk::Boolean

pushModelTransform

Adesk::Boolean

popModelTransform

bool

isCurrentEntityUnknown

void

setupMatrixSegment

void

cleanupMatrixSegment

Detailed Description

class MrDwgWorldGeometry : public AcGiWorldGeometry, public MrDwgGeometry

Public Functions

MrDwgWorldGeometry(AcDbEntity *pEnt, std::map<std::wstring, std::string> *fontmap, mTextData *mtext, HC_KEY entitySegment, int attributePrecisionMode, bool *generatedDouble)
Adesk::Boolean pushClipBoundary(AcGiClipBoundary *pBoundary)
void popClipBoundary()
void setExtents(AcGePoint3d *pNewExtents) const
Adesk::Boolean circle(AcGePoint3d const &center, double const radius, AcGeVector3d const &normal) const
Adesk::Boolean circle(AcGePoint3d const &pt1, AcGePoint3d const &pt2, AcGePoint3d const &pt3) const
Adesk::Boolean circularArc(AcGePoint3d const &center, double const radius, AcGeVector3d const &normal, AcGeVector3d const &startVector, double const sweepAngle, const AcGiArcType arcType = kAcGiArcSimple) const
Adesk::Boolean circularArc(AcGePoint3d const &start, AcGePoint3d const &point, AcGePoint3d const &end, const AcGiArcType arcType = kAcGiArcSimple) const
Adesk::Boolean polyline(const Adesk::UInt32 nbPoints, AcGePoint3d const *pVertexList, AcGeVector3d const *pNormal = NULL, Adesk::LongPtr lBaseSubEntMarker = -1) const
Adesk::Boolean polyline(AcGiPolyline const &polyline) const
Adesk::Boolean polyPolyline(Adesk::UInt32 nbPolylines, AcGiPolyline const *pPolylines) const
Adesk::Boolean polygon(const Adesk::UInt32 nbPoints, AcGePoint3d const *pVertexList) const
Adesk::Boolean polyPolygon(const Adesk::UInt32 numPolygonIndices, Adesk::UInt32 const *numPolygonPositions, AcGePoint3d const *polygonPositions, Adesk::UInt32 const *numPolygonPoints, AcGePoint3d const *polygonPoints, AcCmEntityColor const *outlineColors = NULL, AcGiLineType const *outlineTypes = NULL, AcCmEntityColor const *fillColors = NULL, AcCmTransparency const *fillOpacities = NULL) const
Adesk::Boolean mesh(const Adesk::UInt32 rows, const Adesk::UInt32 columns, AcGePoint3d const *pVertexList, AcGiEdgeData const *pEdgeData, AcGiFaceData const *pFaceData, AcGiVertexData const *pVertexData = NULL, bool const bAutoGenerateNormals = true) const
Adesk::Boolean shell(const Adesk::UInt32 nbVertex, AcGePoint3d const *pVertexList, const Adesk::UInt32 faceListSize, Adesk::Int32 const *pFaceList, AcGiEdgeData const *pEdgeData, AcGiFaceData const *pFaceData, AcGiVertexData const *pVertexData = NULL, const struct resbuf *pResBuf = NULL, bool const bAutoGenerateNormals = true) const
Adesk::Boolean text(AcGePoint3d const &position, AcGeVector3d const &normal, AcGeVector3d const &direction, double const height, double const width, double const oblique, const ACHAR *pMsg) const
Adesk::Boolean text(AcGePoint3d const &position, AcGeVector3d const &normal, AcGeVector3d const &direction, const ACHAR *pMsg, const Adesk::Int32 length, const Adesk::Boolean raw, AcGiTextStyle const &pTextStyle) const
Adesk::Boolean xline(AcGePoint3d const &one_xline_point, AcGePoint3d const &a_different_xline_point) const
Adesk::Boolean ray(AcGePoint3d const &rays_starting_point, AcGePoint3d const &a_different_ray_point) const
Adesk::Boolean image(AcGiImageBGRA32 const &imageSource, AcGePoint3d const &position, AcGeVector3d const &u, AcGeVector3d const &v, TransparencyMode transparencyMode = kTransparency8Bit) const
Adesk::Boolean rowOfDots(int count, AcGePoint3d const &start, AcGeVector3d const &step) const
Adesk::Boolean ellipticalArc(AcGePoint3d const &center, AcGeVector3d const &normal, double majorAxisLength, double minorAxisLength, double startDegreeInRads, double endDegreeInRads, double tiltDegreeInRads, AcGiArcType arcType) const
Adesk::Boolean pline(AcDbPolyline const &lwBuf, Adesk::UInt32 fromIndex, Adesk::UInt32 numSegs) const
Adesk::Boolean edge(AcArray<AcGeCurve2d*> const&) const
Adesk::Boolean draw(AcGiDrawable*) const
AcGeMatrix3d pushPositionTransform(AcGiPositionTransformBehavior behavior, AcGePoint3d const &offset)
AcGeMatrix3d pushPositionTransform(AcGiPositionTransformBehavior behavior, AcGePoint2d const &offset)
AcGeMatrix3d pushScaleTransform(AcGiScaleTransformBehavior behavior, AcGePoint3d const &extents)
AcGeMatrix3d pushScaleTransform(AcGiScaleTransformBehavior behavior, AcGePoint2d const &extents)
AcGeMatrix3d pushOrientationTransform(AcGiOrientationTransformBehavior behavior)
void getModelToWorldTransform(AcGeMatrix3d &pMatrix) const
void getWorldToModelTransform(AcGeMatrix3d &pMatrix) const
Adesk::Boolean pushModelTransform(AcGeVector3d const &vNormal)
Adesk::Boolean pushModelTransform(AcGeMatrix3d const &xMat)
Adesk::Boolean popModelTransform()
bool isCurrentEntityUnknown()
void setupMatrixSegment() const
void cleanupMatrixSegment() const

Public Members

std::map<std::wstring, std::string> *m_pFontmap
AcDbEntity *m_pEnt
mTextData *m_pMText
HC_KEY m_entitySegment
mutable bool apply_matrix
std::vector<dwg_matrix> matrices
int m_attributePrecisionMode
bool *m_generatedDouble