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

Collection of points stored in a list. More...

Public Member Functions

def Begin
 
def Clear
 
def Clone
 
def End
 
def GetIndexOf
 
def GetItem
 
def GetItemNumber
 
def GetTimestamp
 
def InsertItem
 
def IsEmpty
 
def RemoveItem
 
def SetItem
 
def SetItemNumber
 
def TakeItem
 
def Update
 

Detailed Description

Collection of points stored in a list.

Collection of point stored in a list.

Member Function Documentation

def btk.btkPointCollection.Begin (   self )
Begin(self) -> btkPointIterator

Returns an iterator to the beginning of the list of items.
def btk.btkPointCollection.Clear (   self )
Clear(self)

Clear the contents of the collection.
def btk.btkPointCollection.Clone (   self )
Clone(self) -> btkPointCollection

Deep copy of the object
def btk.btkPointCollection.End (   self )
End(self) -> btkPointIterator

Returns an iterator just past the last item.
def btk.btkPointCollection.GetIndexOf (   self,   args  )
GetIndexOf(self, int) -> btkPoint

Returns the index of the given item.
def btk.btkPointCollection.GetItem (   self,   args  )
GetItem(self, int) -> btkPoint

Returns the point for the given index.
def btk.btkPointCollection.GetItemNumber (   self )
GetItemNumber(self) -> int

Returns the number of points
def btk.btkPointCollection.GetTimestamp (   self )
GetTimestamp(self) -> unsigned long

Returns the timestamp of the object.
def btk.btkPointCollection.InsertItem (   self,   args  )
InsertItem(self, btkPointIterator, btkPoint) -> bool
InsertItem(self, int, btkPoint) -> bool
InsertItem(self, btkPoint) -> bool

Inserts a point in the list.
def btk.btkPointCollection.IsEmpty (   self )
IsEmpty(self) -> bool

Returns true if the collection is empty.
def btk.btkPointCollection.RemoveItem (   self,   args  )
RemoveItem(self, btkPointIterator) -> btkPointIterator
RemoveItem(self, int)

Removes a point.
def btk.btkPointCollection.SetItem (   self,   args  )
SetItem(self, int) -> btkPoint

Sets a point.
def btk.btkPointCollection.SetItemNumber (   self,   args  )
SetItemNumber(self, arg2)

Sets the number of points
def btk.btkPointCollection.TakeItem (   self,   args  )
TakeItem(self, btkPointIterator) -> btkPoint
TakeItem(self, int) -> btkPoint

Removes a point and return it.
def btk.btkPointCollection.Update (   self )
Update(self)

Updates the ProcessObject associated with this DataObject.