CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
OdGiDrawablePESelectionReactor Class Reference

#include <GiDrawableSelectPE.h>

Public Types

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

Public Member Functions

virtual OdUInt32 selected (OdGsMarker offset, double depth)
 
virtual OdUInt32 hasOutOfSelection ()
 

Detailed Description

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

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

<group OdGi_Classes>

Definition at line 47 of file GiDrawableSelectPE.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kNotImplemented 
kContinue 
kBreak 

Definition at line 51 of file GiDrawableSelectPE.h.

Member Function Documentation

◆ hasOutOfSelection()

virtual OdUInt32 OdGiDrawablePESelectionReactor::hasOutOfSelection ( )
inlinevirtual

Notification function called whenever it was discovered that there are sub objects which are out of selection

Returns
Returns information about the next actions (continue, break) or informs that the method is not implemented

Definition at line 83 of file GiDrawableSelectPE.h.

◆ selected()

virtual OdUInt32 OdGiDrawablePESelectionReactor::selected ( OdGsMarker  offset,
double  depth 
)
inlinevirtual

Notification function called whenever an sub object inside the drawable has been selected.

Parameters
offset[in] Offset of the selected sub object inside the drawable relative to the base marker depth [in] Depth of the selected sub object in the ECS (eye coordinate system)
Remarks
'offset' parameter supposed to be used in the case when each sub object (like face in the shell) inside the drawable has it's own marker. In this case the marker of the selected sub entity can be calculated as base marker + offset, where base marker is supposed to be the marker from OdGiPathNode object
Returns
Returns information about the next actions (continue, break) or informs that the method is not implemented

Definition at line 72 of file GiDrawableSelectPE.h.


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