CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
CFxInputPointManager Class Referenceabstract

#include <FxInputPointManager.h>

Inheritance diagram for CFxInputPointManager:
OdRxObject

Public Types

enum  EntitiesMode { eByAPERTURE = 1 , eByPICKBOX = 2 , eByFramePreview = 3 , eByMaxRequiredSize = 4 }
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (CFxInputPointManager)
 
 CFxInputPointManager (void)
 
 ~CFxInputPointManager (void) override
 
virtual void AddInputContextReactor (CFxInputContextReactor *pReactor)=0
 
virtual void RemoveInputContextReactor (CFxInputContextReactor *pReact)=0
 
virtual void AddTracker (CFxTracker *pTracker, bool bPermanent)=0
 
virtual void RemoveTracker (CFxTracker *pTracker)=0
 
virtual CFxHitTestInfoGetHitTestInfo ()=0
 
virtual bool IsUpdateTrackersActive () const =0
 
virtual bool IsDrawTrackersActive () const =0
 
virtual void AddGrVecsVector (const CFxView *pView, int color, const OdGePoint3d &start, const OdGePoint3d &end, int flag)=0
 
virtual CFxExpressionParserGetParameterParser () const =0
 
virtual const OdGePoint3dGetPrimaryPoint () const =0
 
virtual const OdGePoint3dGetPrimaryClickPoint () const =0
 
virtual const OdGePoint3dGetBasePoint () const =0
 
virtual void SetBasePoint (const OdGePoint3d *pBasePoint)=0
 
virtual void SetRubberLinePoint (const OdGePoint3d *pRubberLinePoint)=0
 
virtual const CFxOtrackPointGetOtrackPoint () const =0
 
virtual const OdGePoint3dGetRubberLinePoint () const =0
 
virtual const OdGePoint3dGetRubberLineClickPoint () const =0
 
virtual const OdGePoint3dGetCursorPoint () const =0
 
virtual const OdGePoint3dGetCursorClickPoint () const =0
 
virtual const CFxGripPoint * GetGripPoint () const =0
 
virtual void SetGripPoint (const CFxGripPoint *pGrip)=0
 
virtual IFxConstraintManager * GetConstraintManager () const =0
 
virtual const CFxOrthoPointGetOrthoPoint () const =0
 
virtual const CFxOsnapPointGetOsnapPoint (bool bCalculate) const =0
 
virtual void SetOsnapPoint (const CFxOsnapPoint *pOsnap)=0
 
virtual void SetOsnapPoint (CFxOsnapPoint::OsnapMode osnapMode, const OdGePoint3d &point, const OdDbFullSubentPath &first, const OdDbFullSubentPath &second)=0
 
virtual const CFxSelectionSetGetSelectionSet (EntitiesMode mode=eByAPERTURE) const =0
 
virtual CFxSelectionSetGetSelectionSetCopy (EntitiesMode mode) const =0
 
virtual void EnableOsnapCalculation (bool bVal)=0
 
virtual bool IsOsnapCalculationEnabled () const =0
 
virtual void EnableOtrackCalculation (bool bVal)=0
 
virtual bool IsOtrackCalculationEnabled () const =0
 
virtual void EnableOrthoCalculation (bool bVal)=0
 
virtual bool IsOrthoCalculationEnabled () const =0
 
virtual void EnableGripsCalculation (bool bVal)=0
 
virtual bool IsGripsCalculationEnabled () const =0
 
virtual void EnableSnapCalculation (bool bVal)=0
 
virtual bool IsSnapCalculationEnabled () const =0
 
virtual bool IsOtrackPolarCalculationEnabled () const =0
 
virtual bool IsCursorSnapping () const =0
 
virtual void EnableOtrackPolarCalculation (bool bVal)=0
 
virtual OdInt16 GetCurrentOSMODE () const =0
 
virtual void SetCurrentOSMODE (OdInt16 iNewMode)=0
 
