CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGiViewportDraw_Dummy Class Reference

#include <GiDummyGeometry.h>

Inheritance diagram for OdGiViewportDraw_Dummy:
OdGiDummySubEntityTraits< OdGiSubEntityTraits > OdGiDummyViewportDraw< OdGiViewportDraw > OdGiDummyViewportGeometry< OdGiViewportGeometry > OdGiDummyContext< OdGiContext > OdGiSubEntityTraits OdGiDummyCommonDraw< T > OdGiDummyGeometry< T > OdGiContext OdGiDrawableTraits OdRxObject OdRxObject

Public Member Functions

 ODRX_USING_HEAP_OPERATORS (OdGiDummySubEntityTraits< OdGiSubEntityTraits >)
 
 OdGiViewportDraw_Dummy (OdDbBaseDatabase *pDb=0)
 
virtual OdDbBaseDatabasedatabase () const
 
virtual OdGiGeometryrawGeometry () const
 
virtual OdGiSubEntityTraitssubEntityTraits () const
 
virtual OdGiViewportGeometrygeometry () const
 
virtual OdGiContextcontext () const
 
void addRef ()
 
void release ()
 
- Public Member Functions inherited from OdGiDummySubEntityTraits< OdGiSubEntityTraits >
void setColor (OdUInt16)
 
void setTrueColor (const OdCmEntityColor &)
 
void setLayer (OdDbStub *)
 
void setLineType (OdDbStub *)
 
void setSelectionMarker (OdGsMarker)
 
void setFillType (OdGiFillType)
 
void setFillPlane (const OdGeVector3d *=0)
 
void setLineWeight (OdDb::LineWeight)
 
void setLineTypeScale (double=1.0)
 
void setThickness (double)
 
void setPlotStyleName (OdDb::PlotStyleNameType, OdDbStub *=0)
 
void setMaterial (OdDbStub *)
 
void setMapper (const OdGiMapper *)
 
void setVisualStyle (const OdDbStub *)
 
void setTransparency (const OdCmTransparency &)
 
void setDrawFlags (OdUInt32)
 
void setSelectionGeom (bool)
 
void setShadowFlags (OdGiSubEntityTraits::ShadowFlags)
 
void setSectionable (bool)
 
void setSelectionFlags (OdGiSubEntityTraits::SelectionFlags)
 
OdUInt16 color () const
 
OdCmEntityColor trueColor () const
 
OdDbStub * layer () const
 
OdDbStub * lineType () const
 
OdGiFillType fillType () const
 
bool fillPlane (OdGeVector3d &)
 
OdDb::LineWeight lineWeight () const
 
double lineTypeScale () const
 
double thickness () const
 
OdDb::PlotStyleNameType plotStyleNameType () const
 
OdDbStub * plotStyleNameId () const
 
OdDbStub * material () const
 
const OdGiMappermapper () const
 
void addLight (const OdDbStub *)
 
OdCmTransparency transparency () const
 
OdUInt32 drawFlags () const
 
bool selectionGeom () const
 
OdGiSubEntityTraits::ShadowFlags shadowFlags () const
 
bool sectionable () const
 
OdGiSubEntityTraits::SelectionFlags selectionFlags () const
 
- Public Member Functions inherited from OdGiSubEntityTraits
 ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits)
 
virtual OdDbStub * visualStyle () const
 
virtual void setSecondaryTrueColor (const OdCmEntityColor &color)
 
virtual OdCmEntityColor secondaryTrueColor () const
 
virtual void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
virtual const OdGiDgLinetypeModifierslineStyleModifiers () const
 
virtual void setFill (const OdGiFill *pFill)
 
virtual const OdGiFillfill () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual OdUInt32 setupForEntity () const
 
- Public Member Functions inherited from OdGiDrawableTraits
 ODRX_DECLARE_MEMBERS (OdGiDrawableTraits)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 
- Public Member Functions inherited from OdGiDummyViewportDraw< OdGiViewportDraw >
virtual OdGiViewportviewport () const
 
virtual OdUInt32 sequenceNumber () const
 
virtual bool isValidId (const OdUInt32 viewportId) const
 
virtual OdDbStub * viewportObjectId () const
 
