|
Archicad 29 C++ API
|
A class to handle input related operations, like manipulating the input position and starting an input. More...
#include <InputHandler.hpp>
Public Member Functions | |
| Result< API_Coord3D > | GetInputPosition () const |
| A function to get the current input position in model coordinates. | |
| Result< void > | SetInputPosition (const API_Coord3D &position, bool withCursor) const |
| Sets the current input position with or without the cursor. | |
| Result< void > | ApplyInputPosition () const |
| Applies the current input position by performing a mouse click at it. | |
Public Member Functions inherited from ACAPI::Object | |
| Object (std::shared_ptr< Impl::ObjectImpl > impl) | |
| Constructs a new object. | |
| const API_Token & | GetToken () const |
| Get the token for this object. | |
Friends | |
| Result< InputHandler > | CreateInputHandler () |
| A function to create an InputHandler instance, that lets you handle input related operations. | |
Additional Inherited Members | |
Protected Member Functions inherited from ACAPI::Object | |
| ~Object () | |
| Default destructor. | |
Protected Attributes inherited from ACAPI::Object | |
| std::shared_ptr< Impl::ObjectImpl > | mImpl |
| Impl object given by constructor. | |
A class to handle input related operations, like manipulating the input position and starting an input.
| Result< void > ACAPI::InputHandler::ApplyInputPosition | ( | ) | const |
Applies the current input position by performing a mouse click at it.
APIWind_FloorPlanID) is supported | Result< API_Coord3D > ACAPI::InputHandler::GetInputPosition | ( | ) | const |
A function to get the current input position in model coordinates.
| Result< void > ACAPI::InputHandler::SetInputPosition | ( | const API_Coord3D & | position, |
| bool | withCursor ) const |
Sets the current input position with or without the cursor.
| position | [in] The 3D coordinate of the new position. |
| withCursor | [in] Sets if the cursor is needed to be moved to the new position. |
APIWind_FloorPlanID) is supported
|
friend |
A function to create an InputHandler instance, that lets you handle input related operations.