Class AIAC::ACInfoToolhead¶
ClassList > AIAC > ACInfoToolhead
the class holding the information of the toolhead (GOs, metadata, etc)
#include <ACInfoToolhead.h>
Public Functions¶
Type | Name |
---|---|
ACInfoToolhead () = default | |
ACInfoToolhead (std::string acitPath, std::string meshObjPath, int id) | |
void | AddGOsInfo (ToolHeadData & data) From the parse data acit, create the corresponding geometries (e.g. GOPoint for tooltip, toolbase, etc) |
void | AddGOsInfoChainSaw (ToolHeadData & data) |
void | AddGOsInfoCircularSaw (ToolHeadData & data) |
void | AddGOsInfoDrillBit (ToolHeadData & data) |
void | AddGOsInfoSaberSaw (ToolHeadData & data) |
void | CopyGOsInfoOriginal () copy the original transform of the GO infos |
T | GetData () const access the data of the toolheads |
int | GetId () const Get the id of the toolhead. |
std::string | GetName () const Get the name of the toolhead. |
__always_inline ACToolHeadType | GetType () const Retrieve the type of the toolhead. |
std::string | GetTypeString () const Retrieve the type of the toolhead as a string. |
void | SetVisibility (bool visible) Set the visibility of the geometries and widgets of the toolhead. |
__always_inline std::string | ToString () const convert to a string byy getting the name |
void | Transform (glm::mat4 transform) transform all the geometries, widgets and mesh contained in the ACInfoToolhead object |
void | TransformGO (std::shared_ptr< GOPrimitive > goPtr, std::shared_ptr< GOPrimitive > goOriginalPtr, glm::mat4 transform) transform a specific geometry |
void | TransformSync () rotate around local x axis of the toolhead 90 degrees to match the AC coordinate system with the TTool coordinate system Should only be called once at loading time |
Public Functions Documentation¶
function ACInfoToolhead [½]¶
function ACInfoToolhead [2/2]¶
function AddGOsInfo¶
From the parse data acit, create the corresponding geometries (e.g. GOPoint for tooltip, toolbase, etc)
function AddGOsInfoChainSaw¶
function AddGOsInfoCircularSaw¶
function AddGOsInfoDrillBit¶
function AddGOsInfoSaberSaw¶
function CopyGOsInfoOriginal¶
copy the original transform of the GO infos
function GetData¶
access the data of the toolheads
function GetId¶
Get the id of the toolhead.
function GetName¶
Get the name of the toolhead.
function GetType¶
Retrieve the type of the toolhead.
function GetTypeString¶
Retrieve the type of the toolhead as a string.
function SetVisibility¶
Set the visibility of the geometries and widgets of the toolhead.
function ToString¶
convert to a string byy getting the name
function Transform¶
transform all the geometries, widgets and mesh contained in the ACInfoToolhead object
function TransformGO¶
transform a specific geometry
void AIAC::ACInfoToolhead::TransformGO (
std::shared_ptr< GOPrimitive > goPtr,
std::shared_ptr< GOPrimitive > goOriginalPtr,
glm::mat4 transform
)
function TransformSync¶
rotate around local x axis of the toolhead 90 degrees to match the AC coordinate system with the TTool coordinate system Should only be called once at loading time
The documentation for this class was generated from the following file src/AIAC/ACInfoToolhead.h