- Public Member Functions inherited from OdGiDummyCommonDraw< T >
virtual OdGiRegenType regenType () const
 
virtual bool regenAbort () const
 
virtual bool isDragging () const
 
virtual OdUInt32 numberOfIsolines () const
 
virtual double deviation (const OdGiDeviationType t, const OdGePoint3d &p) const
 
- Public Member Functions inherited from OdGiDummyViewportGeometry< OdGiViewportGeometry >
virtual void polylineEye (OdUInt32, const OdGePoint3d *)
 
virtual void polygonEye (OdUInt32, const OdGePoint3d *)
 
virtual void polylineDc (OdUInt32, const OdGePoint3d *)
 
virtual void polygonDc (OdUInt32, const OdGePoint3d *)
 
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)
 
virtual void metafileDc (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, const OdGiMetafile *, bool=true, bool=false)
 
virtual void ownerDrawDc (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, const OdGiSelfGdiDrawable *, bool=true, bool=false)
 
- Public Member Functions inherited from OdGiDummyGeometry< T >
void circle (const OdGePoint3d &, double, const OdGeVector3d &)
 
void circle (const OdGePoint3d &, const OdGePoint3d &, const OdGePoint3d &)
 
void circularArc (const OdGePoint3d &, double, const OdGeVector3d &, const OdGeVector3d &, double, OdGiArcType=kOdGiArcSimple)
 
void circularArc (const OdGePoint3d &, const OdGePoint3d &, const OdGePoint3d &, OdGiArcType=kOdGiArcSimple)
 
void polyline (OdInt32, const OdGePoint3d *, const OdGeVector3d *=0, OdGsMarker=-1)
 
void polygon (OdInt32, const OdGePoint3d *)
 
void polygon (OdInt32, const OdGePoint3d *, const OdGeVector3d *)
 
void pline (const OdGiPolyline &, OdUInt32=0, OdUInt32=0)
 
void shape (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, int, const OdGiTextStyle *)
 
void text (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, double, double, double, const OdString &)
 
void text (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, const OdChar *, OdInt32, bool, const OdGiTextStyle *)
 
void xline (const OdGePoint3d &, const OdGePoint3d &)
 
void ray (const OdGePoint3d &, const OdGePoint3d &)
 
void nurbs (const OdGeNurbCurve3d &)
 
void ellipArc (const OdGeEllipArc3d &, const OdGePoint3d *=0, OdGiArcType=kOdGiArcSimple)
 
void mesh (OdInt32, OdInt32, const OdGePoint3d *, const OdGiEdgeData *=0, const OdGiFaceData *=0, const OdGiVertexData *=0)
 
void shell (OdInt32, const OdGePoint3d *, OdInt32, const OdInt32 *, const OdGiEdgeData *=0, const OdGiFaceData *=0, const OdGiVertexData *=0)
 
void worldLine (const OdGePoint3d[2])
 
void image (const OdGiImageBGRA32 &, const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &, OdGiRasterImage::TransparencyMode=OdGiRasterImage::kTransparency8Bit)
 
virtual void edge (const OdGiEdge2dArray &)
 
void polypoint (OdInt32, const OdGePoint3d *, const OdCmEntityColor *, const OdCmTransparency *, const OdGeVector3d *, const OdGsMarker *, OdInt32)
 
void rowOfDots (OdInt32, const OdGePoint3d &, const OdGeVector3d &)
 
void setExtents (const OdGePoint3d *)
 
void pushClipBoundary (OdGiClipBoundary *)
 
void popClipBoundary ()
 
void draw (const OdGiDrawable *)
 
void pushModelTransform (const OdGeMatrix3d &)
 
void pushModelTransform (const OdGeVector3d &)
 
void popModelTransform ()
 
OdGeMatrix3d getModelToWorldTransform () const
 
OdGeMatrix3d getWorldToModelTransform () const
 
- Public Member Functions inherited from OdGiDummyContext< OdGiContext >
virtual OdGiDrawablePtr openDrawable (OdDbStub *)
 
- Public Member Functions inherited from OdGiContext
 ODRX_DECLARE_MEMBERS (OdGiContext)
 
virtual OdDb::LineWeight defaultLineWeight () const
 
virtual double commonLinetypeScale () const
 
