CFx SDK Documentation  2020SP3
Classes | Public Member Functions | Protected Member Functions | List of all members
CFxModelerExtension Class Referenceabstract

#include <FxDbExtension.h>

Classes

struct  HLData
 

Public Member Functions

virtual ~CFxModelerExtension ()=0
 
virtual OdResult generateEDGES (const OdRxObjectPtrArray &curveSegments, ENTITY_LIST &edges, OdRxObjectPtr pPar=0)=0
 
virtual OdResult generateEDGES (const OdRxObjectPtr &pIt, EDGE *&edge, bool negative=false)=0
 
virtual OdResult generateWire (const OdDbEntity *pPathCurve, BODY *&pBody)=0
 
virtual bool getBodyTransform (const BODY *body, OdGeMatrix3d &mx)=0
 
virtual OdResult generateCurve (EDGE *pEdge, OdGeCurve3d *&o_pCurve)=0
 
virtual void StartModellerInThread ()=0
 
virtual voidgetSpaBodyEntity (OdDbEntityPtr pEnt)=0
 
virtual voidgetBodyFromEntity (OdDbEntityPtr i_pEnt)=0
 
virtual OdResult getWiresFromRegion (OdDbRegionPtr pR, std::vector< BODY * > &OuterWires, std::vector< std::vector< BODY * >> &IslandsToEntity)=0
 
virtual void setBodyFor (ENTITY_LIST *pNewFile, AfTypeVer typeVer, OdDbRegionPtr &offsetregion)=0
 
virtual BODY * getBodyFrom (const OdDbRegion *pRegion)=0
 
virtual BODY * getBodyFrom (const OdDbSurface *pSurface)=0
 
virtual BODY * getBodyFrom (const OdDb3dSolid *pSolid)=0
 
virtual OdResult rayTest2 (OdDbEntityPtr i_pObj, const OdGePoint3d &rayBasePoint, const OdGeVector3d &rayDir, double rayRadius, OdArray< OdDbSubentId > &subEntIds, OdGeDoubleArray &parameters)=0
 
virtual void applyColor (OdDbEntityPtr pThis, OdDbEntityPtr pOther)
 
virtual OdResult flatShot (const OdDb3dSolidPtr pBody, const OdGePoint3d &eye_pos, const OdGePoint3d &target_pos, bool bPersepcitveProjection, OdDbEntityPtrArray &result)
 
virtual OdResult flatShot (const OdDbSurfacePtr pSurface, const OdGePoint3d &eye_pos, const OdGePoint3d &target_pos, bool bPersepcitveProjection, OdDbEntityPtrArray &result)
 
virtual OdResult flatShotHL (const OdDbEntityPtrArray &input, const OdGePoint3d &eye_pos, const OdGePoint3d &target_pos, bool bPersepcitveProjection, OdArray< HLData > &output)
 
virtual int initialize_acis ()
 
virtual int terminate_acis (int level)
 
virtual bool getCentroid (OdDbRegionPtr i_region, OdGePoint2d &o_center)
 
virtual bool separateRegion (OdDbRegionPtr i_region, OdRxObjectPtrArray &o_entitySet)
 
virtual OdResult getSubentities (OdDb3dSolidPtr i_pSolid, OdDb::SubentType i_type, OdDbFullSubentPathArray &o_subentPaths)
 
virtual OdResult drawShells (OdGiViewportDraw *pViewportDraw, OdDbEntityPtr pEntity)
 
virtual OdResult drawEdges (OdGiViewportDraw *pViewportDraw, OdDbEntityPtr pEntity)
 
virtual OdResult drawSilhouettes (OdGiViewportDraw *pViewportDraw, OdDbEntityPtr pEntity, CFxSilhouetteVisiblityCallback *pCallback=0)
 

Protected Member Functions

virtual void applyColor (OdModelerGeometry *p, OdCmColor color)=0
 
OdModelerGeometryPtr GetModeler (const OdDb3dSolidPtr pBody)
 
OdModelerGeometryPtr GetModeler (const OdDbSurfacePtr pSurface)
 
OdModelerGeometryPtr GetModeler (const OdDbRegionPtr pRegion)
 
 CFxModelerExtension ()
 

Detailed Description

Definition at line 497 of file FxDbExtension.h.

Constructor & Destructor Documentation

◆ ~CFxModelerExtension()

virtual CFxModelerExtension::~CFxModelerExtension ( )
pure virtual

◆ CFxModelerExtension()

CFxModelerExtension::CFxModelerExtension ( )
protected

Member Function Documentation

◆ applyColor() [1/2]

virtual void CFxModelerExtension::applyColor ( OdDbEntityPtr  pThis,
OdDbEntityPtr  pOther 
)
virtual

◆ applyColor() [2/2]

virtual void CFxModelerExtension::applyColor ( OdModelerGeometry p,
OdCmColor  color 
)
protectedpure virtual

◆ drawEdges()

virtual OdResult CFxModelerExtension::drawEdges ( OdGiViewportDraw pViewportDraw,
OdDbEntityPtr  pEntity 
)
virtual

◆ drawShells()

virtual OdResult CFxModelerExtension::drawShells ( OdGiViewportDraw pViewportDraw,
OdDbEntityPtr  pEntity 
)
virtual

