Private Member Functions | |
void | Awake () |
void | Start () |
void | PerformTorqueTests () |
void | PerformTorqueTestOne () |
IEnumerator | PerformTorqueTestTwo (Vector3 pullTorque, float applyTorqueTime=1f) |
IEnumerator | PerformTorqueTestThree (Vector3 pullTorque, float applyTorqueTime=10f) |
Private Attributes | |
SimulationLoop | simulationLoop |
The SimulationLoop component that executes all steps of the simulation loop. More... | |
Vector3 | pullTorque = new Vector3(0f, 0.3f, 0f) |
bool | doTorqueTestOne = false |
Whether to run Torque Test One. This test applies an external torque to one end of the guidewire. More... | |
bool | doTorqueTestTwo = false |
bool | doTorqueTestThree = false |
This class enables the user to test the impact of external torques with one button within the Unity inspector.
|
private |
|
private |
Performs torque test one. This test applies an external torque to one end of the guidewire.
|
private |
Performs each Torque Test whose respective serialized boolean is set to true in the Unity inspector.
|
private |
Performs torque test three. This test applies an external torque to one end of the guidewire and at the same time the opposite torque at the other end of the guidewire. The applied torque starts at 0 and linearly interpolates until it reaches pullTorque
at applyTorqueTime
seconds.
pullTorque | The external torque that is applied to one end of the guidewire. |
applyTorqueTime | For how many seconds to apply the torque to the orientations. |
|
private |
Performs torque test two. This test applies an external torque to one end of the guidewire for a fixed amount of time and then the opposite torque at the same orientation for the same amount of time.
pullTorque | The external torque that is applied to one end of the guidewire. |
applyTorqueTime | For how many seconds to apply the torque to the orientations. |
|
private |
|
private |
Whether to run Torque Test One. This test applies an external torque to one end of the guidewire.
|
private |
Whether to run Torque Test Three. This test applies an external torque to one end of the guidewire and at the same time the opposite torque at the other end of the guidewire. The applied torque starts at 0 and linearly interpolates until it reaches pullTorque
at applyTorqueTime
seconds.
|
private |
Whether to run Torque Test Two. This test applies an external torque to one end of the guidewire for a fixed amount of time and then the opposite torque at the same orientation for the same amount of time.
|
private |
The external torque that is applied to the respective parts of the guidewire, depending on the test.
|
private |
The SimulationLoop component that executes all steps of the simulation loop.