QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
REntityPickEvent Class Reference

Entity pick event. More...

#include <REntityPickEvent.h>

Inheritance diagram for REntityPickEvent:
RInputEvent

List of all members.

Public Member Functions

REntity::Id getEntityId () const
bool isValid () const
 REntityPickEvent (REntity::Id entityId, const RVector &position, RGraphicsScene &s, RGraphicsView &v)
- Public Member Functions inherited from RInputEvent
RGraphicsScenegetGraphicsScene () const
RGraphicsViewgetGraphicsView () const
RVector getModelPosition () const
RVector getScreenPosition () const
 RInputEvent (const RVector &position, RGraphicsScene &s, RGraphicsView &v)
void setModelPosition (const RVector &v)
virtual ~RInputEvent ()

Private Attributes

REntity::Id entityId

Additional Inherited Members

- Protected Attributes inherited from RInputEvent
RVector modelPosition
RGraphicsScenescene
RVector screenPosition
RGraphicsViewview

Detailed Description

Entity pick event.

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

REntityPickEvent::REntityPickEvent ( REntity::Id  entityId,
const RVector position,
RGraphicsScene s,
RGraphicsView v 
)
Parameters:
entityIdID of picked entity.
posAbsolute coordinate.

Member Function Documentation

REntity::Id REntityPickEvent::getEntityId ( ) const
inline
Returns:
The ID of the picked entity or REntity::INVALID_ID.
bool REntityPickEvent::isValid ( ) const
inline
Returns:
true If the entity ID of the event is valid.

Reimplemented from RInputEvent.


Member Data Documentation

REntity::Id REntityPickEvent::entityId
private

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