CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGsSelectionReactor Class Referenceabstract

#include <GsSelectionReactor.h>

Public Types

enum  { kNotImplemented = 0x80000000 , kContinue = 0 , kBreak = 1 , kSkipDrawable = 2 }
 

Public Member Functions

virtual bool selected (const OdGiDrawableDesc &pDrawableDesc)=0
 
virtual OdUInt32 selected (const OdGiPathNode &, const OdGiViewport &)
 
virtual ~OdGsSelectionReactor ()
 

Detailed Description

This class is the base class for custom classes that receive notification of OdGs Selection events.

Remarks
The default implementations of all methods in this class do nothing but return.
See also
TD_Gs

<group OdGs_Classes>

Definition at line 156 of file GsSelectionReactor.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kNotImplemented 
kContinue 
kBreak 
kSkipDrawable 

Definition at line 172 of file GsSelectionReactor.h.

Constructor & Destructor Documentation

◆ ~OdGsSelectionReactor()

virtual OdGsSelectionReactor::~OdGsSelectionReactor ( )
inlinevirtual

Destructor for the OdGsSelectionReactor class.

Definition at line 198 of file GsSelectionReactor.h.

Member Function Documentation

◆ selected() [1/2]

virtual bool OdGsSelectionReactor::selected ( const OdGiDrawableDesc & pDrawableDesc)
pure virtual

Notification function called whenever an OdGiDrawableDesc object has been selected.

Parameters
pDrawableDesc[in] Pointer to the OdGiDrawableDesc object.
Remarks
Returns true if and only if the operation is to continue.

This function is called after the operation.

◆ selected() [2/2]

virtual OdUInt32 OdGsSelectionReactor::selected ( const OdGiPathNode & ,
const OdGiViewport &  )
inlinevirtual

Notification function called whenever object or it's sub-object selected.

Parameters
pathNode[in] Path to selected object.
viewInfo[in] Viewport in which selection was executed.
Remarks
Returns code from unnamed enumeration declared in this class. Returns kNotImplemented by default.

Definition at line 190 of file GsSelectionReactor.h.


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