CFx SDK Documentation  2020SP3
GiBaseVectorizer.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 // GiBaseVectorizer.h: interface for the OdGiBaseVectorizer class.
25 //
27 
28 #ifndef _ODGIBASEVECTORIZER_INCLUDED_
29 #define _ODGIBASEVECTORIZER_INCLUDED_
30 
31 #include "Gi/GiDrawImpl.h"
32 #include "Gs/Gs.h"
33 #include "Ge/GeExtents3d.h"
34 #include "Gi/GiViewport.h"
35 #include "Gi/GiXform.h"
36 #include "Gi/GiModelToViewProc.h"
38 #include "Gi/GiConveyorConnector.h"
39 #include "Gi/GiDeviation.h"
40 #include "Ge/GePlane.h"
41 #include "Gi/GiDgLinetype.h"
42 #include "Gi/GiOrthoClipper.h"
43 #include "Gi/GiExtAccum.h"
45 #include "Gi/GiTextStyle.h"
46 #include "Gi/GiLayerTraitsData.h"
48 #include "Gi/GiTraitsCache.h"
49 #include "Gi/GiDummyGeometry.h"
50 
51 class OdGiVisualStyle;
52 
53 class OdGiBaseVectorizer;
54 
55 class OdDbStub;
56 
58 
59 #include "TD_PackPush.h"
60 
61 // Enable traits optimization
62 #define ENABLE_GITRAITSOPTIMIZATION
63 
64 //FELIX_CHANGE_BEGIN
65 //TODO: review XENON highlight geometry support
66 #ifdef XENON
67 #undef ENABLE_GITRAITSOPTIMIZATION
68 #endif
69 //FELIX_CHANGE_END
70 
80  , public OdGiSubEntityTraits
81 {
82 protected:
84 
87 
89 public:
95  virtual void setContext(OdGiContext* pUserContext);
97 
98  OdUInt16 color() const;
100  OdDbStub* layer() const;
101  OdDbStub* lineType() const;
104  double lineTypeScale() const;
105  double thickness() const;
107  OdDbStub* plotStyleNameId() const;
108  OdDbStub* material() const;
109  const OdGiMapper* mapper() const;
110  OdDbStub* visualStyle() const;
113  bool selectionGeom() const;
115  bool sectionable() const;
119  const OdGiFill* fill() const;
120 
121  void setTrueColor(const OdCmEntityColor& color);
122  void setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbStub* pPlotStyleNameId = 0);
123  void setColor(OdUInt16 color);
124  void setLayer(OdDbStub* layerId);
125  void setLineType(OdDbStub* lineTypeId);
126  void setFillType(OdGiFillType fillType);
127  void setLineWeight(OdDb::LineWeight lineWeight);
128  void setLineTypeScale(double lineTypeScale);
129  void setThickness(double thickness);
130  void setSelectionMarker(OdGsMarker selectionMarker);
131  void setMaterial(OdDbStub* pMaterialId);
132  void setMapper(const OdGiMapper *pMapper);
133  void setVisualStyle(const OdDbStub* visualStyleId);
134  void setTransparency(const OdCmTransparency &transparency);
135  void setDrawFlags(OdUInt32 drawFlags);
136  void setSelectionGeom(bool bSelectionFlag);
137  void setShadowFlags(ShadowFlags shadowFlags);
138  void setSectionable(bool bSectionableFlag);
139  void setSelectionFlags(SelectionFlags selectionFlags);
142  void setFill(const OdGiFill* pFill);
143 
145  // OdGiCommonDraw Overrides
146 
148 
150 
152 
154 };
155 
167  , public OdGiViewportDraw_
168  , public OdGiConveyorContext
169  , public OdGiDeviation
171 {
172 protected:
174 
176 
178 
179  mutable OdDbStub* m_layerId;
181 #if (TD_MAJOR_VERSION > 4) || (TD_MINOR_VERSION > 3)
182 #pragma MARKMESSAGE("4.3 -> 4.4 : AMark : Remove preprocessor condition.");
183  struct LayerTraitsCache : public OdGiLayerTraitsData
184  { OdDbStub* m_effectiveLayerId;
185  LayerTraitsCache() : m_effectiveLayerId(NULL) {} };
186  typedef std::map<OdDbStub*, LayerTraitsCache> LayerTraitsCacheMap;
187  mutable LayerTraitsCacheMap m_layerTraitsCache;
188 #endif
189 
191  mutable OdDbStub* m_materialId;
192  mutable OdDbStub* m_byLayerMaterialId;
193  mutable OdDbStub* m_byBlockMaterialId;
196  mutable OdDbStub* m_effectiveMaterialId;
197  void actualizeMaterialAttributes(OdDbStub* materialId) const;
198 
199  virtual OdDbStub* switchLayer(OdDbStub* layerId) const;
201  mutable OdDbStub* m_effectiveLayerId;
202 
205 
208 
211 
213 
214  virtual bool layerVisible(OdDbStub* layerId) const;
219  void updateLayerTraits(OdGiSubEntityTraitsData& subEntityTraits) const;
220 
221 public:
225  bool isEntityTraitsDataChanged(int bit = kSomeChanged) const { return GETBIT(m_entityTraitsDataChanged, bit); }
226 
230  virtual void setEntityTraitsDataChanged() { m_entityTraitsDataChanged = kAllChanged; }
234  virtual void setEntityTraitsDataChanged(int bit, bool value = true) { SETBIT(m_entityTraitsDataChanged, bit, value); }
235 
239  void clearEntityTraitsDataChanged() const { m_entityTraitsDataChanged = 0; }
240 
250  bool effectivelyVisible() const
251  {
252  const OdGiSubEntityTraitsData& traits = effectiveTraits();
253  return (
254  (GETBIT(m_flags, kDrawLayerOff ) || !traits.isLayerOff()) &&
255  (GETBIT(m_flags, kDrawLayerFrozen) || !traits.isLayerFrozen())
256  );
257  }
258 
259 public:
261  // OdGiConveyorContext Overrides
262 
266  const OdGiViewport* giViewport() const;
267  const OdGsView* gsView() const;
268 
270 
271 private:
272  // Data Members
273 
274  OdGiConveyorEntryPoint m_dcEntryPoint;
275  OdGiTextStyle m_textStyle;
276  OdGePlane m_primitivePlane;
277  OdGeVector3d m_extrusion;
278  OdGiXformPtr m_pDcInputToOutput;
279 #ifdef ENABLE_GITRAITSOPTIMIZATION
280  bool m_bResetEntityTraitsData; //reset them before setAttributes()
281 #endif
282 protected:
286 
301  const OdGeVector3d* extrusion(const OdGePoint3d& firstPoint, const OdGePoint3d& secondPoint, const OdGePoint3d& thirdPoint);
302  const OdGeVector3d* extrusion(const OdGeVector3d& normal);
303  const OdGeVector3d* extrusion(const OdGeVector3d* pNormal)
304  {
305  if(pNormal)
306  return extrusion(*pNormal);
307  return 0;
308  }
309  const OdGeVector3d* extrusion(const OdGePoint3d& origin, const OdGeVector3d& u, const OdGeVector3d& v);
310 
313 
316 
317 public:
320  const OdGiDrawableDesc *drawableDesc() const { return m_pDrawableDesc; }
321 protected:
322 
323  enum Flags
324  {
325  kFirstFlag = 1,
326 
327  kSuppressViewportDraw = kFirstFlag << 0,
328  kDrawInvisibleEnts = kFirstFlag << 1,
329  kDrawLayerOff = kFirstFlag << 2,
330  kDrawLayerFrozen = kFirstFlag << 3,
331  kIgnoreFillPlane = kFirstFlag << 4,
332  kSelectionMode = kFirstFlag << 5,
333  kAttributesSegment = kFirstFlag << 6,
334  kXrefOverride = kFirstFlag << 7,
335 
336  kLastFlag = kXrefOverride
337  };
338  mutable OdUInt32 m_flags;
340 
342 
353  virtual void affectTraits(const OdGiSubEntityTraitsData* pSource, OdGiSubEntityTraitsData& destination) const;
354 
358  virtual double linetypeGenerationCriteria() const;
359 
360 #ifdef ENABLE_GITRAITSOPTIMIZATION
361  inline void resetEntityTraitsData();
362 #endif
363 public:
365  // OdGiConveyorContext Override
366 
370  virtual const OdGiSubEntityTraitsData& effectiveTraits() const;
371 
372  virtual void setEffectiveTraits(const OdGiSubEntityTraitsData& traits,
373  const OdGeVector3d* fillNormal = NULL);
374 
376 protected:
377 
386  static OdRxClass* desc() { return ::OdRxObject::desc(); }
387 
397  virtual void selectionMarkerOnChange(OdGsMarker nSelectionMarker);
398 
399 public:
402 
411  OdRxClass* isA() const;
412 
418  OdRxObject* queryX(const OdRxClass* pProtocolClass) const;
419 
424 
430 
435 
441 
448  OdGiConveyorContext* drawContext() { return this; }
449 
450  const OdGiConveyorContext* drawContext() const { return this; }
451 
455  virtual void beginViewVectorization();
456 
460  virtual void endViewVectorization();
461 
463  // OdGiSubEntityTraits Overrides
464 
465  void setTrueColor(const OdCmEntityColor& trueColor);
486  void setPlotStyleNameId(OdDbStub* plotStyleNameId);
487  void setColor(OdUInt16 color);
488  void setLayer(OdDbStub* layerId);
489  void setLineType(OdDbStub* lineTypeId);
490  void setFillType(OdGiFillType fillType);
491  void setLineWeight(OdDb::LineWeight lineWeight);
492  void setLineTypeScale(double lineTypeScale);
493  void setThickness(double thickness);
494 
495  void setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbStub* pPlotStyleNameId= 0);
496  void setSelectionMarker(OdGsMarker selectionMarker);
497  void setMaterial(OdDbStub* pMaterialId);
498  void setMapper(const OdGiMapper *pMapper);
499  void setVisualStyle(const OdDbStub* pVisualStyleId);
500  void setTransparency(const OdCmTransparency& transparency);
501  void setDrawFlags(OdUInt32 drawFlags);
502  void setSelectionGeom(bool bSelectionFlag);
503  void setShadowFlags(ShadowFlags shadowFlags);
504  void setSectionable(bool bSectionableFlag);
505  void setSelectionFlags(SelectionFlags selectionFlags);
506 
509 
510  void setFill(const OdGiFill* pFill);
511 
513 
515  // OdGiCommonDraw Overrides
516 
518  bool regenAbort() const;
520  double deviation(const OdGiDeviationType deviationType, const OdGePoint3d& pointOnCurve) const;
524  bool isDragging() const;
525 
527 
529  void setDrawContextFlags(OdUInt32 flags, bool bFlag);
530 
532  // OdGiViewportDraw Override
533  //
534 
539 
543  bool isValidId(const OdUInt32 viewportId) const;
544 
548  OdDbStub* viewportObjectId() const;
549 
551 
553 
554 
556  // OdGiGeometry Overrides
557 
558  void circle(const OdGePoint3d& center, double radius, const OdGeVector3d& normal);
559 
560  void circle(const OdGePoint3d& firstPoint, const OdGePoint3d& secondPoint, const OdGePoint3d& thirdPoint);
561 
562  void circularArc(const OdGePoint3d& center,
563  double radius,
564  const OdGeVector3d& normal,
565  const OdGeVector3d& startVector,
566  double sweepAngle,
567  OdGiArcType arcType = kOdGiArcSimple);
568 
569  void circularArc(const OdGePoint3d& firstPoint,
570  const OdGePoint3d& secondPoint,
571  const OdGePoint3d& thirdPoint,
572  OdGiArcType arcType = kOdGiArcSimple);
573 
574  void polyline(OdInt32 numVertices,
575  const OdGePoint3d* vertexList,
576  const OdGeVector3d* pNormal = 0,
577  OdGsMarker baseSubEntMarker = -1);
578 
579  void polygon(OdInt32 numVertices, const OdGePoint3d* vertexList);
580  void polygon(OdInt32 numVertices, const OdGePoint3d* vertexList, const OdGeVector3d* pNormal);
581 
582  void pline(const OdGiPolyline& polyline, OdUInt32 fromIndex = 0, OdUInt32 numSegs = 0);
583 
593  void shape(const OdGePoint3d& position,
594  const OdGeVector3d& normal, const OdGeVector3d& direction,
595  int shapeNumber, const OdGiTextStyle* pTextStyle);
596 
597  void text(const OdGePoint3d& position,
598  const OdGeVector3d& normal, const OdGeVector3d& direction,
599  double height, double width, double oblique, const OdString& msg);
600 
601  void text(const OdGePoint3d& position,
602  const OdGeVector3d& normal, const OdGeVector3d& direction,
603  const OdChar* msg, OdInt32 length, bool raw, const OdGiTextStyle* pTextStyle);
604 
605  void xline(const OdGePoint3d& firstPoint, const OdGePoint3d& secondPoint);
606 
607  void ray(const OdGePoint3d& basePoint, const OdGePoint3d& throughPoint );
608 
609  void nurbs(const OdGeNurbCurve3d& nurbsCurve);
610 
611  void ellipArc(const OdGeEllipArc3d& ellipArc,
612  const OdGePoint3d* endPointsOverrides = 0,
613  OdGiArcType arcType = kOdGiArcSimple);
614 
615  void mesh(OdInt32 numRows,
616  OdInt32 numColumns,
617  const OdGePoint3d* vertexList,
618  const OdGiEdgeData* pEdgeData = 0,
619  const OdGiFaceData* pFaceData = 0,
620  const OdGiVertexData* pVertexData = 0);
621 
622  void shell(OdInt32 numVertices,
623  const OdGePoint3d* vertexList,
624  OdInt32 faceListSize,
625  const OdInt32* faceList,
626  const OdGiEdgeData* pEdgeData = 0,
627  const OdGiFaceData* pFaceData = 0,
628  const OdGiVertexData* pVertexData = 0);
629 
630  void worldLine(const OdGePoint3d points[2]);
631 
632  void image(const OdGiImageBGRA32& img,
633  const OdGePoint3d& origin,
634  const OdGeVector3d& uVec,
635  const OdGeVector3d& vVec,
637 
638  void edge(const OdGiEdge2dArray& edges);
639 
640  void polypoint(OdInt32 numPoints, const OdGePoint3d* vertexList, const OdCmEntityColor* pColors, const OdCmTransparency* pTransparency,
641  const OdGeVector3d* pNormals, const OdGsMarker* pSubEntMarkers, OdInt32 nPointSize);
642 
643  void rowOfDots(OdInt32 numPoints, const OdGePoint3d& startPoint, const OdGeVector3d& dirToNextPoint);
644 
649  bool isClipping() const;
650 
652  void pushModelTransform(const OdGeVector3d& normal);
654 
657 
658  bool isXrefOverride() const { return GETBIT(m_flags, kXrefOverride); }
659  void setXrefOverride(bool bSet) { SETBIT(m_flags, kXrefOverride, bSet); }
660 
661  void draw(const OdGiDrawable* pDrawable);
662 
663  const OdGiPathNode* currentGiPath() const;
664 
666 
673  virtual OdUInt32 setAttributes(const OdGiDrawable* pDrawable);
674 
678  OdUInt32 drawableAttributes() const { return m_nDrawableAttributes; }
679 
687  bool needDraw(OdUInt32 drawableFlags);
688 
700  virtual bool doDraw(OdUInt32 drawableFlags, const OdGiDrawable* pDrawable);
701 
703  // OdGiWorldGeometry Override
704 
705  void setExtents(const OdGePoint3d *newExtents);
708 
710 
712  // OdGiViewportGeometry
713 
715  const OdGePoint3d& origin,
716  const OdGeVector3d& u,
717  const OdGeVector3d& v,
718  const OdGiRasterImage* pImage,
719  const OdGePoint2d* uvBoundary,
720  OdUInt32 numBoundPts,
721  bool transparency = false,
722  double brightness = 50.0,
723  double contrast = 50.0,
724  double fade = 0.0);
725 
727  const OdGePoint3d& origin,
728  const OdGeVector3d& u,
729  const OdGeVector3d& v,
730  const OdGiMetafile* pMetafile,
731  bool bDcAligned = true,
732  bool bAllowClipping = false);
733 
734  void polylineEye(OdUInt32 numVertices, const OdGePoint3d* vertexList);
735  void polygonEye(OdUInt32 numVertices, const OdGePoint3d* vertexList);
736 
737  void polylineDc(OdUInt32 numVertices, const OdGePoint3d* vertexList);
738  void polygonDc(OdUInt32 numVertices, const OdGePoint3d* vertexList);
739 
740 
742  // OdGiConveyorContext Overrides
743 
744  virtual void onTraitsModified();
745 
747 
759  const OdGiDeviation& eyeDeviation() const;
760 
761  // materials
764  void setEffectiveMaterialTraitsData(OdDbStub *materialId, const OdGiMaterialTraitsData &data, bool bForce = false);
765 
770 
771  const OdGiSubEntityTraitsData *byBlockTraits() const { return m_pByBlock; }
772  void setByBlockTraits(const OdGiSubEntityTraitsData *pByBlock) { m_pByBlock = pByBlock; }
774 };
775 
782 {
783 protected:
784  bool m_BBoxSet;
786 
787 public:
788 
790  virtual ~OdGiExtCalc();
791 
793  bool regenAbort() const;
794  void draw(const OdGiDrawable* pDrawable);
795  void setExtents(const OdGePoint3d *newExtents);
799  void resetExtents();
800 
805  void getExtents(OdGeExtents3d& extents) const;
806 
807  void setContext(OdGiContext* pUserContext);
808 
809  // optimization
810 
812  void affectTraits(const OdGiSubEntityTraitsData* pSource, OdGiSubEntityTraitsData& destination) const;
813 
814  bool isSetExtentsCalled() const { return false; } //FELIX_CHANGE //TODO: remove this and check OdGiFastExtCalc also!
815 };
816 
817 #ifdef ENABLE_GITRAITSOPTIMIZATION
819 {
820  m_bResetEntityTraitsData = false;
823 }
824 #endif
825 
827  const OdGeVector3d& normal,
828  const OdGeVector3d& direction,
829  double height,
830  double width,
831  double oblique,
832  bool bMirrorX = false,
833  bool bMirrorY = false);
835 
836 #include "TD_PackPop.h"
837 
838 #endif // #ifndef _ODGIBASEVECTORIZER_INCLUDED_
GETBIT
#define GETBIT(flags, bit)
Definition: OdaDefs.h:498
OdGiBaseVectorizer::m_pActiveEntryPoint
OdGiConveyorConnector * m_pActiveEntryPoint
Definition: GiBaseVectorizer.h:312
OdGiWorldDrawImpl::layer
OdDbStub * layer() const
OdGiConveyorConnector
Definition: GiConveyorConnector.h:38
OdGiBaseVectorizer::polyline
void polyline(OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)
OdGiWorldDrawImpl::setColor
void setColor(OdUInt16 color)
odgiCalculateTextBasis
ODGI_EXPORT void odgiCalculateTextBasis(OdGeVector3d &u, OdGeVector3d &v, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, bool bMirrorX=false, bool bMirrorY=false)
OdGiBaseVectorizer::setPlotStyleNameType
void setPlotStyleNameType(OdDb::PlotStyleNameType plotStyleNameType)
OdGiBaseVectorizer::popClipBoundary
void popClipBoundary()
OdGiDeviation
Definition: GiDeviation.h:44
OdCmEntityColor
Definition: CmColorBase.h:68
OdGiBaseVectorizer::currentDrawable
const OdGiDrawable * currentDrawable() const
OdGiBaseVectorizer::desc
static OdRxClass * desc()
Definition: GiBaseVectorizer.h:386
OdGiContext
Definition: GiCommonDraw.h:108
OdGePlane
Definition: GePlane.h:45
OdGiBaseVectorizer::drawContext
OdGiConveyorContext * drawContext()
Definition: GiBaseVectorizer.h:448
OdGeVector3d
Definition: GeVector3d.h:54
kOdGiArcSimple
@ kOdGiArcSimple
Definition: GiGeometry.h:684
OdString
Definition: OdString.h:95
NULL
#define NULL
Definition: GsProperties.h:177
OdGiWorldDrawImpl::setLineTypeScale
void setLineTypeScale(double lineTypeScale)
OdGiWorldDrawImpl::setVisualStyle
void setVisualStyle(const OdDbStub *visualStyleId)
OdGiBaseVectorizer::deviation
double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
OdRxObjectPtr
Definition: RxObject.h:345
OdGiExtCalc::regenType
OdGiRegenType regenType() const
OdGiConveyorContext::effectiveTraits
virtual const OdGiSubEntityTraitsData & effectiveTraits() const =0
OdGiExtCalc::setContext
void setContext(OdGiContext *pUserContext)
OdGiWorldDrawImpl::setSelectionFlags
void setSelectionFlags(SelectionFlags selectionFlags)
OdGiBaseVectorizer::circle
void circle(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
OdGiBaseVectorizer::setSecondaryTrueColor
void setSecondaryTrueColor(const OdCmEntityColor &color)
OdGiBaseVectorizer::drawableAttributes
OdUInt32 drawableAttributes() const
Definition: GiBaseVectorizer.h:678
OdGiBaseVectorizer::saveByBlockTraits
OdRxObjectPtr saveByBlockTraits()
OdGiLayerTraitsData
Definition: GiLayerTraitsData.h:72
OdGiBaseVectorizer::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdGsView
Definition: Gs.h:133
OdGiBaseVectorizer::gsView
const OdGsView * gsView() const
OdGiBaseVectorizer::m_byBlockMaterialId
OdDbStub * m_byBlockMaterialId
Definition: GiBaseVectorizer.h:193
OdGiBaseVectorizer::setPlotStyleName
void setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
OdGiBaseVectorizer::onTraitsModified
virtual void onTraitsModified()
OdGiBaseVectorizer::Flags
Flags
Definition: GiBaseVectorizer.h:324
OdGiBaseVectorizer::extrusion
const OdGeVector3d * extrusion(const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v)
OdGiWorldDrawImpl::thickness
double thickness() const
OdGiBaseVectorizer::setLineType
void setLineType(OdDbStub *lineTypeId)
OdGiBaseVectorizer::m_pGiReserved
OdRxObjectPtr m_pGiReserved
Definition: GiBaseVectorizer.h:283
OdCmTransparency
Definition: CmColorBase.h:1617
OdGiBaseVectorizer::modelDeviation
const OdGiDeviation & modelDeviation() const
OdGiBaseVectorizer::setEffectiveMaterialTraitsData
void setEffectiveMaterialTraitsData(OdDbStub *materialId, const OdGiMaterialTraitsData &data, bool bForce=false)
OdGiBaseVectorizer::selectionMarkerOnChange
virtual void selectionMarkerOnChange(OdGsMarker nSelectionMarker)
OdGiBaseVectorizer::m_pCurLSModifiers
OdGiDgLinetypeModifiers * m_pCurLSModifiers
Definition: GiBaseVectorizer.h:210
OdGiBaseVectorizer::viewportObjectId
OdDbStub * viewportObjectId() const
OdGiWorldDrawImpl::OdGiWorldDrawImpl
OdGiWorldDrawImpl()
OdGiBaseVectorizer::setThickness
void setThickness(double thickness)
OdGiBaseVectorizer::eyeToOutputTransform
void eyeToOutputTransform(OdGeMatrix3d &xfm) const
OdGiSubEntityTraitsData::isLayerOff
bool isLayerOff() const
Definition: GiSubEntityTraitsData.h:236
OdGiBaseVectorizer::OdGiMaterialTraitsCache
OdGiTraitsCache< OdGiMaterialTraitsData, OdGiMaterialTraitsTaker, OdGiMaterialTraits::kByBlock|OdGiMaterialTraits::kByLayer > OdGiMaterialTraitsCache
Definition: GiBaseVectorizer.h:190
OdGiViewport
Definition: GiViewport.h:51
GiTraitsCache.h
OdRxObject
Definition: RxObject.h:564
OdGiBaseVectorizer::updateLayerTraits
void updateLayerTraits(OdGiSubEntityTraitsData &subEntityTraits) const
GeExtents3d.h
OdGiFillType
OdGiFillType
Definition: Gi.h:40
OdGiBaseVectorizer::regenType
OdGiRegenType regenType() const
OdGiBaseVectorizer
Definition: GiBaseVectorizer.h:171
OdGiDrawableDesc
Definition: GsSelectionReactor.h:43
OdGiBaseVectorizer::output
virtual OdGiConveyorOutput & output()
OdGiBaseVectorizer::m_pDrawableDesc
OdGiDrawableDesc * m_pDrawableDesc
Definition: GiBaseVectorizer.h:318
SETBIT
#define SETBIT(flags, bit, value)
Definition: OdaDefs.h:497
OdGiBaseVectorizer::m_lsModifiers
OdGiDgLinetypeModifiers m_lsModifiers
Definition: GiBaseVectorizer.h:209
OdGiLayerTraitsTaker
Definition: GiLayerTraitsData.h:158
OdGiBaseVectorizer::extrusion
const OdGeVector3d * extrusion(const OdGeVector3d &normal)
OdGiBaseVectorizer::setExtents
void setExtents(const OdGePoint3d *newExtents)
GiDgLinetype.h
OdGiBaseVectorizer::setEffectiveTraits
virtual void setEffectiveTraits(const OdGiSubEntityTraitsData &traits, const OdGeVector3d *fillNormal=NULL)
OdGiBaseVectorizer::isValidId
bool isValidId(const OdUInt32 viewportId) const
OdGiBaseVectorizer::isDragging
bool isDragging() const
OdGiBaseVectorizer::m_materialMapper
OdGiMapper m_materialMapper
Definition: GiBaseVectorizer.h:206
OdGiVertexData
Definition: GiGeometry.h:549
OdGiWorldDrawImpl::setThickness
void setThickness(double thickness)
OdGiWorldDrawImpl::lineStyleModifiers
const OdGiDgLinetypeModifiers * lineStyleModifiers() const
OdGiWorldDrawImpl::selectionFlags
SelectionFlags selectionFlags() const
OdGiBaseVectorizer::worldLine
void worldLine(const OdGePoint3d points[2])
OdGiWorldDrawImpl::numberOfIsolines
OdUInt32 numberOfIsolines() const
OdGiBaseVectorizer::setXrefOverride
void setXrefOverride(bool bSet)
Definition: GiBaseVectorizer.h:659
OdGiPolyline
Definition: GiPolyline.h:49
OdArray
Definition: OdArray.h:591
OdGiWorldDrawImpl::setLineWeight
void setLineWeight(OdDb::LineWeight lineWeight)
OdGiWorldDrawImpl::material
OdDbStub * material() const
OdGiBaseVectorizer::currentGiPath
const OdGiPathNode * currentGiPath() const
OdGiWorldDrawImpl::setContext
virtual void setContext(OdGiContext *pUserContext)
TD_PackPop.h
OdGiWorldDrawImpl::setLineType
void setLineType(OdDbStub *lineTypeId)
OdGiWorldDrawImpl::setFillType
void setFillType(OdGiFillType fillType)
GePlane.h
OdGiBaseVectorizer::setTransparency
void setTransparency(const OdCmTransparency &transparency)
OdGiBaseVectorizer::extrusion
const OdGeVector3d * extrusion(const OdGeVector3d *pNormal)
Definition: GiBaseVectorizer.h:303
OdGsMarker
ptrdiff_t OdGsMarker
Definition: OdPlatformSettings.h:889
OdGiWorldDrawImpl::setMapper
void setMapper(const OdGiMapper *pMapper)
OdGiFill
Definition: GiFill.h:39
OdGiBaseVectorizer::m_materialId
OdDbStub * m_materialId
Definition: GiBaseVectorizer.h:191
OdGiBaseVectorizer::shape
void shape(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, int shapeNumber, const OdGiTextStyle *pTextStyle)
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdGiWorldDrawImpl::mapper
const OdGiMapper * mapper() const
GiViewport.h
OdGiWorldDrawImpl::setSecondaryTrueColor
void setSecondaryTrueColor(const OdCmEntityColor &color)
OdGiBaseVectorizer::eyeToOutputTransform
const OdGeMatrix3d & eyeToOutputTransform() const
OdGiBaseVectorizer::~OdGiBaseVectorizer
virtual ~OdGiBaseVectorizer()
OdGiBaseVectorizer::needDraw
bool needDraw(OdUInt32 drawableFlags)
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGeMatrix3d
Definition: GeMatrix3d.h:73
ODGI_EXPORT
#define ODGI_EXPORT
Definition: GiExport.h:35
OdGiBaseVectorizer::setFill
void setFill(const OdGiFill *pFill)
OdGiBaseVectorizer::m_effectiveLayerTraits
OdGiLayerTraitsTaker m_effectiveLayerTraits
Definition: GiBaseVectorizer.h:180
OdGiBaseVectorizer::circularArc
void circularArc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
OdGiBaseVectorizer::isA
OdRxClass * isA() const
OdGiWorldDrawImpl::setSelectionMarker
void setSelectionMarker(OdGsMarker selectionMarker)
data
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
Definition: gles2_ext.h:110
OdGiExtCalc
Definition: GiBaseVectorizer.h:782
OdGiBaseVectorizer::sequenceNumber
OdUInt32 sequenceNumber() const
OdGiBaseVectorizer::draw
void draw(const OdGiDrawable *pDrawable)
OdGiBaseVectorizer::eyeDeviation
const OdGiDeviation & eyeDeviation() const
OdGiExtCalc::setExtents
void setExtents(const OdGePoint3d *newExtents)
OdGiBaseVectorizer::setMapper
void setMapper(const OdGiMapper *pMapper)
OdGiBaseVectorizer::affectTraits
virtual void affectTraits(const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
OdGiBaseVectorizer::nurbs
void nurbs(const OdGeNurbCurve3d &nurbsCurve)
OdGiBaseVectorizer::setLineStyleModifiers
void setLineStyleModifiers(const OdGiDgLinetypeModifiers *pLSMod)
OdGiBaseVectorizer::m_layerId
OdDbStub * m_layerId
Definition: GiBaseVectorizer.h:179
OdGiClipBoundary
Definition: GiClipBoundary.h:41
OdGiBaseVectorizer::pushClipBoundary
void pushClipBoundary(OdGiClipBoundary *pBoundary)
OdGiBaseVectorizer::setSelectionMarker
void setSelectionMarker(OdGsMarker selectionMarker)
OdGiRasterImage::kTransparency8Bit
@ kTransparency8Bit
Definition: GiRasterImage.h:86
OdGiBaseVectorizer::m_pFill
OdGiFillPtr m_pFill
Definition: GiBaseVectorizer.h:212
OdGiBaseVectorizer::drawableDesc
const OdGiDrawableDesc * drawableDesc() const
Definition: GiBaseVectorizer.h:320
OdGiSubEntityTraitsData::isLayerFrozen
bool isLayerFrozen() const
Definition: GiSubEntityTraitsData.h:232
OdGiBaseVectorizer::endViewVectorization
virtual void endViewVectorization()
OdGiBaseVectorizer::byBlockTraits
const OdGiSubEntityTraitsData * byBlockTraits() const
Definition: GiBaseVectorizer.h:771
OdGiBaseVectorizer::text
void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
OdGiBaseVectorizer::metafileDc
void metafileDc(const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool bDcAligned=true, bool bAllowClipping=false)
OdGiBaseVectorizer::selectionMarker
OdGsMarker selectionMarker() const
OdGiBaseVectorizer::effectiveMaterialTraitsData
const OdGiMaterialTraitsData & effectiveMaterialTraitsData() const
OdGiBaseVectorizer::polygonDc
void polygonDc(OdUInt32 numVertices, const OdGePoint3d *vertexList)
OdGiBaseVectorizer::m_effectiveMaterialTraitsData
OdGiMaterialTraitsCache m_effectiveMaterialTraitsData
Definition: GiBaseVectorizer.h:195
OdGiBaseVectorizer::setPlotStyleNameId
void setPlotStyleNameId(OdDbStub *plotStyleNameId)
OdGiWorldDrawImpl::fill
const OdGiFill * fill() const
OdGiBaseVectorizer::setEyeToOutputTransform
void setEyeToOutputTransform(const OdGeMatrix3d &xfm)
OdGiBaseVectorizer::pline
void pline(const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
OdGiBaseVectorizer::setDrawContextFlags
void setDrawContextFlags(OdUInt32 flags, bool bFlag)
OdGiExtCalc::regenAbort
bool regenAbort() const
OdGiBaseVectorizer::setTrueColor
void setTrueColor(const OdCmEntityColor &trueColor)
OdGiBaseVectorizer::regenAbort
bool regenAbort() const
OdGiConveyorOutput
Definition: GiConveyorNode.h:64
OdRxClass
Definition: RxObject.h:865
OdGiFaceData
Definition: GiGeometry.h:245
OdGiBaseVectorizer::m_drawContextFlags
OdUInt32 m_drawContextFlags
Definition: GiBaseVectorizer.h:339
OdGiTextStyle
Definition: GiTextStyle.h:52
GiModelToViewProc.h
OdGiBaseVectorizer::isClipping
bool isClipping() const
GiMaterialTraitsData.h
OdGiExtCalc::m_pExtAccum
OdGiExtAccumPtr m_pExtAccum
Definition: GiBaseVectorizer.h:785
OdGiBaseVectorizer::m_materialAttributes
OdUInt32 m_materialAttributes
Definition: GiBaseVectorizer.h:194
OdGiBaseVectorizer::isAttributesSegmentEnabled
bool isAttributesSegmentEnabled()
OdGiBaseVectorizer::setMaterial
void setMaterial(OdDbStub *pMaterialId)
OdSmartPtr< OdGiFill >
OdGeEllipArc3d
Definition: GeEllipArc3d.h:60
OdGiBaseVectorizer::viewport
OdGiViewport & viewport() const
OdGiBaseVectorizer::polygon
void polygon(OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
OdGePoint3d
Definition: GePoint3d.h:55
OdGiWorldDrawImpl::dummyGiContext
static OdGiContext * dummyGiContext()
OdGiBaseVectorizer::isXrefOverride
bool isXrefOverride() const
Definition: GiBaseVectorizer.h:658
OdGiVisualStyle
Definition: GiVisualStyle.h:996
OdGiMaterialTraitsData
Definition: GiMaterialTraitsData.h:38
OdGiPathNode
Definition: GiPathNode.h:36
OdGiBaseVectorizer::rawGeometry
OdGiGeometry & rawGeometry() const
OdGiBaseVectorizer::m_flags
OdUInt32 m_flags
Definition: GiBaseVectorizer.h:338
OdGiWorldDrawImpl::setMaterial
void setMaterial(OdDbStub *pMaterialId)
OdGiBaseVectorizer::m_nSelectionMarker
OdGsMarker m_nSelectionMarker
Definition: GiBaseVectorizer.h:203
GiTextStyle.h
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdGiBaseVectorizer::queryX
OdRxObject * queryX(const OdRxClass *pProtocolClass) const
OdGiBaseVectorizer::currentDrawableDesc
const OdGiDrawableDesc * currentDrawableDesc() const
OdGiAbstractClipBoundary
Definition: GiAbstractClipBoundary.h:39
OdGiBaseVectorizer::m_output
OdGiConveyorConnector m_output
Definition: GiBaseVectorizer.h:315
OdGiBaseVectorizer::polylineDc
void polylineDc(OdUInt32 numVertices, const OdGePoint3d *vertexList)
OdGiSubEntityTraits::SelectionFlags
SelectionFlags
Definition: Gi.h:153
OdGiBaseVectorizer::clearEntityTraitsDataChanged
void clearEntityTraitsDataChanged() const
Definition: GiBaseVectorizer.h:239
OdGiBaseVectorizer::m_modelEntryPoint
OdGiConveyorConnector m_modelEntryPoint
Definition: GiBaseVectorizer.h:311
OdGiArcType
OdGiArcType
Definition: GiGeometry.h:683
OdGiBaseVectorizer::actualizeMaterialAttributes
void actualizeMaterialAttributes(OdDbStub *materialId) const
GiDummyGeometry.h
OdGiBaseVectorizer::setLineTypeScale
void setLineTypeScale(double lineTypeScale)
OdGiWorldDrawImpl::lineTypeScale
double lineTypeScale() const
OdGiSubEntityTraitsData
Definition: GiSubEntityTraitsData.h:73
OdGiViewportDraw_
Definition: GiDrawImpl.h:57
OdGiWorldDrawImpl::setTrueColor
void setTrueColor(const OdCmEntityColor &color)
OdGiWorldDrawImpl::setTransparency
void setTransparency(const OdCmTransparency &transparency)
Gs.h
GiDrawImpl.h
OdGiDrawable
Definition: GiDrawable.h:49
OdGiBaseVectorizer::setLayer
void setLayer(OdDbStub *layerId)
OdGiBaseVectorizer::ellipArc
void ellipArc(const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
OdGiExtCalc::affectTraits
void affectTraits(const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
OdGiBaseVectorizer::m_effectiveMaterialId
OdDbStub * m_effectiveMaterialId
Definition: GiBaseVectorizer.h:196
OdGiBaseVectorizer::m_eyeEntryPoint
OdGiConveyorConnector m_eyeEntryPoint
Definition: GiBaseVectorizer.h:285
OdGiExtCalc::draw
void draw(const OdGiDrawable *pDrawable)
OdGiBaseVectorizer::giContext
OdGiContext & giContext() const
OdGiWorldDrawImpl::subEntityTraits
OdGiSubEntityTraits & subEntityTraits() const
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdGiBaseVectorizer::setDrawFlags
void setDrawFlags(OdUInt32 drawFlags)
OdGiWorldDrawImpl::lineType
OdDbStub * lineType() const
ODGI_EXPORT_STATIC
#define ODGI_EXPORT_STATIC
Definition: GiExport.h:36
OdGiBaseVectorizer::effectiveMaterialTraitsData
void effectiveMaterialTraitsData(OdGiMaterialTraitsData &data) const
OdGiWorldDrawImpl::visualStyle
OdDbStub * visualStyle() const
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdGiWorldDrawImpl::selectionGeom
bool selectionGeom() const
OdGiBaseVectorizer::drawClipBoundary
void drawClipBoundary(OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
OdGiBaseVectorizer::beginViewVectorization
virtual void beginViewVectorization()
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
OdGiBaseVectorizer::layerVisible
virtual bool layerVisible(OdDbStub *layerId) const
OdGiEdgeData
Definition: GiGeometry.h:67
OdGiWorldDrawImpl::lineWeight
OdDb::LineWeight lineWeight() const
OdGiBaseVectorizer::setLineWeight
void setLineWeight(OdDb::LineWeight lineWeight)
OdGiBaseVectorizer::extrusion
const OdGeVector3d * extrusion(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
OdGiBaseVectorizer::m_nPrevSelectionMarker
OdGsMarker m_nPrevSelectionMarker
Definition: GiBaseVectorizer.h:204
OdGiWorldDrawImpl::setLayer
void setLayer(OdDbStub *layerId)
OdGiDgLinetypeModifiers
Definition: GiDgLinetype.h:353
OdGiBaseVectorizer::setShadowFlags
void setShadowFlags(ShadowFlags shadowFlags)
OdGiExtCalc::~OdGiExtCalc
virtual ~OdGiExtCalc()
OdGiBaseVectorizer::m_effectiveEntityTraitsData
OdGiSubEntityTraitsData m_effectiveEntityTraitsData
Definition: GiBaseVectorizer.h:175
OdGiBaseVectorizer::OdGiBaseVectorizer
OdGiBaseVectorizer()
OdGiExtCalc::isSetExtentsCalled
bool isSetExtentsCalled() const
Definition: GiBaseVectorizer.h:814
TD_PackPush.h
OdGiSubEntityTraits
Definition: Gi.h:94
OdGeNurbCurve3d
Definition: GeNurbCurve3d.h:49
OdGiWorldDrawImpl::setLineStyleModifiers
void setLineStyleModifiers(const OdGiDgLinetypeModifiers *pLSMod)
OdGiBaseVectorizer::effectiveLayerTraits
virtual const OdGiLayerTraitsData & effectiveLayerTraits() const
OdGiBaseVectorizer::pushClipBoundary
void pushClipBoundary(OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
OdGiWorldDrawImpl::m_entityTraitsData
OdGiSubEntityTraitsData m_entityTraitsData
Definition: GiBaseVectorizer.h:85
OdGiImageBGRA32
Definition: GiImage.h:213
GiConveyorEntryPoint.h
OdGiSubEntityTraitsChangedFlags::kAllChanged
@ kAllChanged
Definition: GiSubEntityTraitsData.h:63
GiSubEntityTraitsData.h
OdGiBaseVectorizer::m_effectiveLayerId
OdDbStub * m_effectiveLayerId
Definition: GiBaseVectorizer.h:201
OdGiBaseVectorizer::switchLayer
virtual OdDbStub * switchLayer(OdDbStub *layerId) const
OdGiBaseVectorizer::numberOfIsolines
OdUInt32 numberOfIsolines() const
OdGiBaseVectorizer::worldDeviation
const OdGiDeviation & worldDeviation() const
OdGiBaseVectorizer::ray
void ray(const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
OdGiBaseVectorizer::xline
void xline(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
OdGiExtCalc::getExtents
void getExtents(OdGeExtents3d &extents) const
OdGiWorldDrawImpl::plotStyleNameType
OdDb::PlotStyleNameType plotStyleNameType() const
OdGiRasterImage::TransparencyMode
TransparencyMode
Definition: GiRasterImage.h:82
OdGiBaseVectorizer::circle
void circle(const OdGePoint3d &center, double radius, const OdGeVector3d &normal)
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition: OdPlatformSettings.h:117
OdGiDeviationType
OdGiDeviationType
Definition: GiCommonDraw.h:64
OdGiBaseVectorizer::pushModelTransform
void pushModelTransform(const OdGeMatrix3d &xfm)
OdGiMetafile
Definition: GiMetafile.h:40
OdGiBaseVectorizer::effectivelyVisible
bool effectivelyVisible() const
Definition: GiBaseVectorizer.h:250
GiLayerTraitsData.h
OdGiExtCalc::OdGiExtCalc
OdGiExtCalc()
OdGiBaseVectorizer::setEntityTraitsDataChanged
virtual void setEntityTraitsDataChanged()
Definition: GiBaseVectorizer.h:230
OdGiWorldDrawImpl::trueColor
OdCmEntityColor trueColor() const
OdDb::PlotStyleNameType
PlotStyleNameType
Definition: OdaDefs.h:413
OdGiBaseVectorizer::m_pCurMaterialMapper
OdGiMapper * m_pCurMaterialMapper
Definition: GiBaseVectorizer.h:207
OdGiExtCalc::effectiveTraits
const OdGiSubEntityTraitsData & effectiveTraits() const
odgiPrepareTextStyle
ODGI_EXPORT const OdGiTextStyle * odgiPrepareTextStyle(const OdGiTextStyle *pStyle, OdGiTextStyle &res)
GiOrthoClipper.h
OdGiBaseVectorizer::shell
void shell(OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
OdGiWorldDrawImpl::plotStyleNameId
OdDbStub * plotStyleNameId() const
OdGiBaseVectorizer::getWorldToModelTransform
OdGeMatrix3d getWorldToModelTransform() const
OdGiBaseVectorizer::setSelectionGeom
void setSelectionGeom(bool bSelectionFlag)
OdGiBaseVectorizer::m_entityTraitsDataChanged
OdUInt32 m_entityTraitsDataChanged
Definition: GiBaseVectorizer.h:284
OdGiWorldDrawImpl::color
OdUInt16 color() const
OdGiConveyorContext
Definition: GiConveyorGeometry.h:54
OdGiBaseVectorizer::polygonEye
void polygonEye(OdUInt32 numVertices, const OdGePoint3d *vertexList)
OdGiBaseVectorizer::text
void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
OdGiSubEntityTraitsChangedFlags
Definition: GiSubEntityTraitsData.h:38
OdGiBaseVectorizer::effectiveTraits
virtual const OdGiSubEntityTraitsData & effectiveTraits() const
GiConveyorConnector.h
OdGiBaseVectorizer::rasterImageDc
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)
OdGiWorldDrawImpl::fillType
OdGiFillType fillType() const
OdGiBaseVectorizer::image
void image(const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
OdGiGeometry
Definition: GiGeometry.h:698
OdGeExtents3d
Definition: GeExtents3d.h:45
OdDb::LineWeight
LineWeight
Definition: OdaDefs.h:382
OdGiBaseVectorizer::setSectionable
void setSectionable(bool bSectionableFlag)
OdGiExtCalc::resetExtents
void resetExtents()
OdGiBaseVectorizer::linetypeGenerationCriteria
virtual double linetypeGenerationCriteria() const
OdGiBaseVectorizer::doDraw
virtual bool doDraw(OdUInt32 drawableFlags, const OdGiDrawable *pDrawable)
OdGiBaseVectorizer::m_pByBlock
const OdGiSubEntityTraitsData * m_pByBlock
Definition: GiBaseVectorizer.h:341
FacetModeler::extrusion
FMGEOMETRY_API Body extrusion(const Profile2D &rBase, const OdGeMatrix3d &mBasePlane, const OdGeVector3d &vDir, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
OdGiBaseVectorizer::polypoint
void polypoint(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
OdGiBaseVectorizer::setSelectionFlags
void setSelectionFlags(SelectionFlags selectionFlags)
value
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
OdGiBaseVectorizer::setEntityTraitsDataChanged
virtual void setEntityTraitsDataChanged(int bit, bool value=true)
Definition: GiBaseVectorizer.h:234
OdGiWorldDrawImpl::setShadowFlags
void setShadowFlags(ShadowFlags shadowFlags)
OdGiBaseVectorizer::circularArc
void circularArc(const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
OdGiBaseVectorizer::isEntityTraitsDataChanged
bool isEntityTraitsDataChanged(int bit=kSomeChanged) const
Definition: GiBaseVectorizer.h:225
OdGiBaseVectorizer::m_nDrawableAttributes
OdUInt32 m_nDrawableAttributes
Definition: GiBaseVectorizer.h:319
OdGiBaseVectorizer::context
OdGiContext * context() const
OdGiWorldDrawImpl::drawFlags
OdUInt32 drawFlags() const
OdGiExtCalc::m_BBoxSet
bool m_BBoxSet
Definition: GiBaseVectorizer.h:784
OdGiBaseVectorizer::rowOfDots
void rowOfDots(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
OdGiBaseVectorizer::setByBlockTraits
void setByBlockTraits(const OdGiSubEntityTraitsData *pByBlock)
Definition: GiBaseVectorizer.h:772
OdGiWorldDrawImpl::secondaryTrueColor
OdCmEntityColor secondaryTrueColor() const
OdGiWorldDrawImpl::sectionable
bool sectionable() const
OdGiBaseVectorizer::polygon
void polygon(OdInt32 numVertices, const OdGePoint3d *vertexList)
OdGiBaseVectorizer::mesh
void mesh(OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
OdGiBaseVectorizer::edge
void edge(const OdGiEdge2dArray &edges)
OdGiBaseVectorizer::setColor
void setColor(OdUInt16 color)
OdGiBaseVectorizer::setFillType
void setFillType(OdGiFillType fillType)
OdGiBaseVectorizer::subEntityTraits
OdGiSubEntityTraits & subEntityTraits() const
OdGiWorldDrawImpl
Definition: GiBaseVectorizer.h:81
OdGiWorldDrawImpl::transparency
OdCmTransparency transparency() const
OdGiRegenType
OdGiRegenType
Definition: GiCommonDraw.h:50
OdGiConveyorEntryPoint
Definition: GiConveyorEntryPoint.h:38
OdGiBaseVectorizer::resetEntityTraitsData
void resetEntityTraitsData()
Definition: GiBaseVectorizer.h:818
OdGiDummyCommonDraw
Definition: GiDummyGeometry.h:841
GiDeviation.h
OdGiBaseVectorizer::drawContextFlags
OdUInt32 drawContextFlags() const
OdGiBaseVectorizer::setVisualStyle
void setVisualStyle(const OdDbStub *pVisualStyleId)
OdGiBaseVectorizer::drawContext
const OdGiConveyorContext * drawContext() const
Definition: GiBaseVectorizer.h:450
OdGiBaseVectorizer::pushModelTransform
void pushModelTransform(const OdGeVector3d &normal)
OdGiBaseVectorizer::m_pModelToEyeProc
OdGiModelToViewProcPtr m_pModelToEyeProc
Definition: GiBaseVectorizer.h:314
OdGiWorldDrawImpl::m_pContext
OdGiContext * m_pContext
Definition: GiBaseVectorizer.h:86
OdGiSubEntityTraits::ShadowFlags
ShadowFlags
Definition: Gi.h:145
OdGiMapper
Definition: GiMaterial.h:1123
OdGiBaseVectorizer::setAttributes
virtual OdUInt32 setAttributes(const OdGiDrawable *pDrawable)
OdGiWorldDrawImpl::context
OdGiContext * context() const
OdGiWorldDrawImpl::setSelectionGeom
void setSelectionGeom(bool bSelectionFlag)
OdGiBaseVectorizer::getModelToWorldTransform
OdGeMatrix3d getModelToWorldTransform() const
OdGiWorldDrawImpl::rawGeometry
OdGiGeometry & rawGeometry() const
OdGiWorldDrawImpl::ODRX_USING_HEAP_OPERATORS
ODRX_USING_HEAP_OPERATORS(OdGiDummyCommonDraw< OdGiWorldDraw_ >)
OdGiWorldDrawImpl::setSectionable
void setSectionable(bool bSectionableFlag)
OdGiRasterImage
Definition: GiRasterImage.h:37
OdGiWorldDrawImpl::shadowFlags
ShadowFlags shadowFlags() const
OdGiBaseVectorizer::m_byLayerMaterialId
OdDbStub * m_byLayerMaterialId
Definition: GiBaseVectorizer.h:192
OdGiBaseVectorizer::startAttributesSegment
void startAttributesSegment()
OdGiBaseVectorizer::giViewport
const OdGiViewport * giViewport() const
OdGiWorldDrawImpl::setDrawFlags
void setDrawFlags(OdUInt32 drawFlags)
OdGiTraitsCache< OdGiMaterialTraitsData, OdGiMaterialTraitsTaker, OdGiMaterialTraits::kByBlock|OdGiMaterialTraits::kByLayer >
GiXform.h
OdGiBaseVectorizer::popModelTransform
void popModelTransform()
OdGiBaseVectorizer::polylineEye
void polylineEye(OdUInt32 numVertices, const OdGePoint3d *vertexList)
OdGiFillPtr
OdSmartPtr< OdGiFill > OdGiFillPtr
Definition: GiBaseVectorizer.h:55
OdGiWorldDrawImpl::setPlotStyleName
void setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
GiExtAccum.h
OdGiWorldDrawImpl::setFill
void setFill(const OdGiFill *pFill)
OdGePoint2d
Definition: GePoint2d.h:60
OdGiBaseVectorizer::g_entityTraitsDataReset
static ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData g_entityTraitsDataReset
Definition: GiBaseVectorizer.h:177