virtual void getDefaultTextStyle (OdGiTextStyle &textStyle)
 
virtual void drawShape (OdGiCommonDraw *pDraw, OdGePoint3d &position, int shapeNumber, const OdGiTextStyle *pTextStyle)
 
virtual void drawShape (OdGiConveyorGeometry *pDest, const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion)
 
virtual void drawText (OdGiCommonDraw *pDraw, OdGePoint3d &position, const OdChar *msg, OdInt32 numBytes, const OdGiTextStyle *pTextStyle, OdUInt32 flags=0)
 
virtual void drawText (OdGiCommonDraw *pDraw, OdGePoint3d &position, double height, double width, double oblique, const OdString &msg)
 
virtual void drawText (OdGiConveyorGeometry *pDest, const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion)
 
virtual void textExtentsBox (const OdGiTextStyle &textStyle, const OdChar *msg, int nLength, OdUInt32 flags, OdGePoint3d &min, OdGePoint3d &max, OdGePoint3d *pEndPos=0)
 
virtual void shapeExtentsBox (const OdGiTextStyle &textStyle, int shapeNumber, OdGePoint3d &min, OdGePoint3d &max)
 
virtual unsigned int circleZoomPercent (OdDbStub *viewportId) const
 
virtual bool isPlotGeneration () const
 
virtual ODCOLORREF paletteBackground () const
 
virtual bool fillTtf () const
 
virtual OdUInt32 numberOfIsolines () const
 
virtual bool fillMode () const
 
virtual bool quickTextMode () const
 
virtual OdUInt32 textQuality () const
 
virtual ImageQuality imageQuality () const
 
virtual OdUInt32 fadingIntensityPercentage (FadingType fadingType) const
 
virtual OdUInt32 glyphSize (GlyphType glyphType) const
 
virtual OdUInt32 lineWeightConfiguration (LineWeightStyle styleEntry) const
 
virtual OdIntPtr drawableFilterFunctionId (OdDbStub *viewportId) const
 
virtual OdUInt32 drawableFilterFunction (OdIntPtr functionId, const OdGiDrawable *pDrawable, OdUInt32 nFlags)
 
virtual bool ttfPolyDraw () const
 
virtual bool regenAbort () const
 
virtual PStyleType plotStyleType () const
 
virtual void plotStyle (int penNumber, OdPsPlotStyleData &plotStyleData) const
 
virtual void plotStyle (OdDbStub *objectId, OdPsPlotStyleData &plotStyleData) const
 
virtual OdDbStub * getStubByID (OdUInt64 persistentId) const
 
virtual OdUInt64 getIDByStub (OdDbStub *objectId) const
 
virtual OdDbBaseDatabasegetDatabaseByStub (OdDbStub *objectId) const
 
virtual OdDbStub * getOwnerIDByStub (OdDbStub *objectId) const
 
virtual OdDbStub * getStubByMatName (const OdString &strMatName) const
 
virtual OdUInt32 displaySilhouettes () const
 
bool displayMeshSilhouettes () const
 
bool displayModelerSilhouettes () const
 
virtual OdGiSectionGeometryManagerPtr getSectionGeometryManager ()
 
virtual OdUInt32 antiAliasingMode () const
 
virtual bool xrefPropertiesOverride () const
 

Additional Inherited Members

- Public Types inherited from OdGiSubEntityTraits
enum  DrawFlags {
  kNoDrawFlags = 0x0000 , kDrawBackfaces = 0x0001 , kDrawHatchGroup = 0x0002 , kDrawFrontfacesOnly = 0x0004 ,
  kDrawGradientFill = 0x0008 , kDrawSolidFill = 0x0010 , kDrawNoLineWeight = 0x0020 , kDrawNoPlotstyle = 0x0080 ,
  kDrawContourFill = 0x08000 , kDisableLayoutCache = 0x10000 , kDrawBoundaryForClipping = 0x20000 , kDrawBoundaryForClippingDrw = 0x40000 ,
  kClipSetIsEmpty = 0x80000 , kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty , kDrawPolygonFill = 0x100000 , kExcludeFromViewExt = 0x200000 ,
  kDrawDgLsPolyWithoutBreaks = 0x400000 , kPolygonProcessing = 0x800000 , kDisableAutoGenerateNormals = 0x1000000 , kDisableFillModeCheck = 0x2000000 ,
  kDrawUnderlayReference = 0x4000000 , kFxNoFillOnSelect = 0x08000000 , kInheritableDrawFlags
}
 
