CFx SDK Documentation  2020SP3
GiDummyGeometry.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef _ODGIDUMMYGEOM_INCLUDED_
25 #define _ODGIDUMMYGEOM_INCLUDED_
26 
27 #include "Gi/Gi.h"
28 #include "Gi/GiWorldDraw.h"
29 #include "Gi/GiViewportDraw.h"
31 #include "OdStack.h"
32 #include "StaticRxObject.h"
33 
34 #include "TD_PackPush.h"
35 
41 template <class T> class OdGiWrapperGeometry : public T
42 {
43  OdGiGeometry *m_Geom;
44 protected:
45  void setGeom(OdGiGeometry &Geom) { m_Geom = &Geom; }
46  OdGiGeometry &getGeom() { return *m_Geom; }
47 public:
48  virtual void pline(const OdGiPolyline& p, OdUInt32 i, OdUInt32 n)
49  {
50  m_Geom->pline(p, i, n);
51  }
52 
54  {
55  return m_Geom->getModelToWorldTransform();
56  }
58  {
59  return m_Geom->getWorldToModelTransform();
60  }
61 
62  virtual void pushModelTransform(const OdGeVector3d& vNormal)
63  {
64  m_Geom->pushModelTransform(vNormal);
65  }
66  virtual void pushModelTransform(const OdGeMatrix3d& xMat)
67  {
68  m_Geom->pushModelTransform(xMat);
69  }
70  virtual void popModelTransform()
71  {
72  m_Geom->popModelTransform();
73  }
74 
75  // For drawing various primitives.
76  //
77  virtual void circle(const OdGePoint3d& center, double radius, const OdGeVector3d& normal)
78  {
79  m_Geom->circle(center, radius, normal);
80  }
81 
82  virtual void circle(const OdGePoint3d& p1, const OdGePoint3d& p2, const OdGePoint3d& p3)
83  {
84  m_Geom->circle(p1, p2, p3);
85  }
86 
87  virtual void circularArc(const OdGePoint3d& center,
88  double radius,
89  const OdGeVector3d& normal,
90  const OdGeVector3d& startVector,
91  double sweepAngle,
92  OdGiArcType arcType = kOdGiArcSimple)
93  {
94  m_Geom->circularArc(center, radius, normal, startVector, sweepAngle, arcType);
95  }
96 
97  virtual void circularArc(const OdGePoint3d& start,
98  const OdGePoint3d& point,
99  const OdGePoint3d& end,
100  OdGiArcType arcType = kOdGiArcSimple)
101  {
102  m_Geom->circularArc(start, point, end, arcType);
103  }
104 
105  virtual void polyline(OdInt32 nbPoints,
106  const OdGePoint3d* pVertexList,
107  const OdGeVector3d* pNormal = NULL,
108  OdGsMarker lBaseSubEntMarker = -1)
109  {
110  m_Geom->polyline(nbPoints, pVertexList, pNormal, lBaseSubEntMarker);
111  }
112 
113  virtual void polygon(OdInt32 nbPoints, const OdGePoint3d* pVertexList)
114  {
115  m_Geom->polygon(nbPoints, pVertexList);
116  }
117  virtual void polygon(OdInt32 nbPoints, const OdGePoint3d* pVertexList, const OdGeVector3d* pNormal)
118  {
119  m_Geom->polygon(nbPoints, pVertexList, pNormal);
120  }
121 
122  virtual void mesh(OdInt32 rows,
123  OdInt32 columns,
124  const OdGePoint3d* pVertexList,
125  const OdGiEdgeData* pEdgeData = NULL,
126  const OdGiFaceData* pFaceData = NULL,
127  const OdGiVertexData* pVertexData = NULL)
128  {
129  m_Geom->mesh(rows, columns, pVertexList, pEdgeData, pFaceData, pVertexData);
130  }
131 
132  virtual void shell(OdInt32 nbVertex,
133  const OdGePoint3d* pVertexList,
134  OdInt32 faceListSize,
135  const OdInt32* pFaceList,
136  const OdGiEdgeData* pEdgeData = NULL,
137  const OdGiFaceData* pFaceData = NULL,
138  const OdGiVertexData* pVertexData = NULL)
139  {
140  m_Geom->shell(nbVertex, pVertexList, faceListSize, pFaceList, pEdgeData, pFaceData, pVertexData);
141  }
142 
143  virtual void text(const OdGePoint3d& position,
144  const OdGeVector3d& normal, const OdGeVector3d& direction,
145  double height, double width, double oblique, const OdString& msg)
146  {
147  m_Geom->text(position, normal, direction, height, width, oblique, msg);
148  }
149 
150  virtual void text(const OdGePoint3d& position,
151  const OdGeVector3d& normal, const OdGeVector3d& direction,
152  const OdChar* msg, OdInt32 length, bool raw, const OdGiTextStyle* pTextStyle)
153  {
154  m_Geom->text(position, normal, direction, msg, length, raw, pTextStyle);
155  }
156 
157  void ray(const OdGePoint3d& first, const OdGePoint3d& second)
158  {
159  m_Geom->ray(first, second);
160  }
161 
162  virtual void nurbs(const OdGeNurbCurve3d& nurbs)
163  {
164  m_Geom->nurbs(nurbs);
165  }
166 
167  virtual void xline(const OdGePoint3d& p1, const OdGePoint3d& p2)
168  {
169  m_Geom->xline(p1, p2);
170  }
171 
172  virtual void ellipArc(const OdGeEllipArc3d& arc,
173  const OdGePoint3d* pEndPointsOverrides = 0,
174  OdGiArcType arcType = kOdGiArcSimple)
175  {
176  m_Geom->ellipArc(arc, pEndPointsOverrides, arcType);
177  }
178 
179  virtual void draw(const OdGiDrawable* pD)
180  {
181  m_Geom->draw(pD);
182  }
183 
184  virtual void pushClipBoundary(OdGiClipBoundary* pBoundary)
185  {
186  m_Geom->pushClipBoundary(pBoundary);
187  }
188  virtual void popClipBoundary()
189  {
190  m_Geom->popClipBoundary();
191  }
192 
193  virtual void worldLine(const OdGePoint3d pnts[2])
194  {
195  m_Geom->worldLine(pnts);
196  }
197 
198  virtual void image(const OdGiImageBGRA32& img,
199  const OdGePoint3d& origin,
200  const OdGeVector3d& uVec,
201  const OdGeVector3d& vVec,
203  {
204  m_Geom->image(img, origin, uVec, vVec, trpMode);
205  }
206 
207  virtual void edge(const OdGiEdge2dArray& edges)
208  {
209  m_Geom->edge(edges);
210  }
211 
212  virtual void polypoint(OdInt32 numPoints, const OdGePoint3d* vertexList, const OdCmEntityColor* pColors, const OdCmTransparency* pTransparency,
213  const OdGeVector3d* pNormals, const OdGsMarker* pSubEntMarkers, OdInt32 nPointSize)
214  {
215  m_Geom->polypoint(numPoints, vertexList, pColors, pTransparency, pNormals, pSubEntMarkers, nPointSize);
216  }
217 
218  virtual void rowOfDots(OdInt32 numPoints, const OdGePoint3d& startPoint, const OdGeVector3d& dirToNextPoint)
219  {
220  m_Geom->rowOfDots(numPoints, startPoint, dirToNextPoint);
221  }
222 };
223 
229 template <class T> class OdGiWrapperWorldGeometry : public OdGiWrapperGeometry< T >
230 {
231 public:
232  virtual void setExtents(const OdGePoint3d *newExtents) { ((OdGiWorldGeometry&)(OdGiWrapperGeometry< T >::getGeom())).setExtents(newExtents); }
233  virtual void startAttributesSegment() { ((OdGiWorldGeometry&)(OdGiWrapperGeometry< T >::getGeom())).startAttributesSegment(); }
234 };
235 
241 template <class T> class OdGiWrapperViewportGeometry : public OdGiWrapperGeometry< T >
242 {
243 public:
244  virtual void polylineEye(
245  OdUInt32 numVertices,
246  const OdGePoint3d* vertexList) { ((OdGiViewportGeometry&)(OdGiWrapperGeometry< T >::getGeom())).polylineEye(numVertices, vertexList); }
247 
248  virtual void polygonEye(
249  OdUInt32 numVertices,
250  const OdGePoint3d* vertexList) { ((OdGiViewportGeometry&)(OdGiWrapperGeometry< T >::getGeom())).polygonEye(numVertices, vertexList); }
251 
252  virtual void polylineDc(
253  OdUInt32 numVertices,
254  const OdGePoint3d* vertexList) { ((OdGiViewportGeometry&)(OdGiWrapperGeometry< T >::getGeom())).polylineDc(numVertices, vertexList); }
255 
256  virtual void polygonDc(
257  OdUInt32 numVertices,
258  const OdGePoint3d* vertexList) { ((OdGiViewportGeometry&)(OdGiWrapperGeometry< T >::getGeom())).polygonDc(numVertices, vertexList); }
259 
260  virtual void rasterImageDc(
261  const OdGePoint3d& origin,
262  const OdGeVector3d& u,
263  const OdGeVector3d& v,
264  const OdGiRasterImage* pImage,
265  const OdGePoint2d* uvBoundary,
266  OdUInt32 numBoundPts,
267  bool transparency = false,
268  double brightness = 50.0,
269  double contrast = 50.0,
270  double fade = 0.0) { ((OdGiViewportGeometry&)(OdGiWrapperGeometry< T >::getGeom())).rasterImageDc(origin,u,v,pImage, uvBoundary, numBoundPts,transparency,brightness,contrast,fade); }
271 
272  virtual void metafileDc(
273  const OdGePoint3d& origin,
274  const OdGeVector3d& u,
275  const OdGeVector3d& v,
276  const OdGiMetafile* pMetafile,
277  bool dcAligned = true,
278  bool allowClipping = false) { ((OdGiViewportGeometry&)(OdGiWrapperGeometry< T >::getGeom())).metafileDc(origin,u,v,pMetafile,dcAligned,allowClipping); }
279 
280  virtual void ownerDrawDc(
281  const OdGePoint3d& origin,
282  const OdGeVector3d& u,
283  const OdGeVector3d& v,
284  const OdGiSelfGdiDrawable* pDrawable,
285  bool dcAligned = true,
286  bool allowClipping = false) { ((OdGiViewportGeometry&)(OdGiWrapperGeometry< T >::getGeom())).ownerDrawDc(origin,u,v,pDrawable,dcAligned,allowClipping); }
287 };
288 
294 template <class TInterface, class TData>
295 class OdGiSubEntityTraitsToDataWrapper : public TInterface
296 {
297  protected:
298  TData *m_pTraits;
299  public:
301 
302  void setTraits(TData &pTraits) { m_pTraits = &pTraits; }
303  TData &getTraits() const { return *m_pTraits; }
304 
305  void setColor(OdUInt16 n) { m_pTraits->setColor(n); }
306  void setTrueColor(const OdCmEntityColor& n) { m_pTraits->setTrueColor(n); }
307  void setLayer(OdDbStub* n) { m_pTraits->setLayer(n); }
308  void setLineType(OdDbStub* n) { m_pTraits->setLineType(n); }
309  void setSelectionMarker(OdGsMarker /*n*/) { } // Stub
310  void setFillType(OdGiFillType n) { m_pTraits->setFillType(n); }
311  void setFillPlane(const OdGeVector3d* /*n*/ = 0) { } // Stub
312  void setLineWeight(OdDb::LineWeight n) { m_pTraits->setLineWeight(n); }
313  void setLineTypeScale(double n = 1.0) { m_pTraits->setLineTypeScale(n); }
314  void setThickness(double n) { m_pTraits->setThickness(n); }
315  void setPlotStyleName(OdDb::PlotStyleNameType n, OdDbStub* m = 0) { m_pTraits->setPlotStyleName(n, m); }
316  void setMaterial(OdDbStub* n) { m_pTraits->setMaterial(n); }
317  void setMapper(const OdGiMapper * n) { m_pTraits->setMapper(n); }
318  void setVisualStyle(const OdDbStub* n) { m_pTraits->setVisualStyle(const_cast<OdDbStub*>(n)); }
321  void setSelectionGeom(bool bSelectionFlag) { m_pTraits->setSelectionGeom(bSelectionFlag); }
323  void setSectionable(bool bSectionableFlag) { m_pTraits->setSectionable(bSectionableFlag); }
325  void setSecondaryTrueColor(const OdCmEntityColor& n) { m_pTraits->setSecondaryTrueColor(n); }
326  void setLineStyleModifiers(const OdGiDgLinetypeModifiers* pLSMod) { m_pTraits->setLineStyleModifiers(pLSMod); }
327  void setFill(const OdGiFill* pFill) { m_pTraits->setFill(pFill); }
328 
329  OdUInt16 color() const { return m_pTraits->color(); }
330  OdCmEntityColor trueColor() const { return m_pTraits->trueColor(); }
331  OdDbStub* layer() const { return m_pTraits->layer(); }
332  OdDbStub* lineType() const { return m_pTraits->lineType(); }
333  OdGiFillType fillType() const { return m_pTraits->fillType(); }
334  bool fillPlane(OdGeVector3d& /*n*/) { return false; } // Stub
335  OdDb::LineWeight lineWeight() const { return m_pTraits->lineWeight(); }
336  double lineTypeScale() const { return m_pTraits->lineTypeScale(); }
337  double thickness() const { return m_pTraits->thickness(); }
338  OdDb::PlotStyleNameType plotStyleNameType() const { return m_pTraits->plotStyleNameType(); }
339  OdDbStub* plotStyleNameId() const { return m_pTraits->plotStyleNameId(); }
340  OdDbStub* material() const { return m_pTraits->material(); }
341  const OdGiMapper* mapper() const { return m_pTraits->mapper(); }
342  OdDbStub* visualStyle() const { return m_pTraits->visualStyle(); }
343  OdCmTransparency transparency() const { return m_pTraits->transparency(); }
344  OdUInt32 drawFlags() const { return m_pTraits->drawFlags(); }
345  bool selectionGeom() const { return m_pTraits->selectionGeom(); }
346  OdGiSubEntityTraits::ShadowFlags shadowFlags() const { return m_pTraits->shadowFlags(); }
347  bool sectionable() const { return m_pTraits->sectionable(); }
348  OdGiSubEntityTraits::SelectionFlags selectionFlags() const { return m_pTraits->selectionFlags(); }
349  OdCmEntityColor secondaryTrueColor() const { return m_pTraits->secondaryTrueColor(); }
350  const OdGiDgLinetypeModifiers* lineStyleModifiers() const { return m_pTraits->lineStyleModifiers(); }
351  const OdGiFill* fill() const { return m_pTraits->fill(); }
352 };
353 
359 class OdGiSubEntityTraitsToData : public OdGiSubEntityTraitsToDataWrapper<OdStaticRxObject<OdGiSubEntityTraits>, OdGiSubEntityTraitsData>
361 {
362  public:
365 
367  {
368  if (GETBIT(nFlags, kColorChanged)) pTo.setTrueColor(pFrom.trueColor());
369  if (GETBIT(nFlags, kLayerChanged)) pTo.setLayer(pFrom.layer());
370  if (GETBIT(nFlags, kLineTypeChanged)) pTo.setLineType(pFrom.lineType());
371  if (GETBIT(nFlags, kFillTypeChanged)) pTo.setFillType(pFrom.fillType());
372  if (GETBIT(nFlags, kLineWeightChanged)) pTo.setLineWeight(pFrom.lineWeight());
373  if (GETBIT(nFlags, kLineTypeScaleChanged)) pTo.setLineTypeScale(pFrom.lineTypeScale());
374  if (GETBIT(nFlags, kThicknessChanged)) pTo.setThickness(pFrom.thickness());
375  if (GETBIT(nFlags, kPlotStyleChanged)) pTo.setPlotStyleName(pFrom.plotStyleNameType(), pFrom.plotStyleNameId());
376  if (GETBIT(nFlags, kMaterialChanged)) pTo.setMaterial(pFrom.material());
377  if (GETBIT(nFlags, kMapperChanged)) pTo.setMapper(pFrom.mapper());
378  if (GETBIT(nFlags, kVisualStyleChanged)) pTo.setVisualStyle(pFrom.visualStyle());
379  if (GETBIT(nFlags, kTransparencyChanged)) pTo.setTransparency(pFrom.transparency());
380  if (GETBIT(nFlags, kDrawFlagsChanged)) pTo.setDrawFlags(pFrom.drawFlags());
381  if (GETBIT(nFlags, kSelectionGeomChanged)) pTo.setSelectionGeom(pFrom.selectionGeom());
382  if (GETBIT(nFlags, kShadowFlagsChanged)) pTo.setShadowFlags(pFrom.shadowFlags());
383  if (GETBIT(nFlags, kSectionableChanged)) pTo.setSectionable(pFrom.sectionable());
387  if (GETBIT(nFlags, kFillChanged)) pTo.setFill(pFrom.fill());
388  }
389 };
390 
396 template<class T> class OdGiSubEntityTraitsWrapper : public OdGiSubEntityTraitsToDataWrapper<T, OdGiSubEntityTraits>
397 {
398 private:
400 protected:
401  void setTraits(OdGiSubEntityTraits &pTraits) { baseTraits() = &pTraits; }
402  OdGiSubEntityTraits &getTraits() { return *baseTraits(); }
403 public:
405 
406  // no refcounting
407  void addRef() { baseTraits()->addRef(); }
408  // no refcounting
409  void release() { baseTraits()->release(); }
410 
411  void setSelectionMarker(OdGsMarker n) { baseTraits()->setSelectionMarker(n); }
412  void setFillPlane(const OdGeVector3d* n = 0) { baseTraits()->setFillPlane(n); }
413 
414  bool fillPlane(OdGeVector3d& n) { return baseTraits()->fillPlane(n); }
415 };
416 
422 template<class T> class OdGiWrapperCommonDraw : public T
423 {
424  OdGiCommonDraw *m_pD;
425 protected:
426  void setDraw(OdGiCommonDraw &pD) { m_pD = &pD; }
427  OdGiCommonDraw *getDraw() const { return m_pD; }
428 public:
429  OdGiWrapperCommonDraw() : m_pD(0) {}
430  virtual OdGiGeometry& rawGeometry() const { return m_pD->rawGeometry(); }
431  virtual OdGiRegenType regenType() const { return m_pD->regenType(); }
432  virtual bool regenAbort() const { return m_pD->regenAbort(); }
433  virtual OdGiSubEntityTraits& subEntityTraits() const { return m_pD->subEntityTraits(); }
434  virtual bool isDragging() const { return m_pD->isDragging(); }
435  virtual OdGiContext* context() const { return m_pD->context(); }
436  virtual OdUInt32 numberOfIsolines() const { return m_pD->numberOfIsolines(); }
437  virtual const OdGiPathNode* currentGiPath() const { return m_pD->currentGiPath(); }
438  virtual bool displayModelerSilhouettes() const { return m_pD->displayModelerSilhouettes(); }
439  virtual double deviation(const OdGiDeviationType t, const OdGePoint3d& p) const { return m_pD->deviation(t, p); }
440 };
441 
447 template<class T> class OdGiWrapperViewportDraw : public OdGiWrapperCommonDraw< T >
448 {
449 public:
450  virtual OdGiViewport& viewport() const { return ((OdGiViewportDraw*)(OdGiWrapperCommonDraw< T >::getDraw()))->viewport(); }
452  virtual OdUInt32 sequenceNumber() const { return ((OdGiViewportDraw*)(OdGiWrapperCommonDraw< T >::getDraw()))->sequenceNumber(); }
453  virtual bool isValidId(const OdUInt32 viewportId) const { return ((OdGiViewportDraw*)(OdGiWrapperCommonDraw< T >::getDraw()))->isValidId(viewportId); }
454  virtual OdDbStub* viewportObjectId() const { return ((OdGiViewportDraw*)(OdGiWrapperCommonDraw< T >::getDraw()))->viewportObjectId(); }
455 };
456 
462 template<class T> class OdGiWrapperWorldDraw : public OdGiWrapperCommonDraw< T >
463 {
464 public:
465  virtual OdGiWorldGeometry& geometry() const { return ((OdGiWorldDraw*)(OdGiWrapperCommonDraw< T >::getDraw()))->geometry(); }
466 };
467 
473 class OdGiViewportDraw_Stub : public OdGiWrapperViewportDraw<OdGiViewportDraw>
474  , public OdGiWrapperViewportGeometry<OdGiViewportGeometry>
475  , public OdGiSubEntityTraitsWrapper<OdGiSubEntityTraits>
476 {
477 public:
479 
481  {
482  setDraw(pVD);
483  setGeom(pVG);
484  setTraits(pST);
485  }
486 
487  virtual OdGiGeometry& rawGeometry() const { return *static_cast<OdGiGeometry*>(const_cast<OdGiViewportDraw_Stub*>(this)); }
488  virtual OdGiSubEntityTraits& subEntityTraits() const { return *static_cast<OdGiSubEntityTraits*>(const_cast<OdGiViewportDraw_Stub*>(this)); }
489  virtual OdGiViewportGeometry& geometry() const { return *static_cast<OdGiViewportGeometry*>(const_cast<OdGiViewportDraw_Stub*>(this)); }
490 
491  void addRef() { }
492  void release() { }
493 };
494 
500 class OdGiWorldDraw_Stub : public OdGiWrapperWorldDraw<OdGiWorldDraw>
501  , public OdGiWrapperWorldGeometry<OdGiWorldGeometry>
502  , public OdGiSubEntityTraitsWrapper<OdGiSubEntityTraits>
503 {
504 public:
506 
508  {
509  setDraw(pVD);
510  setGeom(pVG);
511  setTraits(pST);
512  }
513 
514  virtual OdGiGeometry& rawGeometry() const { return *static_cast<OdGiGeometry*>(const_cast<OdGiWorldDraw_Stub*>(this)); }
515  virtual OdGiSubEntityTraits& subEntityTraits() const { return *static_cast<OdGiSubEntityTraits*>(const_cast<OdGiWorldDraw_Stub*>(this)); }
516  virtual OdGiWorldGeometry& geometry() const { return *static_cast<OdGiWorldGeometry*>(const_cast<OdGiWorldDraw_Stub*>(this)); }
517 
518  void addRef() { }
519  void release() { }
520 };
521 
527 template <class T> class OdGiDummyGeometry : public T
528 {
529 public:
530  void circle(const OdGePoint3d& /*center*/, double /*radius*/, const OdGeVector3d& /*normal*/) {}
531 
532  void circle(const OdGePoint3d& /*firstPoint*/, const OdGePoint3d& /*secondPoint*/, const OdGePoint3d& /*thirdPoint*/) {}
533 
534  void circularArc(const OdGePoint3d& /*center*/,
535  double /*radius*/,
536  const OdGeVector3d& /*normal*/,
537  const OdGeVector3d& /*startVector*/,
538  double /*sweepAngle*/,
539  OdGiArcType /*arcType*/ = kOdGiArcSimple) {}
540 
541  void circularArc(const OdGePoint3d& /*firstPoint*/,
542  const OdGePoint3d& /*secondPoint*/,
543  const OdGePoint3d& /*thirdPoint*/,
544  OdGiArcType /*arcType */= kOdGiArcSimple) {}
545 
546  void polyline(OdInt32 /*numVertices*/,
547  const OdGePoint3d* /*vertexList*/,
548  const OdGeVector3d* /*pNormal */= 0,
549  OdGsMarker /*baseSubEntMarker */= -1) {}
550 
551  void polygon(OdInt32 /*numVertices*/, const OdGePoint3d* /*vertexList*/) {}
552  void polygon(OdInt32 /*numVertices*/, const OdGePoint3d* /*vertexList*/, const OdGeVector3d* /*pNormal*/) {}
553 
554  void pline(const OdGiPolyline& /*polylPine*/, OdUInt32 /*fromIndex */= 0, OdUInt32 /*numSegs */= 0) {}
555 
556  void shape(const OdGePoint3d& /*position*/,
557  const OdGeVector3d& /*normal*/, const OdGeVector3d& /*direction*/,
558  int /*shapeNumber*/, const OdGiTextStyle* /*pTextStyle*/) {}
559 
560  void text(const OdGePoint3d& /*position*/,
561  const OdGeVector3d& /*normal*/, const OdGeVector3d& /*direction*/,
562  double /*height*/, double /*width*/, double /*oblique*/, const OdString& /*msg*/) {}
563 
564  void text(const OdGePoint3d& /*position*/,
565  const OdGeVector3d& /*normal*/, const OdGeVector3d& /*direction*/,
566  const OdChar* /*msg*/, OdInt32 /*length*/, bool /*raw*/, const OdGiTextStyle* /*pTextStyle*/) {}
567 
568 
569  void xline(const OdGePoint3d& /*firstPoint*/, const OdGePoint3d& /*secondPoint*/) {}
570 
571  void ray(const OdGePoint3d& /*basePoint*/, const OdGePoint3d& /*throughPoint */) {}
572 
573  void nurbs(const OdGeNurbCurve3d& /*nurbsCurve*/) {}
574 
575  void ellipArc(const OdGeEllipArc3d& /*ellipArc*/,
576  const OdGePoint3d* /*endPointsOverrides */= 0,
577  OdGiArcType /*arcType */= kOdGiArcSimple) {}
578 
579  void mesh(OdInt32 /*numRows*/,
580  OdInt32 /*numColumns*/,
581  const OdGePoint3d* /*vertexList*/,
582  const OdGiEdgeData* /*pEdgeData */= 0,
583  const OdGiFaceData* /*pFaceData */= 0,
584  const OdGiVertexData* /*pVertexData */= 0) {}
585 
586  void shell(OdInt32 /*numVertices*/,
587  const OdGePoint3d* /*vertexList*/,
588  OdInt32 /*faceListSize*/,
589  const OdInt32* /*faceList*/,
590  const OdGiEdgeData* /*pEdgeData */= 0,
591  const OdGiFaceData* /*pFaceData */= 0,
592  const OdGiVertexData* /*pVertexData */= 0) {}
593 
594  void worldLine(const OdGePoint3d /*points*/[2]) {}
595 
596  void image(const OdGiImageBGRA32& /*img*/,
597  const OdGePoint3d& /*origin*/,
598  const OdGeVector3d& /*uVec*/,
599  const OdGeVector3d& /*vVec*/,
601 
602  virtual void edge(const OdGiEdge2dArray& /*edges*/) {}
603 
604  void polypoint(OdInt32 /*numPoints*/, const OdGePoint3d* /*vertexList*/, const OdCmEntityColor* /*pColors*/, const OdCmTransparency* /*pTransparency*/,
605  const OdGeVector3d* /*pNormals*/, const OdGsMarker* /*pSubEntMarkers*/, OdInt32 /*nPointSize*/) {}
606 
607  void rowOfDots(OdInt32 /*numPoints*/, const OdGePoint3d& /*startPoint*/, const OdGeVector3d& /*dirToNextPoint*/) {}
608 
609  void setExtents(const OdGePoint3d * /*newExtents*/) {}
610 
611  void pushClipBoundary(OdGiClipBoundary* /*pBoundary*/) {}
612  void popClipBoundary() {}
613  void draw(const OdGiDrawable* /*pDrawable*/) {}
614 
615  void pushModelTransform(const OdGeMatrix3d& /*xMat*/) { }
616 
617  void pushModelTransform(const OdGeVector3d& /*normal*/) { }
618 
619  void popModelTransform() { }
620 
622 
624 };
625 
631 template <class T> class OdGiDummyWorldGeometry : public OdGiDummyGeometry< T >
632 {
633 public:
634  virtual void setExtents(
635  const OdGePoint3d * /*newExtents*/) { }
636 
637  virtual void startAttributesSegment() {}
638 };
639 
645 template <class T> class OdGiDummyViewportGeometry : public OdGiDummyGeometry< T >
646 {
647 public:
648  virtual void polylineEye(
649  OdUInt32 ,
650  const OdGePoint3d* ) { }
651 
652  virtual void polygonEye(
653  OdUInt32 ,
654  const OdGePoint3d* ) { }
655 
656  virtual void polylineDc(
657  OdUInt32 ,
658  const OdGePoint3d* ) { }
659 
660  virtual void polygonDc(
661  OdUInt32 ,
662  const OdGePoint3d* ) { }
663 
664  virtual void rasterImageDc(
665  const OdGePoint3d& ,
666  const OdGeVector3d& ,
667  const OdGeVector3d& ,
668  const OdGiRasterImage* ,
669  const OdGePoint2d* ,
670  OdUInt32 ,
671  bool = false,
672  double = 50.0,
673  double = 50.0,
674  double = 0.0) { }
675 
676  virtual void metafileDc(
677  const OdGePoint3d& ,
678  const OdGeVector3d& ,
679  const OdGeVector3d& ,
680  const OdGiMetafile* ,
681  bool = true,
682  bool = false) { }
683 
684  virtual void ownerDrawDc(
685  const OdGePoint3d& ,
686  const OdGeVector3d& ,
687  const OdGeVector3d& ,
688  const OdGiSelfGdiDrawable* ,
689  bool = true,
690  bool = false) { }
691 };
692 
693 // OdGiSubEntityTraits dummy template
694 
700 template <class T> class OdGiDummySubEntityTraits : public T
701 {
702 public:
703  void setColor(OdUInt16 ) { }
704  void setTrueColor(const OdCmEntityColor& ) { }
705  void setLayer(OdDbStub* ) { }
706  void setLineType(OdDbStub* ) { }
709  void setFillPlane(const OdGeVector3d* = 0) {}
711  void setLineTypeScale(double = 1.0) { }
712  void setThickness(double ) { }
713  void setPlotStyleName(OdDb::PlotStyleNameType, OdDbStub* = 0) { }
714  void setMaterial(OdDbStub* ) { }
715  void setMapper(const OdGiMapper * /*pMapper*/) { }
716  void setVisualStyle(const OdDbStub* /*visualStyleId*/) { }
717  void setTransparency(const OdCmTransparency& /*transparency*/) { }
718  void setDrawFlags(OdUInt32 /*drawFlags*/) { }
719  void setSelectionGeom(bool /*bSelectionFlag*/) { }
721  void setSectionable(bool /*bSectionableFlag*/) { }
723 
724  OdUInt16 color() const { return 0; }
726  OdDbStub* layer() const { return NULL; }
727  OdDbStub* lineType() const { return NULL; }
729  bool fillPlane(OdGeVector3d& /*normal*/) { return false; }
731  double lineTypeScale() const { return 0.0; }
732  double thickness() const { return 0.0; }
734  OdDbStub* plotStyleNameId() const { return NULL; }
735  OdDbStub* material() const { return NULL; }
736  const OdGiMapper* mapper() const { return NULL; }
737  void addLight(const OdDbStub* /*lightId*/) { }
739  OdUInt32 drawFlags() const { return 0; }
740  bool selectionGeom() const { return false; }
742  bool sectionable() const { return false; }
744 };
745 
751 template <class T> class OdGiDummyViewport : public T
752 {
753 public:
758  virtual bool isPerspective() const { return false; }
759  virtual bool doPerspective(OdGePoint3d& /*p*/) const { return false; }
760  virtual bool doInversePerspective(OdGePoint3d& /*p*/) const { return false; }
761  virtual void getNumPixelsInUnitSquare(const OdGePoint3d& /*givenWorldpt*/, OdGePoint2d& /*pixelArea*/, bool /*includePerspective*/ = true) const { }
765  virtual OdGeVector3d viewDir() const { return getCameraTarget() - getCameraLocation(); }
766  virtual OdUInt32 viewportId() const { return 0xFFFFFFFF; }
767  virtual OdInt16 acadWindowId() const { return -1; }
768  virtual void getViewportDcCorners(OdGePoint2d& lower_left, OdGePoint2d& upper_right) const { lower_left.set(0,0); upper_right.set(100,100); }
769  virtual bool getFrontAndBackClipValues(bool& clip_front, bool& clip_back, double& /*front*/, double& /*back*/) const { clip_front = clip_back = false; return false; }
770  virtual double linetypeScaleMultiplier() const { return 1.0; }
771  virtual double linetypeGenerationCriteria() const { return 1.0; }
772  virtual bool layerVisible(OdDbStub* /*idLayer*/) const { return true; }
773 };
774 
780 template <class T> class OdGiWrapperViewport : public T
781 {
782  const OdGiViewport* m_ref;
783 protected:
784  void set(const OdGiViewport& ref) { m_ref = &ref; }
785  const OdGiViewport &get() const { return *m_ref; }
786 public:
791  virtual bool isPerspective() const { return get().isPerspective(); }
792  virtual bool doPerspective(OdGePoint3d& p) const { return get().doPerspective(p); }
793  virtual bool doInversePerspective(OdGePoint3d& p) const { return get().doInversePerspective(p); }
794  virtual void getNumPixelsInUnitSquare(const OdGePoint3d& givenWorldpt,
795  OdGePoint2d& pixelArea, bool includePerspective = true) const
796  {
797  get().getNumPixelsInUnitSquare(givenWorldpt, pixelArea, includePerspective);
798  }
799  virtual OdGePoint3d getCameraLocation() const { return get().getCameraLocation(); }
800  virtual OdGePoint3d getCameraTarget() const { return get().getCameraTarget(); }
801  virtual OdGeVector3d getCameraUpVector() const { return get().getCameraUpVector(); }
802  virtual OdGeVector3d viewDir() const { return get().viewDir(); }
803  virtual OdUInt32 viewportId() const { return get().viewportId(); }
804  virtual OdInt16 acadWindowId() const { return get().acadWindowId(); }
805  virtual void getViewportDcCorners(OdGePoint2d& lower_left, OdGePoint2d& upper_right) const
806  { get().getViewportDcCorners(lower_left, upper_right); }
807  virtual bool getFrontAndBackClipValues(bool& clip_front, bool& clip_back, double& front, double& back) const
808  { return get().getFrontAndBackClipValues(clip_front, clip_back, front, back); }
809  virtual double linetypeScaleMultiplier() const { return get().linetypeScaleMultiplier(); }
810  virtual double linetypeGenerationCriteria() const { return get().linetypeGenerationCriteria(); }
811  virtual bool layerVisible(OdDbStub* idLayer) const { return get().layerVisible(idLayer); }
812 };
813 
819 template<class T1, class T2> class OdGiJoinCommonDraw : public T1, public T2
820 {
821 public:
823  virtual OdGiGeometry& rawGeometry() const { return T1::rawGeometry(); }
824  virtual OdGiRegenType regenType() const { return T1::regenType(); } // dont change from kOdGiStandardDisplay
825  virtual bool regenAbort() const { return T1::regenAbort(); }
826  virtual OdGiSubEntityTraits& subEntityTraits() const { return T1::subEntityTraits(); }
827  virtual bool isDragging() const { return T1::isDragging(); }
828  virtual OdGiContext* context() const { return T1::context(); }
829  virtual OdUInt32 numberOfIsolines() const { return T1::numberOfIsolines(); }
830  virtual const OdGiPathNode* currentGiPath() const { return T1::currentGiPath(); }
831  virtual bool displayModelerSilhouettes() const { return T1::displayModelerSilhouettes(); }
832  virtual double deviation(const OdGiDeviationType t, const OdGePoint3d& p) const { return T1::deviation(t, p); }
833 };
834 
840 template<class T> class OdGiDummyCommonDraw : public T
841 {
842 public:
843  virtual OdGiRegenType regenType() const { return kOdGiStandardDisplay; } // dont change from kOdGiStandardDisplay
844  virtual bool regenAbort() const { return false; }
845  virtual bool isDragging() const { return false; }
846  virtual OdUInt32 numberOfIsolines() const { return 4; }
847  virtual double deviation(const OdGiDeviationType t, const OdGePoint3d& p) const { return 0.; }
848 };
849 
855 template <class T, class TVp = OdGiViewport> class OdGiDummyViewportDraw : public OdGiDummyCommonDraw< T >
856 {
857 private:
858  // This class was moved from multiple inheritance to member, since it is crash VS2010 IntelliSense
859  mutable OdGiDummyViewport< OdStaticRxObject<TVp> > m_dummyViewport;
860 public:
861  virtual OdGiViewport& viewport() const { return m_dummyViewport; }
862  virtual OdUInt32 sequenceNumber() const { return 0; }
863  virtual bool isValidId(const OdUInt32 viewportId) const { return false; }
864  virtual OdDbStub* viewportObjectId() const { return 0; }
865 };
866 
872 template <class T> class OdGiDummyWorldDraw : public OdGiDummyCommonDraw< T >
873 {
874 public:
875 };
876 
882 template <class T> class OdGiDummyContext : public T
883 {
884 public:
885  virtual OdDbBaseDatabase* database() const { return 0;}
886  virtual OdGiDrawablePtr openDrawable(OdDbStub* ) { return OdGiDrawablePtr(); }
887 };
888 
894 class OdGiViewportDraw_Dummy : public OdGiDummySubEntityTraits< OdGiSubEntityTraits >
895  , public OdGiDummyViewportDraw< OdGiViewportDraw >
896  , public OdGiDummyViewportGeometry< OdGiViewportGeometry >
897  , public OdGiDummyContext< OdGiContext >
898 {
899  OdDbBaseDatabase *m_pDb;
900 public:
902 
903  OdGiViewportDraw_Dummy(OdDbBaseDatabase *pDb = 0) : m_pDb(pDb) { }
904  virtual OdDbBaseDatabase* database() const { return m_pDb; }
905 
906  virtual OdGiGeometry& rawGeometry() const { return *static_cast<OdGiGeometry*>(const_cast<OdGiViewportDraw_Dummy*>(this)); }
907  virtual OdGiSubEntityTraits& subEntityTraits() const { return *static_cast<OdGiSubEntityTraits*>(const_cast<OdGiViewportDraw_Dummy*>(this)); }
908  virtual OdGiViewportGeometry& geometry() const { return *static_cast<OdGiViewportGeometry*>(const_cast<OdGiViewportDraw_Dummy*>(this)); }
909  virtual OdGiContext* context() const { return static_cast<OdGiContext*>(const_cast<OdGiViewportDraw_Dummy*>(this)); }
910 
911  void addRef() { }
912  void release() { }
913 };
914 
920 class OdGiWorldDraw_Dummy : public OdGiDummySubEntityTraits< OdGiSubEntityTraits >
921  , public OdGiDummyWorldDraw< OdGiWorldDraw >
922  , public OdGiDummyWorldGeometry< OdGiWorldGeometry >
923  , public OdGiDummyContext< OdGiContext >
924 {
925  OdDbBaseDatabase *m_pDb;
926 public:
928 
929  OdGiWorldDraw_Dummy(OdDbBaseDatabase *pDb = 0) : m_pDb(pDb) { }
930  virtual OdDbBaseDatabase* database() const { return m_pDb; }
931 
932  virtual OdGiGeometry& rawGeometry() const { return *static_cast<OdGiGeometry*>(const_cast<OdGiWorldDraw_Dummy*>(this)); }
933  virtual OdGiSubEntityTraits& subEntityTraits() const { return *static_cast<OdGiSubEntityTraits*>(const_cast<OdGiWorldDraw_Dummy*>(this)); }
934  virtual OdGiWorldGeometry& geometry() const { return *static_cast<OdGiWorldGeometry*>(const_cast<OdGiWorldDraw_Dummy*>(this)); }
935  virtual OdGiContext* context() const { return static_cast<OdGiContext*>(const_cast<OdGiWorldDraw_Dummy*>(this)); }
936 
937  void addRef() { }
938  void release() { }
939 };
940 
947 
948 #include "TD_PackPop.h"
949 
950 #endif // #ifndef _ODGIDUMMYGEOM_INCLUDED_
GETBIT
#define GETBIT(flags, bit)
Definition: OdaDefs.h:498
OdGiWrapperViewportGeometry::ownerDrawDc
virtual void ownerDrawDc(const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiSelfGdiDrawable *pDrawable, bool dcAligned=true, bool allowClipping=false)
Definition: GiDummyGeometry.h:280
OdGiSubEntityTraits::selectionGeom
virtual bool selectionGeom() const
OdGiSubEntityTraits::setTrueColor
virtual void setTrueColor(const OdCmEntityColor &color)=0
OdGiSubEntityTraitsToDataWrapper::shadowFlags
OdGiSubEntityTraits::ShadowFlags shadowFlags() const
Definition: GiDummyGeometry.h:346
OdGiWorldDraw_Stub::rawGeometry
virtual OdGiGeometry & rawGeometry() const
Definition: GiDummyGeometry.h:514
OdGiSubEntityTraits::setLineWeight
virtual void setLineWeight(OdDb::LineWeight lineWeight)=0
OdGiSubEntityTraitsToDataWrapper::setTransparency
void setTransparency(const OdCmTransparency &transparency)
Definition: GiDummyGeometry.h:319
OdCmEntityColor
Definition: CmColorBase.h:68
OdGiContext
Definition: GiCommonDraw.h:108
OdGiSubEntityTraits::thickness
virtual double thickness() const =0
OdGiSubEntityTraits::lineType
virtual OdDbStub * lineType() const =0
OdGiWrapperGeometry::polypoint
virtual void polypoint(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
Definition: GiDummyGeometry.h:212
OdGiSubEntityTraitsToDataWrapper::setLineStyleModifiers
void setLineStyleModifiers(const OdGiDgLinetypeModifiers *pLSMod)
Definition: GiDummyGeometry.h:326
OdGiWrapperWorldDraw
Definition: GiDummyGeometry.h:463
OdGiSubEntityTraitsToDataWrapper::getTraits
TData & getTraits() const
Definition: GiDummyGeometry.h:303
OdGiWrapperGeometry::popClipBoundary
virtual void popClipBoundary()
Definition: GiDummyGeometry.h:188
OdGiDummyViewportDraw::sequenceNumber
virtual OdUInt32 sequenceNumber() const
Definition: GiDummyGeometry.h:862
OdGiWrapperGeometry::edge
virtual void edge(const OdGiEdge2dArray &edges)
Definition: GiDummyGeometry.h:207
OdGeVector3d
Definition: GeVector3d.h:54
OdGiSubEntityTraitsWrapper::fillPlane
bool fillPlane(OdGeVector3d &n)
Definition: GiDummyGeometry.h:414
kOdGiArcSimple
@ kOdGiArcSimple
Definition: GiGeometry.h:684
OdGiViewportDraw_Stub::release
void release()
Definition: GiDummyGeometry.h:492
OdString
Definition: OdString.h:95
NULL
#define NULL
Definition: GsProperties.h:177
OdGiDummyContext
Definition: GiDummyGeometry.h:883
OdGiSubEntityTraitsChangedFlags::kSecColorChanged
@ kSecColorChanged
Definition: GiSubEntityTraitsData.h:59
OdGiSubEntityTraitsToDataWrapper::setSectionable
void setSectionable(bool bSectionableFlag)
Definition: GiDummyGeometry.h:323
OdGiSubEntityTraits::transparency
virtual OdCmTransparency transparency() const
OdGiDummySubEntityTraits::fillType
OdGiFillType fillType() const
Definition: GiDummyGeometry.h:728
OdGiGeometry::text
virtual void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)=0
OdGiDummyGeometry::circularArc
void circularArc(const OdGePoint3d &, double, const OdGeVector3d &, const OdGeVector3d &, double, OdGiArcType=kOdGiArcSimple)
Definition: GiDummyGeometry.h:534
OdGiWrapperViewportDraw::geometry
virtual OdGiViewportGeometry & geometry() const
Definition: GiDummyGeometry.h:451
OdGiWorldDraw_Dummy::ODRX_USING_HEAP_OPERATORS
ODRX_USING_HEAP_OPERATORS(OdGiDummySubEntityTraits< OdGiSubEntityTraits >)
OdGiSubEntityTraitsChangedFlags::kMapperChanged
@ kMapperChanged
Definition: GiSubEntityTraitsData.h:51
OdGiWrapperGeometry::pushClipBoundary
virtual void pushClipBoundary(OdGiClipBoundary *pBoundary)
Definition: GiDummyGeometry.h:184
OdGiViewportDraw_Stub::geometry
virtual OdGiViewportGeometry & geometry() const
Definition: GiDummyGeometry.h:489
OdGiSubEntityTraitsToDataWrapper::mapper
const OdGiMapper * mapper() const
Definition: GiDummyGeometry.h:341
OdGiGeometry::ray
virtual void ray(const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)=0
OdGiWrapperViewport::get
const OdGiViewport & get() const
Definition: GiDummyGeometry.h:785
OdGiSubEntityTraits::setSelectionMarker
virtual void setSelectionMarker(OdGsMarker selectionMarker)=0
kOdGiStandardDisplay
@ kOdGiStandardDisplay
Definition: GiCommonDraw.h:52
OdGiWrapperViewport::set
void set(const OdGiViewport &ref)
Definition: GiDummyGeometry.h:784
OdGiWrapperCommonDraw::setDraw
void setDraw(OdGiCommonDraw &pD)
Definition: GiDummyGeometry.h:426
OdGiGeometry::worldLine
virtual void worldLine(const OdGePoint3d points[2])=0
OdGiWorldDraw_Stub::subEntityTraits
virtual OdGiSubEntityTraits & subEntityTraits() const
Definition: GiDummyGeometry.h:515
OdGiDummyGeometry::worldLine
void worldLine(const OdGePoint3d[2])
Definition: GiDummyGeometry.h:594
OdGiDummyViewportGeometry::metafileDc
virtual void metafileDc(const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, const OdGiMetafile *, bool=true, bool=false)
Definition: GiDummyGeometry.h:676
OdGiWrapperGeometry::ray
void ray(const OdGePoint3d &first, const OdGePoint3d &second)
Definition: GiDummyGeometry.h:157
OdGiSubEntityTraitsToDataWrapper::setSelectionFlags
void setSelectionFlags(OdGiSubEntityTraits::SelectionFlags selectionFlags)
Definition: GiDummyGeometry.h:324
OdGiWorldDraw_Dummy::context
virtual OdGiContext * context() const
Definition: GiDummyGeometry.h:935
OdGiDummyViewportGeometry::polylineDc
virtual void polylineDc(OdUInt32, const OdGePoint3d *)
Definition: GiDummyGeometry.h:656
OdGiSubEntityTraitsToDataWrapper::setFillPlane
void setFillPlane(const OdGeVector3d *=0)
Definition: GiDummyGeometry.h:311
OdGiWrapperGeometry::rowOfDots
virtual void rowOfDots(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
Definition: GiDummyGeometry.h:218
OdGiDummyCommonDraw::regenType
virtual OdGiRegenType regenType() const
Definition: GiDummyGeometry.h:843
OdGiSubEntityTraitsToDataWrapper::setVisualStyle
void setVisualStyle(const OdDbStub *n)
Definition: GiDummyGeometry.h:318
OdGiJoinCommonDraw::numberOfIsolines
virtual OdUInt32 numberOfIsolines() const
Definition: GiDummyGeometry.h:829
OdGiWrapperGeometry::draw
virtual void draw(const OdGiDrawable *pD)
Definition: GiDummyGeometry.h:179
OdGiSubEntityTraitsToDataWrapper::setColor
void setColor(OdUInt16 n)
Definition: GiDummyGeometry.h:305
OdGiDummyViewport::doInversePerspective
virtual bool doInversePerspective(OdGePoint3d &) const
Definition: GiDummyGeometry.h:760
OdGiSubEntityTraits::plotStyleNameType
virtual OdDb::PlotStyleNameType plotStyleNameType() const =0
OdGiViewportDraw_Stub::ODRX_USING_HEAP_OPERATORS
ODRX_USING_HEAP_OPERATORS(OdGiWrapperViewportDraw< OdGiViewportDraw >)
OdGiWorldDraw_Stub::OdGiWorldDraw_Stub
OdGiWorldDraw_Stub(OdGiWorldDraw &pVD, OdGiWorldGeometry &pVG, OdGiSubEntityTraits &pST)
Definition: GiDummyGeometry.h:507
OdGiDummyViewport::getModelToEyeTransform
virtual OdGeMatrix3d getModelToEyeTransform() const
Definition: GiDummyGeometry.h:754
OdGiSubEntityTraits::plotStyleNameId
virtual OdDbStub * plotStyleNameId() const =0
OdGiSubEntityTraits::lineTypeScale
virtual double lineTypeScale() const =0
OdGiJoinCommonDraw::displayModelerSilhouettes
virtual bool displayModelerSilhouettes() const
Definition: GiDummyGeometry.h:831
OdGiDummySubEntityTraits::setTransparency
void setTransparency(const OdCmTransparency &)
Definition: GiDummyGeometry.h:717
OdGiViewport::getCameraUpVector
virtual OdGeVector3d getCameraUpVector() const =0
OdGiSubEntityTraitsWrapper::setSelectionMarker
void setSelectionMarker(OdGsMarker n)
Definition: GiDummyGeometry.h:411
OdGiDummyViewportDraw::viewport
virtual OdGiViewport & viewport() const
Definition: GiDummyGeometry.h:861
OdGiWrapperGeometry::nurbs
virtual void nurbs(const OdGeNurbCurve3d &nurbs)
Definition: GiDummyGeometry.h:162
OdGiViewport::getCameraTarget
virtual OdGePoint3d getCameraTarget() const =0
OdGiDummyGeometry::image
void image(const OdGiImageBGRA32 &, const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, OdGiRasterImage::TransparencyMode=OdGiRasterImage::kTransparency8Bit)
Definition: GiDummyGeometry.h:596
OdCmTransparency
Definition: CmColorBase.h:1617
OdGiCommonDraw::deviation
virtual double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
OdGiWrapperViewport
Definition: GiDummyGeometry.h:781
OdGiSubEntityTraitsToDataWrapper::trueColor
OdCmEntityColor trueColor() const
Definition: GiDummyGeometry.h:330
OdGiSubEntityTraitsWrapper::setFillPlane
void setFillPlane(const OdGeVector3d *n=0)
Definition: GiDummyGeometry.h:412
OdGiSubEntityTraitsToDataWrapper::setFill
void setFill(const OdGiFill *pFill)
Definition: GiDummyGeometry.h:327
OdGiWrapperViewportDraw::sequenceNumber
virtual OdUInt32 sequenceNumber() const
Definition: GiDummyGeometry.h:452
OdGiViewport
Definition: GiViewport.h:51
OdGiWrapperGeometry::text
virtual void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
Definition: GiDummyGeometry.h:150
OdGiDummyViewportDraw
Definition: GiDummyGeometry.h:856
OdRxObject
Definition: RxObject.h:564
OdGiFillType
OdGiFillType
Definition: Gi.h:40
OdGiSubEntityTraitsToDataWrapper::setTraits
void setTraits(TData &pTraits)
Definition: GiDummyGeometry.h:302
OdGiWorldDraw_Dummy::OdGiWorldDraw_Dummy
OdGiWorldDraw_Dummy(OdDbBaseDatabase *pDb=0)
Definition: GiDummyGeometry.h:929
OdGiDummySubEntityTraits::trueColor
OdCmEntityColor trueColor() const
Definition: GiDummyGeometry.h:725
OdGiDummySubEntityTraits::color
OdUInt16 color() const
Definition: GiDummyGeometry.h:724
OdGiDummyGeometry::nurbs
void nurbs(const OdGeNurbCurve3d &)
Definition: GiDummyGeometry.h:573
OdGiSubEntityTraitsChangedFlags::kColorChanged
@ kColorChanged
Definition: GiSubEntityTraitsData.h:42
OdGiDummyGeometry::pushClipBoundary
void pushClipBoundary(OdGiClipBoundary *)
Definition: GiDummyGeometry.h:611
OdGiJoinCommonDraw::subEntityTraits
virtual OdGiSubEntityTraits & subEntityTraits() const
Definition: GiDummyGeometry.h:826
OdGiSubEntityTraitsToDataWrapper::setLineWeight
void setLineWeight(OdDb::LineWeight n)
Definition: GiDummyGeometry.h:312
OdGiWrapperViewport::getFrontAndBackClipValues
virtual bool getFrontAndBackClipValues(bool &clip_front, bool &clip_back, double &front, double &back) const
Definition: GiDummyGeometry.h:807
OdGiSubEntityTraitsToDataWrapper::setSecondaryTrueColor
void setSecondaryTrueColor(const OdCmEntityColor &n)
Definition: GiDummyGeometry.h:325
OdGiDummyGeometry::rowOfDots
void rowOfDots(OdInt32, const OdGePoint3d &, const OdGeVector3d &)
Definition: GiDummyGeometry.h:607
OdGiDummySubEntityTraits
Definition: GiDummyGeometry.h:701
OdGiSubEntityTraitsToDataWrapper::drawFlags
OdUInt32 drawFlags() const
Definition: GiDummyGeometry.h:344
OdGiDummyWorldGeometry
Definition: GiDummyGeometry.h:632
OdGiVertexData
Definition: GiGeometry.h:549
OdGiSubEntityTraitsToDataWrapper::lineStyleModifiers
const OdGiDgLinetypeModifiers * lineStyleModifiers() const
Definition: GiDummyGeometry.h:350
OdGiSubEntityTraitsChangedFlags::kFillChanged
@ kFillChanged
Definition: GiSubEntityTraitsData.h:61
OdGiViewportDraw_Stub::addRef
void addRef()
Definition: GiDummyGeometry.h:491
OdGiViewportDraw_Stub::subEntityTraits
virtual OdGiSubEntityTraits & subEntityTraits() const
Definition: GiDummyGeometry.h:488
OdGiSubEntityTraitsToDataWrapper::setLayer
void setLayer(OdDbStub *n)
Definition: GiDummyGeometry.h:307
OdGiGeometry::popModelTransform
virtual void popModelTransform()=0
OdGiSubEntityTraitsChangedFlags::kSelectionGeomChanged
@ kSelectionGeomChanged
Definition: GiSubEntityTraitsData.h:55
OdGiViewport::getCameraLocation
virtual OdGePoint3d getCameraLocation() const =0
OdGiSubEntityTraits::setPlotStyleName
virtual void setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *plotStyleNameId=0)=0
OdGiDummySubEntityTraits::thickness
double thickness() const
Definition: GiDummyGeometry.h:732
OdGiWrapperCommonDraw::currentGiPath
virtual const OdGiPathNode * currentGiPath() const
Definition: GiDummyGeometry.h:437
OdGiDummyGeometry::getWorldToModelTransform
OdGeMatrix3d getWorldToModelTransform() const
Definition: GiDummyGeometry.h:623
OdGiPolyline
Definition: GiPolyline.h:49
OdArray
Definition: OdArray.h:591
OdGiWrapperGeometry::circularArc
virtual void circularArc(const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
Definition: GiDummyGeometry.h:87
OdGiWrapperCommonDraw::context
virtual OdGiContext * context() const
Definition: GiDummyGeometry.h:435
OdGiWrapperWorldDraw::geometry
virtual OdGiWorldGeometry & geometry() const
Definition: GiDummyGeometry.h:465
OdGiSubEntityTraitsToDataWrapper::selectionGeom
bool selectionGeom() const
Definition: GiDummyGeometry.h:345
TD_PackPop.h
OdGiSubEntityTraits::setTransparency
virtual void setTransparency(const OdCmTransparency &transparency)
OdGiWrapperGeometry::text
virtual void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
Definition: GiDummyGeometry.h:143
OdGiSubEntityTraitsToDataWrapper::fillPlane
bool fillPlane(OdGeVector3d &)
Definition: GiDummyGeometry.h:334
OdCmTransparency
const OdCmTransparency & OdCmTransparency(OdCmTransparency::kErrorValue))
OdGiDummySubEntityTraits::setTrueColor
void setTrueColor(const OdCmEntityColor &)
Definition: GiDummyGeometry.h:704
OdGiDummyGeometry::polygon
void polygon(OdInt32, const OdGePoint3d *)
Definition: GiDummyGeometry.h:551
OdGiSubEntityTraitsChangedFlags::kFillTypeChanged
@ kFillTypeChanged
Definition: GiSubEntityTraitsData.h:45
OdGiSubEntityTraits::setLineType
virtual void setLineType(OdDbStub *lineTypeId)=0
OdGiGeometry::polypoint
virtual void polypoint(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL, OdInt32 nPointSize=0)
Definition: GiGeometry.h:1274
OdGsMarker
ptrdiff_t OdGsMarker
Definition: OdPlatformSettings.h:889
OdGiFill
Definition: GiFill.h:39
OdGiWrapperGeometry::getGeom
OdGiGeometry & getGeom()
Definition: GiDummyGeometry.h:46
OdGiGeometry::pline
virtual void pline(const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)=0
OdGiDummyViewport::isPerspective
virtual bool isPerspective() const
Definition: GiDummyGeometry.h:758
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdGiDummyViewport::viewportId
virtual OdUInt32 viewportId() const
Definition: GiDummyGeometry.h:766
OdGiDummySubEntityTraits::setDrawFlags
void setDrawFlags(OdUInt32)
Definition: GiDummyGeometry.h:718
OdGiDummyViewport::layerVisible
virtual bool layerVisible(OdDbStub *) const
Definition: GiDummyGeometry.h:772
OdGiWrapperViewport::getEyeToWorldTransform
virtual OdGeMatrix3d getEyeToWorldTransform() const
Definition: GiDummyGeometry.h:790
OdGiDummyViewport::acadWindowId
virtual OdInt16 acadWindowId() const
Definition: GiDummyGeometry.h:767
OdGiDummyViewportGeometry::polygonEye
virtual void polygonEye(OdUInt32, const OdGePoint3d *)
Definition: GiDummyGeometry.h:652
OdGiJoinCommonDraw::currentGiPath
virtual const OdGiPathNode * currentGiPath() const
Definition: GiDummyGeometry.h:830
OdGiDummyCommonDraw::regenAbort
virtual bool regenAbort() const
Definition: GiDummyGeometry.h:844
OdGiDummySubEntityTraits::lineType
OdDbStub * lineType() const
Definition: GiDummyGeometry.h:727
OdGiWrapperViewport::acadWindowId
virtual OdInt16 acadWindowId() const
Definition: GiDummyGeometry.h:804
OdGiWrapperViewportGeometry::rasterImageDc
virtual void rasterImageDc(const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)
Definition: GiDummyGeometry.h:260
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGiSubEntityTraits::trueColor
virtual OdCmEntityColor trueColor() const =0
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdGiDummyGeometry::circle
void circle(const OdGePoint3d &, const OdGePoint3d &, const OdGePoint3d &)
Definition: GiDummyGeometry.h:532
OdInt16
short OdInt16
Definition: OdPlatformSettings.h:756
OdGiWrapperCommonDraw::getDraw
OdGiCommonDraw * getDraw() const
Definition: GiDummyGeometry.h:427
OdGiJoinCommonDraw::regenType
virtual OdGiRegenType regenType() const
Definition: GiDummyGeometry.h:824
OdGiCommonDraw
Definition: GiCommonDraw.h:572
OdGiSubEntityTraitsWrapper
Definition: GiDummyGeometry.h:397
OdGiSubEntityTraitsWrapper::setTraits
void setTraits(OdGiSubEntityTraits &pTraits)
Definition: GiDummyGeometry.h:401
OdGiViewport::layerVisible
virtual bool layerVisible(OdDbStub *layerId) const =0
OdGiWrapperWorldGeometry::startAttributesSegment
virtual void startAttributesSegment()
Definition: GiDummyGeometry.h:233
OdGiWrapperCommonDraw::rawGeometry
virtual OdGiGeometry & rawGeometry() const
Definition: GiDummyGeometry.h:430
OdGiSubEntityTraitsToDataWrapper::fill
const OdGiFill * fill() const
Definition: GiDummyGeometry.h:351
OdGiWrapperCommonDraw::isDragging
virtual bool isDragging() const
Definition: GiDummyGeometry.h:434
ref
GLenum GLint ref
Definition: gles2_ext.h:262
OdGiWrapperGeometry::worldLine
virtual void worldLine(const OdGePoint3d pnts[2])
Definition: GiDummyGeometry.h:193
OdGiDummyGeometry::circle
void circle(const OdGePoint3d &, double, const OdGeVector3d &)
Definition: GiDummyGeometry.h:530
OdGiClipBoundary
Definition: GiClipBoundary.h:41
OdGiDummyGeometry::circularArc
void circularArc(const OdGePoint3d &, const OdGePoint3d &, const OdGePoint3d &, OdGiArcType=kOdGiArcSimple)
Definition: GiDummyGeometry.h:541
OdGiSubEntityTraits::layer
virtual OdDbStub * layer() const =0
OdGiDummyViewportGeometry::polygonDc
virtual void polygonDc(OdUInt32, const OdGePoint3d *)
Definition: GiDummyGeometry.h:660
OdGiRasterImage::kTransparency8Bit
@ kTransparency8Bit
Definition: GiRasterImage.h:86
OdGiSubEntityTraits::kNoSelectionFlags
@ kNoSelectionFlags
Definition: Gi.h:154
OdGiDummyViewport::getCameraLocation
virtual OdGePoint3d getCameraLocation() const
Definition: GiDummyGeometry.h:762
OdGiGeometry::edge
virtual void edge(const OdGiEdge2dArray &edges)=0
OdGiDummySubEntityTraits::layer
OdDbStub * layer() const
Definition: GiDummyGeometry.h:726
OdGiDummySubEntityTraits::fillPlane
bool fillPlane(OdGeVector3d &)
Definition: GiDummyGeometry.h:729
OdGiSubEntityTraits::setSectionable
virtual void setSectionable(bool bSectionableFlag)
OdGiDummyViewport::getCameraUpVector
virtual OdGeVector3d getCameraUpVector() const
Definition: GiDummyGeometry.h:764
OdGiGeometry::circle
virtual void circle(const OdGePoint3d &center, double radius, const OdGeVector3d &normal)=0
OdGiWrapperCommonDraw::subEntityTraits
virtual OdGiSubEntityTraits & subEntityTraits() const
Definition: GiDummyGeometry.h:433
OdGiViewport::doInversePerspective
virtual bool doInversePerspective(OdGePoint3d &point) const =0
OdGiSubEntityTraitsChangedFlags::kLSModifiersChanged
@ kLSModifiersChanged
Definition: GiSubEntityTraitsData.h:60
OdGiSubEntityTraits::mapper
virtual const OdGiMapper * mapper() const =0
OdGiWrapperViewportGeometry
Definition: GiDummyGeometry.h:242
OdGiWrapperGeometry::ellipArc
virtual void ellipArc(const OdGeEllipArc3d &arc, const OdGePoint3d *pEndPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
Definition: GiDummyGeometry.h:172
OdGiGeometry::getModelToWorldTransform
virtual OdGeMatrix3d getModelToWorldTransform() const =0
GiViewportDraw.h
OdGiDummyWorldDraw
Definition: GiDummyGeometry.h:873
OdGiJoinCommonDraw
Definition: GiDummyGeometry.h:820
OdGiSubEntityTraitsToDataWrapper::material
OdDbStub * material() const
Definition: GiDummyGeometry.h:340
OdGiViewport::linetypeGenerationCriteria
virtual double linetypeGenerationCriteria() const =0
OdGiSubEntityTraitsToDataWrapper::setShadowFlags
void setShadowFlags(OdGiSubEntityTraits::ShadowFlags shadowFlags)
Definition: GiDummyGeometry.h:322
OdGiSubEntityTraitsChangedFlags::kShadowFlagsChanged
@ kShadowFlagsChanged
Definition: GiSubEntityTraitsData.h:56
OdGiWrapperViewport::getModelToEyeTransform
virtual OdGeMatrix3d getModelToEyeTransform() const
Definition: GiDummyGeometry.h:787
OdGiWrapperWorldGeometry::setExtents
virtual void setExtents(const OdGePoint3d *newExtents)
Definition: GiDummyGeometry.h:232
OdGiViewportDraw_Dummy::geometry
virtual OdGiViewportGeometry & geometry() const
Definition: GiDummyGeometry.h:908
OdGiSubEntityTraitsToDataWrapper::m_pTraits
TData * m_pTraits
Definition: GiDummyGeometry.h:298
OdGiViewport::getEyeToWorldTransform
virtual OdGeMatrix3d getEyeToWorldTransform() const =0
OdGiFaceData
Definition: GiGeometry.h:245
OdGiDummySubEntityTraits::setFillPlane
void setFillPlane(const OdGeVector3d *=0)
Definition: GiDummyGeometry.h:709
OdGiGeometry::pushClipBoundary
virtual void pushClipBoundary(OdGiClipBoundary *pBoundary)=0
OdGiDummyViewport::getWorldToEyeTransform
virtual OdGeMatrix3d getWorldToEyeTransform() const
Definition: GiDummyGeometry.h:756
OdGiTextStyle
Definition: GiTextStyle.h:52
GiWorldDraw.h
OdGiDummyCommonDraw::numberOfIsolines
virtual OdUInt32 numberOfIsolines() const
Definition: GiDummyGeometry.h:846
OdGiWrapperViewport::getCameraTarget
virtual OdGePoint3d getCameraTarget() const
Definition: GiDummyGeometry.h:800
OdGiDummyGeometry::getModelToWorldTransform
OdGeMatrix3d getModelToWorldTransform() const
Definition: GiDummyGeometry.h:621
OdGiSubEntityTraits::setLineStyleModifiers
virtual void setLineStyleModifiers(const OdGiDgLinetypeModifiers *pLSMod)
OdGiWrapperGeometry::mesh
virtual void mesh(OdInt32 rows, OdInt32 columns, const OdGePoint3d *pVertexList, const OdGiEdgeData *pEdgeData=NULL, const OdGiFaceData *pFaceData=NULL, const OdGiVertexData *pVertexData=NULL)
Definition: GiDummyGeometry.h:122
OdGiSubEntityTraits::setSelectionFlags
virtual void setSelectionFlags(SelectionFlags selectionFlags)
OdGiDummyGeometry::xline
void xline(const OdGePoint3d &, const OdGePoint3d &)
Definition: GiDummyGeometry.h:569
OdGiViewportDraw_Dummy::ODRX_USING_HEAP_OPERATORS
ODRX_USING_HEAP_OPERATORS(OdGiDummySubEntityTraits< OdGiSubEntityTraits >)
OdGiWorldDraw_Dummy::rawGeometry
virtual OdGiGeometry & rawGeometry() const
Definition: GiDummyGeometry.h:932
OdSmartPtr< OdGiDrawable >
OdGiDummyViewport::getViewportDcCorners
virtual void getViewportDcCorners(OdGePoint2d &lower_left, OdGePoint2d &upper_right) const
Definition: GiDummyGeometry.h:768
OdGeEllipArc3d
Definition: GeEllipArc3d.h:60
OdGiWrapperViewport::getNumPixelsInUnitSquare
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &givenWorldpt, OdGePoint2d &pixelArea, bool includePerspective=true) const
Definition: GiDummyGeometry.h:794
OdGiSubEntityTraitsToDataWrapper::plotStyleNameType
OdDb::PlotStyleNameType plotStyleNameType() const
Definition: GiDummyGeometry.h:338
OdGeVector3d::kZAxis
static GE_STATIC_EXPORT const OdGeVector3d kZAxis
Definition: GeVector3d.h:91
OdGePoint3d
Definition: GePoint3d.h:55
OdGiWrapperGeometry::pushModelTransform
virtual void pushModelTransform(const OdGeMatrix3d &xMat)
Definition: GiDummyGeometry.h:66
OdGiWrapperViewportGeometry::polylineEye
virtual void polylineEye(OdUInt32 numVertices, const OdGePoint3d *vertexList)
Definition: GiDummyGeometry.h:244
OdGiSubEntityTraits::setShadowFlags
virtual void setShadowFlags(ShadowFlags shadowFlags)
OdGiSubEntityTraitsToDataWrapper::plotStyleNameId
OdDbStub * plotStyleNameId() const
Definition: GiDummyGeometry.h:339
OdGiPathNode
Definition: GiPathNode.h:36
OdGiViewportDraw_Dummy::release
void release()
Definition: GiDummyGeometry.h:912
OdGiSubEntityTraits::material
virtual OdDbStub * material() const =0
OdGiGeometry::popClipBoundary
virtual void popClipBoundary()=0
OdGiJoinCommonDraw::isDragging
virtual bool isDragging() const
Definition: GiDummyGeometry.h:827
OdGiWrapperViewport::getCameraUpVector
virtual OdGeVector3d getCameraUpVector() const
Definition: GiDummyGeometry.h:801
OdGiCommonDraw::subEntityTraits
virtual OdGiSubEntityTraits & subEntityTraits() const =0
OdGiWorldDraw_Dummy::subEntityTraits
virtual OdGiSubEntityTraits & subEntityTraits() const
Definition: GiDummyGeometry.h:933
OdGiSubEntityTraitsWrapper::addRef
void addRef()
Definition: GiDummyGeometry.h:407
kOdGiFillNever
@ kOdGiFillNever
Definition: Gi.h:42
OdGiDummyGeometry::polypoint
void polypoint(OdInt32, const OdGePoint3d *, const OdCmEntityColor *, const OdCmTransparency *, const OdGeVector3d *, const OdGsMarker *, OdInt32)
Definition: GiDummyGeometry.h:604
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdGiSubEntityTraitsToDataWrapper::setSelectionMarker
void setSelectionMarker(OdGsMarker)
Definition: GiDummyGeometry.h:309
OdGiWrapperGeometry::xline
virtual void xline(const OdGePoint3d &p1, const OdGePoint3d &p2)
Definition: GiDummyGeometry.h:167
OdGiDummyGeometry::ray
void ray(const OdGePoint3d &, const OdGePoint3d &)
Definition: GiDummyGeometry.h:571
OdGiGeometry::getWorldToModelTransform
virtual OdGeMatrix3d getWorldToModelTransform() const =0
OdGiWorldDraw_Stub::release
void release()
Definition: GiDummyGeometry.h:519
OdGiWrapperViewport::layerVisible
virtual bool layerVisible(OdDbStub *idLayer) const
Definition: GiDummyGeometry.h:811
OdGiSubEntityTraits::setLayer
virtual void setLayer(OdDbStub *layerId)=0
OdGiWrapperViewport::linetypeScaleMultiplier
virtual double linetypeScaleMultiplier() const
Definition: GiDummyGeometry.h:809
OdGiWrapperGeometry::circle
virtual void circle(const OdGePoint3d &p1, const OdGePoint3d &p2, const OdGePoint3d &p3)
Definition: GiDummyGeometry.h:82
OdGiSubEntityTraits::lineWeight
virtual OdDb::LineWeight lineWeight() const =0
OdGiDummySubEntityTraits::setThickness
void setThickness(double)
Definition: GiDummyGeometry.h:712
OdGiDummyViewportDraw::viewportObjectId
virtual OdDbStub * viewportObjectId() const
Definition: GiDummyGeometry.h:864
OdGiSubEntityTraitsToData::OdGiSubEntityTraitsToData
OdGiSubEntityTraitsToData()
Definition: GiDummyGeometry.h:363
OdGiSubEntityTraitsToDataWrapper::visualStyle
OdDbStub * visualStyle() const
Definition: GiDummyGeometry.h:342
OdGiSubEntityTraits::SelectionFlags
SelectionFlags
Definition: Gi.h:153
OdGiJoinCommonDraw::regenAbort
virtual bool regenAbort() const
Definition: GiDummyGeometry.h:825
OdGiCommonDraw::numberOfIsolines
virtual OdUInt32 numberOfIsolines() const =0
OdGiViewportDraw_Dummy::subEntityTraits
virtual OdGiSubEntityTraits & subEntityTraits() const
Definition: GiDummyGeometry.h:907
OdGiArcType
OdGiArcType
Definition: GiGeometry.h:683
OdGiGeometry::xline
virtual void xline(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)=0
OdGiDummyGeometry::mesh
void mesh(OdInt32, OdInt32, const OdGePoint3d *, const OdGiEdgeData *=0, const OdGiFaceData *=0, const OdGiVertexData *=0)
Definition: GiDummyGeometry.h:579
OdGiWorldDraw_Dummy::release
void release()
Definition: GiDummyGeometry.h:938
OdGiGeometry::draw
virtual void draw(const OdGiDrawable *pDrawable)=0
OdGiWrapperCommonDraw::regenType
virtual OdGiRegenType regenType() const
Definition: GiDummyGeometry.h:431
OdGiViewport::acadWindowId
virtual OdInt16 acadWindowId() const =0
OdGiSubEntityTraitsData
Definition: GiSubEntityTraitsData.h:73
OdGiWorldDraw_Dummy::geometry
virtual OdGiWorldGeometry & geometry() const
Definition: GiDummyGeometry.h:934
OdGiGeometry::rowOfDots
virtual void rowOfDots(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
Definition: GiGeometry.h:1300
OdGiViewportDraw_Stub::rawGeometry
virtual OdGiGeometry & rawGeometry() const
Definition: GiDummyGeometry.h:487
OdGiWrapperViewport::viewportId
virtual OdUInt32 viewportId() const
Definition: GiDummyGeometry.h:803
OdGiDummyGeometry::polyline
void polyline(OdInt32, const OdGePoint3d *, const OdGeVector3d *=0, OdGsMarker=-1)
Definition: GiDummyGeometry.h:546
OdGiDrawable
Definition: GiDrawable.h:49
OdGiDummyViewport::getEyeToWorldTransform
virtual OdGeMatrix3d getEyeToWorldTransform() const
Definition: GiDummyGeometry.h:757
OdGiWrapperGeometry::setGeom
void setGeom(OdGiGeometry &Geom)
Definition: GiDummyGeometry.h:45
OdGiCommonDraw::displayModelerSilhouettes
virtual bool displayModelerSilhouettes() const
OdGiGeometry::circularArc
virtual void circularArc(const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)=0
OdGiSubEntityTraitsChangedFlags::kDrawFlagsChanged
@ kDrawFlagsChanged
Definition: GiSubEntityTraitsData.h:54
OdGiSubEntityTraitsToDataWrapper::setMaterial
void setMaterial(OdDbStub *n)
Definition: GiDummyGeometry.h:316
OdGiGeometry::polygon
virtual void polygon(OdInt32 numVertices, const OdGePoint3d *vertexList)=0
OdGiWrapperViewport::getViewportDcCorners
virtual void getViewportDcCorners(OdGePoint2d &lower_left, OdGePoint2d &upper_right) const
Definition: GiDummyGeometry.h:805
OdGiSubEntityTraitsToDataWrapper::setMapper
void setMapper(const OdGiMapper *n)
Definition: GiDummyGeometry.h:317
OdGiViewportDraw_Dummy::OdGiViewportDraw_Dummy
OdGiViewportDraw_Dummy(OdDbBaseDatabase *pDb=0)
Definition: GiDummyGeometry.h:903
OdGiWrapperViewportGeometry::metafileDc
virtual void metafileDc(const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)
Definition: GiDummyGeometry.h:272
OdGiSubEntityTraits::setFillPlane
virtual void setFillPlane(const OdGeVector3d *pNormal=0)
OdGiSubEntityTraits::setSelectionGeom
virtual void setSelectionGeom(bool bSelectionFlag)
OdGiDummyViewport::doPerspective
virtual bool doPerspective(OdGePoint3d &) const
Definition: GiDummyGeometry.h:759
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdGiWorldGeometry
Definition: GiWorldGeometry.h:51
OdGiWrapperCommonDraw
Definition: GiDummyGeometry.h:423
OdGiWrapperGeometry::image
virtual void image(const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
Definition: GiDummyGeometry.h:198
OdGiDummyGeometry::pline
void pline(const OdGiPolyline &, OdUInt32=0, OdUInt32=0)
Definition: GiDummyGeometry.h:554
OdGiDummyGeometry::popClipBoundary
void popClipBoundary()
Definition: GiDummyGeometry.h:612
OdGiDummyViewportGeometry
Definition: GiDummyGeometry.h:646
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdGiViewport::isPerspective
virtual bool isPerspective() const =0
v
const GLfloat * v
Definition: gles2_ext.h:315
length
GLuint GLsizei GLsizei * length
Definition: gles2_ext.h:274
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
OdGiWrapperViewportDraw::viewport
virtual OdGiViewport & viewport() const
Definition: GiDummyGeometry.h:450
OdGiEdgeData
Definition: GiGeometry.h:67
OdGiSubEntityTraits::setMaterial
virtual void setMaterial(OdDbStub *materialId)=0
OdGiViewportDraw_Stub::OdGiViewportDraw_Stub
OdGiViewportDraw_Stub(OdGiViewportDraw &pVD, OdGiViewportGeometry &pVG, OdGiSubEntityTraits &pST)
Definition: GiDummyGeometry.h:480
OdGiDummyGeometry::polygon
void polygon(OdInt32, const OdGePoint3d *, const OdGeVector3d *)
Definition: GiDummyGeometry.h:552
OdGiSubEntityTraitsToDataWrapper::OdGiSubEntityTraitsToDataWrapper
OdGiSubEntityTraitsToDataWrapper()
Definition: GiDummyGeometry.h:300
OdGiDummyWorldGeometry::setExtents
virtual void setExtents(const OdGePoint3d *)
Definition: GiDummyGeometry.h:634
OdGiCommonDraw::currentGiPath
virtual const OdGiPathNode * currentGiPath() const
OdGiDummyGeometry::shape
void shape(const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, int, const OdGiTextStyle *)
Definition: GiDummyGeometry.h:556
OdGiDrawablePtr
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
Definition: GiCommonDraw.h:39
OdGiWrapperCommonDraw::numberOfIsolines
virtual OdUInt32 numberOfIsolines() const
Definition: GiDummyGeometry.h:436
OdGiDgLinetypeModifiers
Definition: GiDgLinetype.h:353
OdGiDummySubEntityTraits::lineTypeScale
double lineTypeScale() const
Definition: GiDummyGeometry.h:731
OdGiDummyCommonDraw::isDragging
virtual bool isDragging() const
Definition: GiDummyGeometry.h:845
OdGiDummyViewport
Definition: GiDummyGeometry.h:752
OdGiViewportDraw_Dummy::addRef
void addRef()
Definition: GiDummyGeometry.h:911
OdGiSubEntityTraits::shadowFlags
virtual ShadowFlags shadowFlags() const
OdGiViewportDraw_Dummy::rawGeometry
virtual OdGiGeometry & rawGeometry() const
Definition: GiDummyGeometry.h:906
OdGiWrapperGeometry::polygon
virtual void polygon(OdInt32 nbPoints, const OdGePoint3d *pVertexList, const OdGeVector3d *pNormal)
Definition: GiDummyGeometry.h:117
OdGiDummyViewport::getEyeToModelTransform
virtual OdGeMatrix3d getEyeToModelTransform() const
Definition: GiDummyGeometry.h:755
OdGiSubEntityTraits::drawFlags
virtual OdUInt32 drawFlags() const
OdGePoint3d::kOrigin
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition: GePoint3d.h:89
OdGiSubEntityTraitsWrapper::release
void release()
Definition: GiDummyGeometry.h:409
OdGiSubEntityTraits::fill
virtual const OdGiFill * fill() const
OdGiGeometry::ellipArc
virtual void ellipArc(const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)=0
TD_PackPush.h
OdGiWrapperViewport::linetypeGenerationCriteria
virtual double linetypeGenerationCriteria() const
Definition: GiDummyGeometry.h:810
OdGiDummyViewportGeometry::ownerDrawDc
virtual void ownerDrawDc(const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, const OdGiSelfGdiDrawable *, bool=true, bool=false)
Definition: GiDummyGeometry.h:684
OdGiSubEntityTraits
Definition: Gi.h:94
OdGiWrapperViewport::getEyeToModelTransform
virtual OdGeMatrix3d getEyeToModelTransform() const
Definition: GiDummyGeometry.h:788
OdGiWrapperGeometry::shell
virtual void shell(OdInt32 nbVertex, const OdGePoint3d *pVertexList, OdInt32 faceListSize, const OdInt32 *pFaceList, const OdGiEdgeData *pEdgeData=NULL, const OdGiFaceData *pFaceData=NULL, const OdGiVertexData *pVertexData=NULL)
Definition: GiDummyGeometry.h:132
OdGeNurbCurve3d
Definition: GeNurbCurve3d.h:49
OdGiViewportGeometry
Definition: GiViewportGeometry.h:117
StaticRxObject.h
OdGiSubEntityTraitsChangedFlags::kSelectionFlagsChanged
@ kSelectionFlagsChanged
Definition: GiSubEntityTraitsData.h:58
OdGiSubEntityTraits::setFill
virtual void setFill(const OdGiFill *pFill)
OdGiImageBGRA32
Definition: GiImage.h:213
OdGiViewport::getWorldToEyeTransform
virtual OdGeMatrix3d getWorldToEyeTransform() const =0
OdGiDummySubEntityTraits::plotStyleNameId
OdDbStub * plotStyleNameId() const
Definition: GiDummyGeometry.h:734
OdGiSubEntityTraitsChangedFlags::kPlotStyleChanged
@ kPlotStyleChanged
Definition: GiSubEntityTraitsData.h:49
OdGiViewport::getViewportDcCorners
virtual void getViewportDcCorners(OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0
OdGiDummySubEntityTraits::setSelectionMarker
void setSelectionMarker(OdGsMarker)
Definition: GiDummyGeometry.h:707
OdGiWrapperWorldGeometry
Definition: GiDummyGeometry.h:230
OdGiSubEntityTraitsChangedFlags::kAllChanged
@ kAllChanged
Definition: GiSubEntityTraitsData.h:63
GiSubEntityTraitsData.h
OdDb::kLnWt000
@ kLnWt000
Definition: OdaDefs.h:383
OdGiSubEntityTraitsToDataWrapper::selectionFlags
OdGiSubEntityTraits::SelectionFlags selectionFlags() const
Definition: GiDummyGeometry.h:348
OdGiDummySubEntityTraits::plotStyleNameType
OdDb::PlotStyleNameType plotStyleNameType() const
Definition: GiDummyGeometry.h:733
OdGiWrapperViewport::getWorldToEyeTransform
virtual OdGeMatrix3d getWorldToEyeTransform() const
Definition: GiDummyGeometry.h:789
OdGiSelfGdiDrawable
Definition: GiViewportGeometry.h:45
OdGiWrapperGeometry::getModelToWorldTransform
virtual OdGeMatrix3d getModelToWorldTransform() const
Definition: GiDummyGeometry.h:53
OdGiSubEntityTraits::selectionFlags
virtual SelectionFlags selectionFlags() const
OdGiWrapperViewport::doPerspective
virtual bool doPerspective(OdGePoint3d &p) const
Definition: GiDummyGeometry.h:792
OdGiRasterImage::TransparencyMode
TransparencyMode
Definition: GiRasterImage.h:82
OdGiSubEntityTraits::secondaryTrueColor
virtual OdCmEntityColor secondaryTrueColor() const
OdDb::kPlotStyleNameByBlock
@ kPlotStyleNameByBlock
Definition: OdaDefs.h:415
OdGiWrapperGeometry::polyline
virtual void polyline(OdInt32 nbPoints, const OdGePoint3d *pVertexList, const OdGeVector3d *pNormal=NULL, OdGsMarker lBaseSubEntMarker=-1)
Definition: GiDummyGeometry.h:105
OdGiDeviationType
OdGiDeviationType
Definition: GiCommonDraw.h:64
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdGiDummySubEntityTraits::setLineTypeScale
void setLineTypeScale(double=1.0)
Definition: GiDummyGeometry.h:711
OdGiSubEntityTraits::setFillType
virtual void setFillType(OdGiFillType fillType)=0
OdGiSubEntityTraitsWrapper::getTraits
OdGiSubEntityTraits & getTraits()
Definition: GiDummyGeometry.h:402
OdGiGeometry::nurbs
virtual void nurbs(const OdGeNurbCurve3d &nurbsCurve)=0
OdGiMetafile
Definition: GiMetafile.h:40
OdGiSubEntityTraitsToDataWrapper::color
OdUInt16 color() const
Definition: GiDummyGeometry.h:329
OdGiWrapperCommonDraw::deviation
virtual double deviation(const OdGiDeviationType t, const OdGePoint3d &p) const
Definition: GiDummyGeometry.h:439
OdGiDummySubEntityTraits::setSectionable
void setSectionable(bool)
Definition: GiDummyGeometry.h:721
OdRxObject::release
virtual void release()=0
OdGiDummyGeometry::popModelTransform
void popModelTransform()
Definition: GiDummyGeometry.h:619
OdDb::PlotStyleNameType
PlotStyleNameType
Definition: OdaDefs.h:413
OdGiSubEntityTraits::fillType
virtual OdGiFillType fillType() const =0
OdGiWrapperGeometry::circle
virtual void circle(const OdGePoint3d &center, double radius, const OdGeVector3d &normal)
Definition: GiDummyGeometry.h:77
OdGiDummySubEntityTraits::setSelectionFlags
void setSelectionFlags(OdGiSubEntityTraits::SelectionFlags)
Definition: GiDummyGeometry.h:722
OdGiWrapperCommonDraw::OdGiWrapperCommonDraw
OdGiWrapperCommonDraw()
Definition: GiDummyGeometry.h:429
OdGiDummySubEntityTraits::shadowFlags
OdGiSubEntityTraits::ShadowFlags shadowFlags() const
Definition: GiDummyGeometry.h:741
OdGiDummyGeometry::shell
void shell(OdInt32, const OdGePoint3d *, OdInt32, const OdInt32 *, const OdGiEdgeData *=0, const OdGiFaceData *=0, const OdGiVertexData *=0)
Definition: GiDummyGeometry.h:586
OdGiWrapperGeometry::pline
virtual void pline(const OdGiPolyline &p, OdUInt32 i, OdUInt32 n)
Definition: GiDummyGeometry.h:48
OdGiSubEntityTraitsToDataWrapper::lineType
OdDbStub * lineType() const
Definition: GiDummyGeometry.h:332
OdGiSubEntityTraitsToDataWrapper::lineTypeScale
double lineTypeScale() const
Definition: GiDummyGeometry.h:336
OdGiGeometry::pushModelTransform
virtual void pushModelTransform(const OdGeVector3d &normal)=0
OdGiSubEntityTraitsToDataWrapper::setThickness
void setThickness(double n)
Definition: GiDummyGeometry.h:314
OdGiViewport::getFrontAndBackClipValues
virtual bool getFrontAndBackClipValues(bool &clipFront, bool &clipBack, double &front, double &back) const =0
OdGiDummySubEntityTraits::setFillType
void setFillType(OdGiFillType)
Definition: GiDummyGeometry.h:708
OdGiDummyGeometry::edge
virtual void edge(const OdGiEdge2dArray &)
Definition: GiDummyGeometry.h:602
OdGiSubEntityTraitsToDataWrapper::setTrueColor
void setTrueColor(const OdCmEntityColor &n)
Definition: GiDummyGeometry.h:306
OdGiSubEntityTraitsToDataWrapper
Definition: GiDummyGeometry.h:296
OdGiJoinCommonDraw::deviation
virtual double deviation(const OdGiDeviationType t, const OdGePoint3d &p) const
Definition: GiDummyGeometry.h:832
OdGiSubEntityTraitsChangedFlags
Definition: GiSubEntityTraitsData.h:38
OdGiDummySubEntityTraits::setLineWeight
void setLineWeight(OdDb::LineWeight)
Definition: GiDummyGeometry.h:710
OdGiDummyViewport::viewDir
virtual OdGeVector3d viewDir() const
Definition: GiDummyGeometry.h:765
OdGiWorldDraw_Dummy
Definition: GiDummyGeometry.h:924
OdGiWrapperViewportDraw::viewportObjectId
virtual OdDbStub * viewportObjectId() const
Definition: GiDummyGeometry.h:454
OdGiWorldDraw_Dummy::addRef
void addRef()
Definition: GiDummyGeometry.h:937
OdGiDummySubEntityTraits::lineWeight
OdDb::LineWeight lineWeight() const
Definition: GiDummyGeometry.h:730
OdGiViewport::doPerspective
virtual bool doPerspective(OdGePoint3d &point) const =0
OdGiSubEntityTraitsChangedFlags::kLineTypeChanged
@ kLineTypeChanged
Definition: GiSubEntityTraitsData.h:44
OdGiSubEntityTraits::setVisualStyle
virtual void setVisualStyle(const OdDbStub *visualStyleId)
OdGiSubEntityTraits::kShadowsCastAndReceive
@ kShadowsCastAndReceive
Definition: Gi.h:146
OdGiDummyCommonDraw::deviation
virtual double deviation(const OdGiDeviationType t, const OdGePoint3d &p) const
Definition: GiDummyGeometry.h:847
OdGiDummySubEntityTraits::setVisualStyle
void setVisualStyle(const OdDbStub *)
Definition: GiDummyGeometry.h:716
OdGiDummyGeometry::pushModelTransform
void pushModelTransform(const OdGeMatrix3d &)
Definition: GiDummyGeometry.h:615
OdGiSubEntityTraitsToData::copyTraits
static void copyTraits(OdGiSubEntityTraits &pFrom, OdGiSubEntityTraits &pTo, OdUInt32 nFlags=kAllChanged)
Definition: GiDummyGeometry.h:366
OdGiWrapperViewport::viewDir
virtual OdGeVector3d viewDir() const
Definition: GiDummyGeometry.h:802
OdGiGeometry
Definition: GiGeometry.h:698
OdStaticRxObject
Definition: StaticRxObject.h:57
OdGiDummySubEntityTraits::selectionFlags
OdGiSubEntityTraits::SelectionFlags selectionFlags() const
Definition: GiDummyGeometry.h:743
OdDb::LineWeight
LineWeight
Definition: OdaDefs.h:382
OdGiSubEntityTraitsChangedFlags::kSectionableChanged
@ kSectionableChanged
Definition: GiSubEntityTraitsData.h:57
OdGiDummyViewportGeometry::rasterImageDc
virtual void rasterImageDc(const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, const OdGiRasterImage *, const OdGePoint2d *, OdUInt32, bool=false, double=50.0, double=50.0, double=0.0)
Definition: GiDummyGeometry.h:664
OdGiDummyGeometry
Definition: GiDummyGeometry.h:528
OdGiDummyGeometry::setExtents
void setExtents(const OdGePoint3d *)
Definition: GiDummyGeometry.h:609
OdGiCommonDraw::rawGeometry
virtual OdGiGeometry & rawGeometry() const =0
OdGiWrapperViewport::doInversePerspective
virtual bool doInversePerspective(OdGePoint3d &p) const
Definition: GiDummyGeometry.h:793
OdGiViewport::getNumPixelsInUnitSquare
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const =0
OdGiCommonDraw::regenType
virtual OdGiRegenType regenType() const =0
OdGiCommonDraw::context
virtual OdGiContext * context() const =0
OdGiDummySubEntityTraits::sectionable
bool sectionable() const
Definition: GiDummyGeometry.h:742
OdGiWorldDraw_Stub::geometry
virtual OdGiWorldGeometry & geometry() const
Definition: GiDummyGeometry.h:516
OdGiDummySubEntityTraits::transparency
OdCmTransparency transparency() const
Definition: GiDummyGeometry.h:738
OdGiWorldDraw_Stub::ODRX_USING_HEAP_OPERATORS
ODRX_USING_HEAP_OPERATORS(OdGiWrapperWorldDraw< OdGiWorldDraw >)
OdGeVector3d::kYAxis
static GE_STATIC_EXPORT const OdGeVector3d kYAxis
Definition: GeVector3d.h:90
OdGiSubEntityTraitsChangedFlags::kTransparencyChanged
@ kTransparencyChanged
Definition: GiSubEntityTraitsData.h:53
OdGiWrapperGeometry::circularArc
virtual void circularArc(const OdGePoint3d &start, const OdGePoint3d &point, const OdGePoint3d &end, OdGiArcType arcType=kOdGiArcSimple)
Definition: GiDummyGeometry.h:97
OdGiDummyContext::database
virtual OdDbBaseDatabase * database() const
Definition: GiDummyGeometry.h:885
OdGiDummySubEntityTraits::setMaterial
void setMaterial(OdDbStub *)
Definition: GiDummyGeometry.h:714
OdRxObject::addRef
virtual void addRef()=0
OdGiSubEntityTraitsToDataWrapper::lineWeight
OdDb::LineWeight lineWeight() const
Definition: GiDummyGeometry.h:335
OdGiWorldDraw_Stub
Definition: GiDummyGeometry.h:503
OdGiCommonDraw::isDragging
virtual bool isDragging() const =0
OdGiDummySubEntityTraits::setMapper
void setMapper(const OdGiMapper *)
Definition: GiDummyGeometry.h:715
OdGiViewport::getModelToEyeTransform
virtual OdGeMatrix3d getModelToEyeTransform() const =0
OdGiGeometry::shell
virtual void shell(OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
OdGiWrapperViewport::isPerspective
virtual bool isPerspective() const
Definition: GiDummyGeometry.h:791
OdGiWrapperViewportGeometry::polylineDc
virtual void polylineDc(OdUInt32 numVertices, const OdGePoint3d *vertexList)
Definition: GiDummyGeometry.h:252
OdGiWrapperViewportDraw::isValidId
virtual bool isValidId(const OdUInt32 viewportId) const
Definition: GiDummyGeometry.h:453
OdGiSubEntityTraitsChangedFlags::kLayerChanged
@ kLayerChanged
Definition: GiSubEntityTraitsData.h:43
OdGiDummySubEntityTraits::setLineType
void setLineType(OdDbStub *)
Definition: GiDummyGeometry.h:706
OdGiJoinCommonDraw::context
virtual OdGiContext * context() const
Definition: GiDummyGeometry.h:828
OdGiDummySubEntityTraits::setColor
void setColor(OdUInt16)
Definition: GiDummyGeometry.h:703
OdGiWrapperCommonDraw::regenAbort
virtual bool regenAbort() const
Definition: GiDummyGeometry.h:432
OdGiDummyViewport::linetypeScaleMultiplier
virtual double linetypeScaleMultiplier() const
Definition: GiDummyGeometry.h:770
OdGiDummySubEntityTraits::setSelectionGeom
void setSelectionGeom(bool)
Definition: GiDummyGeometry.h:719
OdGiWrapperGeometry::polygon
virtual void polygon(OdInt32 nbPoints, const OdGePoint3d *pVertexList)
Definition: GiDummyGeometry.h:113
OdGiDummySubEntityTraits::material
OdDbStub * material() const
Definition: GiDummyGeometry.h:735
OdGiSubEntityTraitsToDataWrapper::transparency
OdCmTransparency transparency() const
Definition: GiDummyGeometry.h:343
OdGiViewportDraw_Dummy
Definition: GiDummyGeometry.h:898
OdGiSubEntityTraits::setDrawFlags
virtual void setDrawFlags(OdUInt32 drawFlags)
OdGiDummyContext::openDrawable
virtual OdGiDrawablePtr openDrawable(OdDbStub *)
Definition: GiDummyGeometry.h:886
OdGiWrapperGeometry
Definition: GiDummyGeometry.h:42
OdGiDummySubEntityTraits::setShadowFlags
void setShadowFlags(OdGiSubEntityTraits::ShadowFlags)
Definition: GiDummyGeometry.h:720
OdGiDummyGeometry::ellipArc
void ellipArc(const OdGeEllipArc3d &, const OdGePoint3d *=0, OdGiArcType=kOdGiArcSimple)
Definition: GiDummyGeometry.h:575
OdGiDummyGeometry::draw
void draw(const OdGiDrawable *)
Definition: GiDummyGeometry.h:613
OdGiSubEntityTraits::visualStyle
virtual OdDbStub * visualStyle() const
OdGiDummySubEntityTraits::selectionGeom
bool selectionGeom() const
Definition: GiDummyGeometry.h:740
OdGiWrapperGeometry::getWorldToModelTransform
virtual OdGeMatrix3d getWorldToModelTransform() const
Definition: GiDummyGeometry.h:57
OdGiGeometry::image
virtual void image(const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)=0
OdGiDummyViewportDraw::isValidId
virtual bool isValidId(const OdUInt32 viewportId) const
Definition: GiDummyGeometry.h:863
OdGiDummySubEntityTraits::mapper
const OdGiMapper * mapper() const
Definition: GiDummyGeometry.h:736
OdGiRegenType
OdGiRegenType
Definition: GiCommonDraw.h:50
OdGiWrapperViewportDraw
Definition: GiDummyGeometry.h:448
OdGiGeometry::polyline
virtual void polyline(OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)=0
OdGiSubEntityTraitsToDataWrapper::sectionable
bool sectionable() const
Definition: GiDummyGeometry.h:347
OdGiWrapperViewportGeometry::polygonEye
virtual void polygonEye(OdUInt32 numVertices, const OdGePoint3d *vertexList)
Definition: GiDummyGeometry.h:248
OdGiDummyCommonDraw
Definition: GiDummyGeometry.h:841
OdGiViewportDraw_Dummy::context
virtual OdGiContext * context() const
Definition: GiDummyGeometry.h:909
OdGiDummyViewport::getFrontAndBackClipValues
virtual bool getFrontAndBackClipValues(bool &clip_front, bool &clip_back, double &, double &) const
Definition: GiDummyGeometry.h:769
OdGiSubEntityTraits::sectionable
virtual bool sectionable() const
OdGiDummySubEntityTraits::setPlotStyleName
void setPlotStyleName(OdDb::PlotStyleNameType, OdDbStub *=0)
Definition: GiDummyGeometry.h:713
OdGiSubEntityTraitsToDataWrapper::setSelectionGeom
void setSelectionGeom(bool bSelectionFlag)
Definition: GiDummyGeometry.h:321
OdGiSubEntityTraits::setThickness
virtual void setThickness(double thickness)=0
OdGiSubEntityTraitsToDataWrapper::setPlotStyleName
void setPlotStyleName(OdDb::PlotStyleNameType n, OdDbStub *m=0)
Definition: GiDummyGeometry.h:315
OdGiDummyViewportGeometry::polylineEye
virtual void polylineEye(OdUInt32, const OdGePoint3d *)
Definition: GiDummyGeometry.h:648
OdGeMatrix3d::kIdentity
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
Definition: GeMatrix3d.h:79
OdGiWorldDraw_Dummy::database
virtual OdDbBaseDatabase * database() const
Definition: GiDummyGeometry.h:930
OdGiWrapperCommonDraw::displayModelerSilhouettes
virtual bool displayModelerSilhouettes() const
Definition: GiDummyGeometry.h:438
OdGiJoinCommonDraw::rawGeometry
virtual OdGiGeometry & rawGeometry() const
Definition: GiDummyGeometry.h:823
OdGiSubEntityTraits::ShadowFlags
ShadowFlags
Definition: Gi.h:145
OdGiSubEntityTraits::setMapper
virtual void setMapper(const OdGiMapper *pMapper)=0
OdGiMapper
Definition: GiMaterial.h:1123
OdGiDummySubEntityTraits::drawFlags
OdUInt32 drawFlags() const
Definition: GiDummyGeometry.h:739
OdGePoint2d::set
OdGePoint2d & set(double xx, double yy)
Definition: GePoint2d.h:290
OdGiDummySubEntityTraits::setLayer
void setLayer(OdDbStub *)
Definition: GiDummyGeometry.h:705
OdGiWrapperGeometry::popModelTransform
virtual void popModelTransform()
Definition: GiDummyGeometry.h:70
OdGiSubEntityTraitsToDataWrapper::setLineTypeScale
void setLineTypeScale(double n=1.0)
Definition: GiDummyGeometry.h:313
OdGiSubEntityTraitsToData
Definition: GiDummyGeometry.h:361
OdGiDummyGeometry::pushModelTransform
void pushModelTransform(const OdGeVector3d &)
Definition: GiDummyGeometry.h:617
OdGiDummyWorldGeometry::startAttributesSegment
virtual void startAttributesSegment()
Definition: GiDummyGeometry.h:637
OdGiSubEntityTraitsToDataWrapper::fillType
OdGiFillType fillType() const
Definition: GiDummyGeometry.h:333
OdGiSubEntityTraitsToDataWrapper::layer
OdDbStub * layer() const
Definition: GiDummyGeometry.h:331
OdGiWrapperViewport::getCameraLocation
virtual OdGePoint3d getCameraLocation() const
Definition: GiDummyGeometry.h:799
OdGiGeometry::mesh
virtual void mesh(OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
OdGiViewport::linetypeScaleMultiplier
virtual double linetypeScaleMultiplier() const =0
OdGiSubEntityTraitsChangedFlags::kThicknessChanged
@ kThicknessChanged
Definition: GiSubEntityTraitsData.h:48
OdGiSubEntityTraits::lineStyleModifiers
virtual const OdGiDgLinetypeModifiers * lineStyleModifiers() const
OdGiSubEntityTraitsChangedFlags::kLineTypeScaleChanged
@ kLineTypeScaleChanged
Definition: GiSubEntityTraitsData.h:47
OdGiViewport::viewDir
virtual OdGeVector3d viewDir() const =0
OdGiDummyGeometry::text
void text(const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, const OdChar *, OdInt32, bool, const OdGiTextStyle *)
Definition: GiDummyGeometry.h:564
OdGiJoinCommonDraw::ODRX_USING_HEAP_OPERATORS
ODRX_USING_HEAP_OPERATORS(T1)
OdGiRasterImage
Definition: GiRasterImage.h:37
OdStack.h
OdGiSubEntityTraitsToData::OdGiSubEntityTraitsToData
OdGiSubEntityTraitsToData(OdGiSubEntityTraitsData &pData)
Definition: GiDummyGeometry.h:364
OdGiViewportDraw
Definition: GiViewportDraw.h:50
OdGiSubEntityTraits::setSecondaryTrueColor
virtual void setSecondaryTrueColor(const OdCmEntityColor &color)
OdGiWrapperViewportGeometry::polygonDc
virtual void polygonDc(OdUInt32 numVertices, const OdGePoint3d *vertexList)
Definition: GiDummyGeometry.h:256
OdGiSubEntityTraitsWrapper::OdGiSubEntityTraitsWrapper
OdGiSubEntityTraitsWrapper()
Definition: GiDummyGeometry.h:404
OdGiViewport::viewportId
virtual OdUInt32 viewportId() const =0
OdGiSubEntityTraitsToDataWrapper::thickness
double thickness() const
Definition: GiDummyGeometry.h:337
OdGiSubEntityTraits::setLineTypeScale
virtual void setLineTypeScale(double lineTypeScale=1.0)=0
OdGiDummySubEntityTraits::addLight
void addLight(const OdDbStub *)
Definition: GiDummyGeometry.h:737
OdGiViewport::getEyeToModelTransform
virtual OdGeMatrix3d getEyeToModelTransform() const =0
OdGiSubEntityTraitsToDataWrapper::setFillType
void setFillType(OdGiFillType n)
Definition: GiDummyGeometry.h:310
OdGiSubEntityTraitsToDataWrapper::setLineType
void setLineType(OdDbStub *n)
Definition: GiDummyGeometry.h:308
OdGiCommonDraw::regenAbort
virtual bool regenAbort() const =0
OdGiWorldDraw_Stub::addRef
void addRef()
Definition: GiDummyGeometry.h:518
OdGiViewportDraw_Stub
Definition: GiDummyGeometry.h:476
OdGiDummyViewport::getNumPixelsInUnitSquare
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &, OdGePoint2d &, bool=true) const
Definition: GiDummyGeometry.h:761
OdGiSubEntityTraitsChangedFlags::kLineWeightChanged
@ kLineWeightChanged
Definition: GiSubEntityTraitsData.h:46
OdGiSubEntityTraitsToDataWrapper::secondaryTrueColor
OdCmEntityColor secondaryTrueColor() const
Definition: GiDummyGeometry.h:349
OdGiSubEntityTraitsChangedFlags::kVisualStyleChanged
@ kVisualStyleChanged
Definition: GiSubEntityTraitsData.h:52
OdGiSubEntityTraits_Stub
OdStaticRxObject< OdGiDummySubEntityTraits< OdGiSubEntityTraits > > OdGiSubEntityTraits_Stub
Definition: GiDummyGeometry.h:946
Gi.h
OdGiSubEntityTraitsChangedFlags::kMaterialChanged
@ kMaterialChanged
Definition: GiSubEntityTraitsData.h:50
OdGiSubEntityTraits::fillPlane
virtual bool fillPlane(OdGeVector3d &normal)
OdGiDummyGeometry::text
void text(const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, double, double, double, const OdString &)
Definition: GiDummyGeometry.h:560
OdGiWrapperGeometry::pushModelTransform
virtual void pushModelTransform(const OdGeVector3d &vNormal)
Definition: GiDummyGeometry.h:62
OdGiViewportDraw_Dummy::database
virtual OdDbBaseDatabase * database() const
Definition: GiDummyGeometry.h:904
OdGiDummyViewport::linetypeGenerationCriteria
virtual double linetypeGenerationCriteria() const
Definition: GiDummyGeometry.h:771
OdGePoint2d
Definition: GePoint2d.h:60
OdGiDummyViewport::getCameraTarget
virtual OdGePoint3d getCameraTarget() const
Definition: GiDummyGeometry.h:763
OdGiSubEntityTraitsToDataWrapper::setDrawFlags
void setDrawFlags(OdUInt32 drawFlags)
Definition: GiDummyGeometry.h:320