CFx SDK Documentation 2024 SP0
|
#include <GiSelectProc.h>
Public Types | |
enum | { kCheckMarkerOnChange = 1 , kCheckMarkerOnViewModeChange = 2 , kCheckMarkerFinish = 0x80000000 } |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiSelectProc) | |
virtual void | set (const OdGePoint2d *pPoints, OdUInt32 nPoints, OdGsView::SelectionMode mode, OdGsSelectionReactor *pReactor)=0 |
virtual void | get (OdGePoint2dArray &points, OdGsView::SelectionMode &mode)=0 |
virtual void | check_n_fire_selected (OdUInt32 flags=0)=0 |
virtual void | setDeviation (const OdGeDoubleArray &deviations)=0 |
virtual void | setDeviation (const OdGiDeviation *pDeviation)=0 |
virtual void | setDrawContext (OdGiConveyorContext *pDrawCtx)=0 |
virtual bool | handleSelectionByExtents (const OdGeExtents3d &extWc) |
Public Member Functions inherited from OdGiConveyorNode | |
ODRX_DECLARE_MEMBERS (OdGiConveyorNode) | |
virtual OdGiConveyorInput & | input ()=0 |
virtual OdGiConveyorOutput & | output ()=0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 bool | supportsSubentitySelection (const OdGiViewport *pView, OdGsView::SelectionMode mode, OdGsSelectionReactor *pReactor) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Additional Inherited Members | |
Protected Member Functions inherited from OdGiConveyorNode | |
OdGiConveyorNode () | |
This class implements conveyor nodes performing selections.
For any input primitive, this node performs the following actions:
To MARK the current drawable is means to currentDrawableDesc()->markBySelection(true). If the drawable is neither a compound object nor uses nesting, means currentDrawableDesc()->markToSkip(true).
This conveyor node is used for implementation OdGsBaseVectorizeView::select() and does not produce any output.
<group OdGi_Classes>
Definition at line 65 of file GiSelectProc.h.
anonymous enum |
Enumerator | |
---|---|
kCheckMarkerOnChange | |
kCheckMarkerOnViewModeChange | |
kCheckMarkerFinish |
Definition at line 68 of file GiSelectProc.h.
|
pure virtual |
Retrieves the boundary that forms selection area, selection mode.
points | [out] Array of points that form the selection area. |
mode | [out] Selection mode. |
|
inlinevirtual |
Checks that selection can be performed by checking extents without playing content.
extWc | [in] Data extents. |
Definition at line 144 of file GiSelectProc.h.
OdGiSelectProc::ODRX_DECLARE_MEMBERS | ( | OdGiSelectProc | ) |
|
pure virtual |
Sets the boundary that forms selection area, selection mode and reactor.
pPoints | [in] Pointer to an array of points that form selection area. |
nPoints | [in] Number of points in array. |
mode | [in] Selection mode. |
pReactor | [in] Pointer to the selection reactor. |
|
pure virtual |
Sets max deviation for curve tessellation.
deviations | [in] Array with deviation values. |
|
pure virtual |
Sets deviation object to obtain max deviation for curve tessellation.
pDeviation | [in] Pointer to the deviation object. |
|
pure virtual |
Sets the draw context object (to access to traits, etc).
pDrawCtx | [in] Pointer to the draw context. |
|
static |
Checks whether selection reactor and selection mode support subentity selection.
pView | [in] Pointer to the graphic view. |
mode | [in] Selection mode. Currently not used. |
pReactor | [in] Pointer to the selection reactor. |