enum  ShadowFlags { kShadowsCastAndReceive = 0 , kShadowsDoesNotCast = 1 , kShadowsDoesNotReceive = 2 , kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive }
 
enum  SelectionFlags { kNoSelectionFlags = 0 , kSelectionIgnore = 1 , kHighlightingGeometry = 2 , kFxSubentitySelection = 0x80 }
 
enum  SubEntityHints {
  kHint2DAttributes = 1 , kHint3DAttributes = 2 , kHintAllAttributes = kHint2DAttributes | kHint3DAttributes , kHintSnapModeOn = 4 ,
  kHintDefaultState = kHintAllAttributes
}
 
- Public Types inherited from OdGiContext
enum  ImageQuality { kImageQualityDraft = 0 , kImageQualityHigh = 1 }
 
enum  FadingType { kLockedLayerFade = 0 , kXrefFade = 1 , kRefEditFade = 2 }
 
enum  GlyphType { kLightGlyph = 0 , kCameraGlyph = 1 }
 
enum  LineWeightStyle { kPointLineWeight = 0 , kLineCapStyle = 1 , kLineJoinStyle = 2 }
 
enum  DrawableFilterInputFlags { kNestedDrawable = 0x1000000 }
 
enum  DrawableFilterOutputFlags { kSkipVectorization = 1 }
 
enum  DrawableFilterRanges { kDrawableFilterAppRangeStart = 0x1000000 , kDrawableFilterAppRangeMask = (OdInt32)0xFF000000 }
 
enum  PStyleType { kPsNone = 0 , kPsByColor = 1 , kPsByName = 2 }
 
enum  SilhouetteType { kNoSilhouettes = 0 , kMeshSilhouettes = (1 << 0) , kModelerSilhouettes = (1 << 1) , kAllSilhouettes = kMeshSilhouettes | kModelerSilhouettes }
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 894 of file GiDummyGeometry.h.

Constructor & Destructor Documentation

◆ OdGiViewportDraw_Dummy()

OdGiViewportDraw_Dummy::OdGiViewportDraw_Dummy ( OdDbBaseDatabase pDb = 0)
inline

Definition at line 903 of file GiDummyGeometry.h.

Member Function Documentation

◆ addRef()

void OdGiViewportDraw_Dummy::addRef ( )
inlinevirtual

Declares the method incrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.
See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

Implements OdRxObject.

Definition at line 911 of file GiDummyGeometry.h.

◆ context()

virtual OdGiContext* OdGiViewportDraw_Dummy::context ( ) const
inlinevirtual

Definition at line 909 of file GiDummyGeometry.h.

◆ database()

virtual OdDbBaseDatabase* OdGiViewportDraw_Dummy::database ( ) const
inlinevirtual

Returns the database that is currently being vectorized.

Reimplemented from OdGiDummyContext< OdGiContext >.

Definition at line 904 of file GiDummyGeometry.h.

◆ geometry()

virtual OdGiViewportGeometry& OdGiViewportDraw_Dummy::geometry ( ) const
inlinevirtual

Definition at line 908 of file GiDummyGeometry.h.

◆ ODRX_USING_HEAP_OPERATORS()

OdGiViewportDraw_Dummy::ODRX_USING_HEAP_OPERATORS ( OdGiDummySubEntityTraits< OdGiSubEntityTraits )

◆ rawGeometry()

virtual OdGiGeometry& OdGiViewportDraw_Dummy::rawGeometry ( ) const
inlinevirtual

Definition at line 906 of file GiDummyGeometry.h.

◆ release()

void OdGiViewportDraw_Dummy::release ( )
inlinevirtual

Declares the method decrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.
See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

Implements OdRxObject.

Definition at line 912 of file GiDummyGeometry.h.

◆ subEntityTraits()

virtual OdGiSubEntityTraits& OdGiViewportDraw_Dummy::subEntityTraits ( ) const
inlinevirtual

Definition at line 907 of file GiDummyGeometry.h.


The documentation for this class was generated from the following file: