Role: This interface provides methods to get/set data related to Tool Profile.
Methods
- Sub GetCentroid( cx, cy, cz)
-
Retrieve the underlying x,y,z of the Tool centroid.
- Parameters:
-
- cx,
- The out parameter contains X Coordinate of the Tool centroid. dd>
- cy,
- The out parameter contains Y Coordinate of the Tool centroid. dd>
- cz,
- The out parameter contains Z Coordinate of the Tool centroid. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetController( oController)
-
Retrieves controller owning the profile.
- Parameters:
-
- oController
- This parameter contains pointer to controller. dd>
- Returns:
- An HRESULT.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetInertia( Ixx, Iyy, Izz, Ixy, Iyz, Izx)
-
Get the underlying coefficient of the tool inertia.
- Parameters:
-
- Ixx,
- The Ixx coefficient. dd>
- Iyy,
- The Ixx coefficient. dd>
- Izz,
- The Ixx coefficient. dd>
- Ixy,
- The Ixx coefficient. dd>
- Iyz,
- The Ixx coefficient. dd>
- Izx,
- The Ixx coefficient. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetMass( mass)
-
Retrieves the mass of the tool.
- Parameters:
-
- mass
- This out parameter contains mass of the tool. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetName( oName)
-
Gets name of the Tool Profile.
- Parameters:
-
- oName
- Name of the required Tool Profile. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetTCPOffset( x, y, z, roll, pitch, yaw)
-
Retrieve the underlying x,y,z, roll, pitch, yaw of the Tool TCP offset.
- Parameters:
-
- x,
- The out parameter contains X Coordinate. dd>
- y,
- The out parameter contains Y Coordinate. dd>
- z,
- The out parameter contains Z Coordinate. dd>
- roll,
- The out parameter contains roll Coordinate. dd>
- pitch,
- The out parameter contains pitch Coordinate. dd>
- yaw,
- The out parameter contains yaw Coordinate. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetToolMobility( oMobile)
-
Retrieves tool mobility.
- Parameters:
-
- oMobile
- This out parameter contains whether tool is mobiled. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetCentroid( cx, cy, cz)
-
Set the tool centroid of Profile.
- Parameters:
-
- cx,
- The X Coordinate of tool centroid. dd>
- cy,
- The Y Coordinate of tool centroid. dd>
- cz,
- The Z Coordinate of tool centroid. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetInertia( Ixx, Iyy, Izz, Ixy, Iyz, Izx)
-
Set the underlying coefficient of the tool inertia.
- Parameters:
-
- Ixx,
- The Ixx coefficient. dd>
- Iyy,
- The Ixx coefficient. dd>
- Izz,
- The Ixx coefficient. dd>
- Ixy,
- The Ixx coefficient. dd>
- Iyz,
- The Ixx coefficient. dd>
- Izx,
- The Ixx coefficient. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetMass( mass)
-
Set tool mass.
- Parameters:
-
- mass
- set mass of tool . dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetName( iName)
-
Set name of the Tool Profile.
- Parameters:
-
- iName
- Name of the Tool Profile to be set. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetTCPOffset( x, y, z, roll, pitch, yaw)
-
Set the underlying x,y,z, roll, pitch, yaw of the tool TCP offset.
- Parameters:
-
- x,
- The X Coordinate. dd>
- y,
- The Y Coordinate. dd>
- z,
- The Z Coordinate. dd>
- roll,
- The roll Coordinate. dd>
- pitch,
- The pitch Coordinate. dd>
- yaw,
- The yaw Coordinate. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetToolMobility( iMobile)
-
Set tool mobility.
- Parameters:
-
- iMobile
- set whether tool is mobile or not. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .