BTK Python wrapper  0.3dev.0
Python bindings for the Biomechanical ToolKit library (BTK)
Public Member Functions | List of all members
btk.btkWrenchDirectionAngleFilter Class Reference

Calcule the direction angle of the force vector for each wrench. More...

Public Member Functions

def GetInput
 
def GetInputNumber
 
def GetOutput
 
def GetOutputNumber
 
def GetTimestamp
 
def GetValidInputNumber
 
def ResetState
 
def SetInput
 
def Update
 

Detailed Description

Calcule the direction angle of the force vector for each wrench.

Calculate the direction angle of the force vector for each wrench.

The direction angle is projected on each plane of the global frame in this order:
 - Angle yOz: set in the X component of the output ;
 - Angle xOz: set in the Y component of the output ;
 - Angle xOy: set in the Z component of the output.

The output angles are expressed in degrees and the range is between 0 and 360 degrees. 
Then a shift from 360 to 0 is possible if the force turns around itself.

Member Function Documentation

def btk.btkWrenchDirectionAngleFilter.GetInput (   self )
GetInput(self) -> btkWrenchCollection

Gets the input registered with this process.
def btk.btkWrenchDirectionAngleFilter.GetInputNumber (   self )
GetInputNumber(self) -> int

Returns the number of inputs.
def btk.btkWrenchDirectionAngleFilter.GetOutput (   self )
GetOutput(self) -> btkPointCollection

Returns the output created with this process.
def btk.btkWrenchDirectionAngleFilter.GetOutputNumber (   self )
GetOutputNumber(self) -> int

Returns the number of outputs.
def btk.btkWrenchDirectionAngleFilter.GetTimestamp (   self )
GetTimestamp(self) -> unsigned long

Returns the timestamp of the object.
def btk.btkWrenchDirectionAngleFilter.GetValidInputNumber (   self )
GetValidInputNumber(self) -> int

Returns the number of inputs which are valid (i.e. not null).
def btk.btkWrenchDirectionAngleFilter.ResetState (   self )
ResetState(self)

Reset the state of the process. Usefull when an exception was thrown during the generation of the data.
def btk.btkWrenchDirectionAngleFilter.SetInput (   self,   args  )
SetInput(self, input)

Sets the input required with this process.
def btk.btkWrenchDirectionAngleFilter.Update (   self )
Update(self)

Update the pipeline and then all the data inside. Recursive method which
 1) determines the processes to update
 2) generate the data by using the GenerateData() method.