virtual const OdGePlaneGetWorkingPlane () const =0
 
virtual void AddOtrackBasePoint (const CFxOsnapPoint *, bool ignoreOtrack=false)=0
 
virtual void ClearOtrackBasePoints ()=0
 
virtual void SkipCurrentInputPoint (bool skip=true)=0
 
virtual const CFxDocumentGetFxDocument () const =0
 
virtual OdGeMatrix3d WorldToWorkingPlaneMatrix () const
 
virtual void GetWorkingPlaneSystem (OdGePoint3d &origin, OdGeVector3d &xAxis, OdGeVector3d &yAxis) const
 
virtual bool UpdateTrackers (const CFxEvent *event)=0
 
virtual void AllowAbortOperation (bool bVal)=0
 
virtual bool OperationAborted () const =0
 
virtual void ResetAbortOperation (bool bSet, unsigned int iInterval)=0
 
virtual bool CalculateWCSToSnapMatrix (const OdGePoint2d &unitsUCS, OdGeMatrix3d &result, OdGeMatrix3d *wcs2ucs=0, OdGePlane *planeUCS=0)=0
 
virtual void SetPrimaryPoint (const OdGePoint3d &pt, bool bForceUpdate=false)=0
 
virtual void CacheMe (const CFxTracker *pTracker, bool bAddToCache, int iPriority)=0
 
virtual CFxRibbonContextualStateGetRibbonContextualState () const =0
 
virtual void SetRibbonContextualState (CFxRibbonContextualState *pContextualState)=0
 
virtual const CFxDraggingPreview * GetDraggingPreview () const =0
 
virtual void SetDraggingPreview (CFxDraggingPreview *pDraggingPreview)=0
 
virtual const CFxOsnapPointGetLastOsnapPoint () const =0
 
- 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 void addRef ()=0
 
virtual void release ()=0
 
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
 

Static Public Member Functions

static void GetCursorSystem (const CFxView *pFxView, OdGePoint3d &ptOrigin, OdGeVector3d &xAxis, OdGeVector3d &yAxis)
 
static void GetElevatedUcsPlane (const CFxView *pFxView, OdGePoint3d &ptOrigin, OdGeVector3d &xAxis, OdGeVector3d &yAxis)
 
static void GetWorkPlane (const CFxView *pFxView, OdGePoint3d &ptOrigin, OdGeVector3d &xAxis, OdGeVector3d &yAxis)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Friends

class CFxExpressionParser
 

Detailed Description

Description: Manages the input point. Library: DDKERNEL

Definition at line 46 of file FxInputPointManager.h.

Member Enumeration Documentation

◆ EntitiesMode

Enumerator
eByAPERTURE 
eByPICKBOX 
eByFramePreview 
eByMaxRequiredSize 

Definition at line 50 of file FxInputPointManager.h.

Constructor & Destructor Documentation

◆ CFxInputPointManager()

CFxInputPointManager::CFxInputPointManager ( void  )

◆ ~CFxInputPointManager()

CFxInputPointManager::~CFxInputPointManager ( void  )
override

Member Function Documentation

◆ AddGrVecsVector()

virtual void CFxInputPointManager::AddGrVecsVector ( const CFxView pView,
int  color,
const OdGePoint3d start,
const OdGePoint3d end,
int  flag 
)
pure virtual

Description:

◆ AddInputContextReactor()

virtual void CFxInputPointManager::AddInputContextReactor ( CFxInputContextReactor pReactor)
pure virtual

Description:

◆ AddOtrackBasePoint()

virtual void CFxInputPointManager::AddOtrackBasePoint ( const CFxOsnapPoint ,
bool  ignoreOtrack = false 
)
pure virtual

Description:

◆ AddTracker()

virtual void CFxInputPointManager::AddTracker ( CFxTracker pTracker,
bool  bPermanent 
)
pure virtual

Description:

◆ AllowAbortOperation()

virtual void CFxInputPointManager::AllowAbortOperation ( bool  bVal)
pure virtual

Description: Increases or decreases the regeneration abort counter. Arguments:

Parameters
bValInput

◆ CacheMe()

virtual void CFxInputPointManager::CacheMe ( const CFxTracker pTracker,
bool  bAddToCache,
int  iPriority 
)
pure virtual

Description: adds tracker to cache picture.

◆ CalculateWCSToSnapMatrix()

virtual bool CFxInputPointManager::CalculateWCSToSnapMatrix ( const OdGePoint2d unitsUCS,
OdGeMatrix3d result,
OdGeMatrix3d wcs2ucs = 0,
OdGePlane planeUCS = 0 
)
pure virtual

Description: Arguments:

Parameters
unitsUCSInput
resultOutput
wcs2ucsOutput
planeUCSOutput

◆ ClearOtrackBasePoints()

virtual void CFxInputPointManager::ClearOtrackBasePoints ( )
pure virtual

Description:

◆ EnableGripsCalculation()

virtual void CFxInputPointManager::EnableGripsCalculation ( bool  bVal)
pure virtual

Description:

◆ EnableOrthoCalculation()

virtual void CFxInputPointManager::EnableOrthoCalculation ( bool  bVal)
pure virtual

Description:

◆ EnableOsnapCalculation()

virtual void CFxInputPointManager::EnableOsnapCalculation ( bool  bVal)
pure virtual

Description:

◆ EnableOtrackCalculation()

virtual void CFxInputPointManager::EnableOtrackCalculation ( bool  bVal)
pure virtual

Description:

◆ EnableOtrackPolarCalculation()

virtual void CFxInputPointManager::EnableOtrackPolarCalculation ( bool  bVal)
pure virtual

Description:

◆ EnableSnapCalculation()

virtual void CFxInputPointManager::EnableSnapCalculation ( bool  bVal)
pure virtual

Description:

◆ GetBasePoint()

virtual const OdGePoint3d * CFxInputPointManager::GetBasePoint ( ) const
pure virtual

Description: Returns grip point.

◆ GetConstraintManager()

virtual IFxConstraintManager * CFxInputPointManager::GetConstraintManager ( ) const
pure virtual

Description: Returns internal constraint manager instance.

◆ GetCurrentOSMODE()

virtual OdInt16 CFxInputPointManager::GetCurrentOSMODE ( ) const
pure virtual

Description:

◆ GetCursorClickPoint()

virtual const OdGePoint3d & CFxInputPointManager::GetCursorClickPoint ( ) const
pure virtual

Description:

◆ GetCursorPoint()

virtual const OdGePoint3d & CFxInputPointManager::GetCursorPoint ( ) const
pure virtual

Description:

◆ GetCursorSystem()

static void CFxInputPointManager::GetCursorSystem ( const CFxView pFxView,
OdGePoint3d ptOrigin,
OdGeVector3d xAxis,
OdGeVector3d yAxis 
)
static

Description:

◆ GetDraggingPreview()

virtual const CFxDraggingPreview * CFxInputPointManager::GetDraggingPreview ( ) const
pure virtual

◆ GetElevatedUcsPlane()

static void CFxInputPointManager::GetElevatedUcsPlane ( const CFxView pFxView,
OdGePoint3d ptOrigin,
OdGeVector3d xAxis,
OdGeVector3d yAxis 
)
static

◆ GetFxDocument()

virtual const CFxDocument * CFxInputPointManager::GetFxDocument ( ) const
pure virtual

Description:

◆ GetGripPoint()

virtual const CFxGripPoint * CFxInputPointManager::GetGripPoint ( ) const
pure virtual

Description: Returns grip point.

◆ GetHitTestInfo()

virtual CFxHitTestInfo * CFxInputPointManager::GetHitTestInfo ( )
pure virtual

Description:

◆ GetLastOsnapPoint()

virtual const CFxOsnapPoint * CFxInputPointManager::GetLastOsnapPoint ( ) const
pure virtual

◆ GetOrthoPoint()

virtual const CFxOrthoPoint * CFxInputPointManager::GetOrthoPoint ( ) const
pure virtual

Description: Returns ortho point.

◆ GetOsnapPoint()

virtual const CFxOsnapPoint * CFxInputPointManager::GetOsnapPoint ( bool  bCalculate) const
pure virtual

Description:

◆ GetOtrackPoint()

virtual const CFxOtrackPoint * CFxInputPointManager::GetOtrackPoint ( ) const
pure virtual

◆ GetParameterParser()

virtual CFxExpressionParser * CFxInputPointManager::GetParameterParser ( ) const
pure virtual

Description:

◆ GetPrimaryClickPoint()

virtual const OdGePoint3d & CFxInputPointManager::GetPrimaryClickPoint ( ) const
pure virtual

Description: This is the primary point used for calculations.

◆ GetPrimaryPoint()

virtual const OdGePoint3d & CFxInputPointManager::GetPrimaryPoint ( ) const
pure virtual

Description: This is the primary point used for calculations.

◆ GetRibbonContextualState()

virtual CFxRibbonContextualState * CFxInputPointManager::GetRibbonContextualState ( ) const
pure virtual

◆ GetRubberLineClickPoint()

virtual const OdGePoint3d & CFxInputPointManager::GetRubberLineClickPoint ( ) const
pure virtual

Description:

◆ GetRubberLinePoint()

virtual const OdGePoint3d & CFxInputPointManager::GetRubberLinePoint ( ) const
pure virtual

Description:

◆ GetSelectionSet()

virtual const CFxSelectionSet * CFxInputPointManager::GetSelectionSet ( EntitiesMode  mode = eByAPERTURE) const
pure virtual

Description: Returns selection set.

◆ GetSelectionSetCopy()

virtual CFxSelectionSet * CFxInputPointManager::GetSelectionSetCopy ( EntitiesMode  mode) const
pure virtual

Description:

◆ GetWorkingPlane()

virtual const OdGePlane & CFxInputPointManager::GetWorkingPlane ( ) const
pure virtual

Description:

◆ GetWorkingPlaneSystem()

virtual void CFxInputPointManager::GetWorkingPlaneSystem ( OdGePoint3d origin,
OdGeVector3d xAxis,
OdGeVector3d yAxis 
) const
virtual

Description: Returns matrix.

◆ GetWorkPlane()

static void CFxInputPointManager::GetWorkPlane ( const CFxView pFxView,
OdGePoint3d ptOrigin,
OdGeVector3d xAxis,
OdGeVector3d yAxis 
)
static

◆ IsCursorSnapping()

virtual bool CFxInputPointManager::IsCursorSnapping ( ) const
pure virtual

Description:

◆ IsDrawTrackersActive()

virtual bool CFxInputPointManager::IsDrawTrackersActive ( ) const
pure virtual

Description:

◆ IsGripsCalculationEnabled()

virtual bool CFxInputPointManager::IsGripsCalculationEnabled ( ) const
pure virtual

Description:

◆ IsOrthoCalculationEnabled()

virtual bool CFxInputPointManager::IsOrthoCalculationEnabled ( ) const
pure virtual

Description:

◆ IsOsnapCalculationEnabled()

virtual bool CFxInputPointManager::IsOsnapCalculationEnabled ( ) const
pure virtual

Description:

◆ IsOtrackCalculationEnabled()

virtual bool CFxInputPointManager::IsOtrackCalculationEnabled ( ) const
pure virtual

Description:

◆ IsOtrackPolarCalculationEnabled()

virtual bool CFxInputPointManager::IsOtrackPolarCalculationEnabled ( ) const
pure virtual

Description:

◆ IsSnapCalculationEnabled()

virtual bool CFxInputPointManager::IsSnapCalculationEnabled ( ) const
pure virtual

Description:

◆ IsUpdateTrackersActive()

virtual bool CFxInputPointManager::IsUpdateTrackersActive ( ) const
pure virtual

Description:

◆ ODRX_DECLARE_MEMBERS()

CFxInputPointManager::ODRX_DECLARE_MEMBERS ( CFxInputPointManager  )

◆ OperationAborted()

virtual bool CFxInputPointManager::OperationAborted ( ) const
pure virtual

Description: Returns true if regeneration was aborted. Return Value:

◆ RemoveInputContextReactor()

virtual void CFxInputPointManager::RemoveInputContextReactor ( CFxInputContextReactor pReact)
pure virtual

Description:

◆ RemoveTracker()

virtual void CFxInputPointManager::RemoveTracker ( CFxTracker pTracker)
pure virtual

Description:

◆ ResetAbortOperation()

virtual void CFxInputPointManager::ResetAbortOperation ( bool  bSet,
unsigned int  iInterval 
)
pure virtual

Description: Sets m_bRegenAbort value Arguments:

Parameters
bSetInput
iIntervalInput

◆ SetBasePoint()

virtual void CFxInputPointManager::SetBasePoint ( const OdGePoint3d pBasePoint)
pure virtual

Description: Sets base point.

◆ SetCurrentOSMODE()

virtual void CFxInputPointManager::SetCurrentOSMODE ( OdInt16  iNewMode)
pure virtual

Description:

◆ SetDraggingPreview()

virtual void CFxInputPointManager::SetDraggingPreview ( CFxDraggingPreview *  pDraggingPreview)
pure virtual

◆ SetGripPoint()

virtual void CFxInputPointManager::SetGripPoint ( const CFxGripPoint *  pGrip)
pure virtual

Description: Sets grip point.

◆ SetOsnapPoint() [1/2]

virtual void CFxInputPointManager::SetOsnapPoint ( CFxOsnapPoint::OsnapMode  osnapMode,
const OdGePoint3d point,
const OdDbFullSubentPath first,
const OdDbFullSubentPath second 
)
pure virtual

Description: Sets osnap point.

◆ SetOsnapPoint() [2/2]

virtual void CFxInputPointManager::SetOsnapPoint ( const CFxOsnapPoint pOsnap)
pure virtual

Description: Sets osnap point.

◆ SetPrimaryPoint()

virtual void CFxInputPointManager::SetPrimaryPoint ( const OdGePoint3d pt,
bool  bForceUpdate = false 
)
pure virtual

Description: Arguments:

Parameters
ptInput
bForceUpdateInput

◆ SetRibbonContextualState()

virtual void CFxInputPointManager::SetRibbonContextualState ( CFxRibbonContextualState pContextualState)
pure virtual

◆ SetRubberLinePoint()

virtual void CFxInputPointManager::SetRubberLinePoint ( const OdGePoint3d pRubberLinePoint)
pure virtual

Description:

◆ SkipCurrentInputPoint()

virtual void CFxInputPointManager::SkipCurrentInputPoint ( bool  skip = true)
pure virtual

Description: Indicates if the input point in an eventFilter should be ignored, returning kRtNone instead. This needs to be set from the Update() of a tracker, which starts a message loop through one of CFxUserIO's GetX functions.

◆ UpdateTrackers()

virtual bool CFxInputPointManager::UpdateTrackers ( const CFxEvent event)
pure virtual

◆ WorldToWorkingPlaneMatrix()

virtual OdGeMatrix3d CFxInputPointManager::WorldToWorkingPlaneMatrix ( ) const
virtual

Description: Returns matrix.

Friends And Related Function Documentation

◆ CFxExpressionParser

friend class CFxExpressionParser
friend

Definition at line 48 of file FxInputPointManager.h.


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