◆ drawSilhouettes()

virtual OdResult CFxModelerExtension::drawSilhouettes ( OdGiViewportDraw pViewportDraw,
OdDbEntityPtr  pEntity,
CFxSilhouetteVisiblityCallback pCallback = 0 
)
virtual

◆ flatShot() [1/2]

virtual OdResult CFxModelerExtension::flatShot ( const OdDb3dSolidPtr  pBody,
const OdGePoint3d eye_pos,
const OdGePoint3d target_pos,
bool  bPersepcitveProjection,
OdDbEntityPtrArray result 
)
virtual

◆ flatShot() [2/2]

virtual OdResult CFxModelerExtension::flatShot ( const OdDbSurfacePtr  pSurface,
const OdGePoint3d eye_pos,
const OdGePoint3d target_pos,
bool  bPersepcitveProjection,
OdDbEntityPtrArray result 
)
virtual

◆ flatShotHL()

virtual OdResult CFxModelerExtension::flatShotHL ( const OdDbEntityPtrArray input,
const OdGePoint3d eye_pos,
const OdGePoint3d target_pos,
bool  bPersepcitveProjection,
OdArray< HLData > &  output 
)
virtual

◆ generateCurve()

virtual OdResult CFxModelerExtension::generateCurve ( EDGE *  pEdge,
OdGeCurve3d *&  o_pCurve 
)
pure virtual

◆ generateEDGES() [1/2]

virtual OdResult CFxModelerExtension::generateEDGES ( const OdRxObjectPtr pIt,
EDGE *&  edge,
bool  negative = false 
)
pure virtual

◆ generateEDGES() [2/2]

virtual OdResult CFxModelerExtension::generateEDGES ( const OdRxObjectPtrArray curveSegments,
ENTITY_LIST &  edges,
OdRxObjectPtr  pPar = 0 
)
pure virtual

◆ generateWire()

virtual OdResult CFxModelerExtension::generateWire ( const OdDbEntity pPathCurve,
BODY *&  pBody 
)
pure virtual

◆ getBodyFrom() [1/3]

virtual BODY* CFxModelerExtension::getBodyFrom ( const OdDb3dSolid pSolid)
pure virtual

◆ getBodyFrom() [2/3]

virtual BODY* CFxModelerExtension::getBodyFrom ( const OdDbRegion pRegion)
pure virtual

◆ getBodyFrom() [3/3]

virtual BODY* CFxModelerExtension::getBodyFrom ( const OdDbSurface pSurface)
pure virtual

◆ getBodyFromEntity()

virtual void* CFxModelerExtension::getBodyFromEntity ( OdDbEntityPtr  i_pEnt)
pure virtual

◆ getBodyTransform()

virtual bool CFxModelerExtension::getBodyTransform ( const BODY *  body,
OdGeMatrix3d mx 
)
pure virtual

◆ getCentroid()

virtual bool CFxModelerExtension::getCentroid ( OdDbRegionPtr  i_region,
OdGePoint2d o_center 
)
virtual

◆ GetModeler() [1/3]

OdModelerGeometryPtr CFxModelerExtension::GetModeler ( const OdDb3dSolidPtr  pBody)
protected

◆ GetModeler() [2/3]

OdModelerGeometryPtr CFxModelerExtension::GetModeler ( const OdDbRegionPtr  pRegion)
protected

◆ GetModeler() [3/3]

OdModelerGeometryPtr CFxModelerExtension::GetModeler ( const OdDbSurfacePtr  pSurface)
protected

◆ getSpaBodyEntity()

virtual void* CFxModelerExtension::getSpaBodyEntity ( OdDbEntityPtr  pEnt)
pure virtual

◆ getSubentities()

virtual OdResult CFxModelerExtension::getSubentities ( OdDb3dSolidPtr  i_pSolid,
OdDb::SubentType  i_type,
OdDbFullSubentPathArray o_subentPaths 
)
virtual

◆ getWiresFromRegion()

virtual OdResult CFxModelerExtension::getWiresFromRegion ( OdDbRegionPtr  pR,
std::vector< BODY * > &  OuterWires,
std::vector< std::vector< BODY * >> &  IslandsToEntity 
)
pure virtual

◆ initialize_acis()

virtual int CFxModelerExtension::initialize_acis ( )
virtual

◆ rayTest2()

virtual OdResult CFxModelerExtension::rayTest2 ( OdDbEntityPtr  i_pObj,
const OdGePoint3d rayBasePoint,
const OdGeVector3d rayDir,
double  rayRadius,
OdArray< OdDbSubentId > &  subEntIds,
OdGeDoubleArray parameters 
)
pure virtual

◆ separateRegion()

virtual bool CFxModelerExtension::separateRegion ( OdDbRegionPtr  i_region,
OdRxObjectPtrArray o_entitySet 
)
virtual

◆ setBodyFor()

virtual void CFxModelerExtension::setBodyFor ( ENTITY_LIST *  pNewFile,
AfTypeVer  typeVer,
OdDbRegionPtr offsetregion 
)
pure virtual

◆ StartModellerInThread()

virtual void CFxModelerExtension::StartModellerInThread ( )
pure virtual

◆ terminate_acis()

virtual int CFxModelerExtension::terminate_acis ( int  level)
virtual

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