Difference between revisions of "IOHandler"

From Silhouette Wiki
Jump to navigation Jump to search
(Created page with "An IOHandler represents an importer/exporter of Shape or Tracker data. While some are built-in, most handlers represent Silhouette modules built with the C++ SDK, and are load...")
 
Line 8: Line 8:
 
! scope="col" class="unsortable" | Description
 
! scope="col" class="unsortable" | Description
 
|-
 
|-
|can_export
+
|<tt>can_export</tt>
 
|True if the handler is an exporter
 
|True if the handler is an exporter
 
|-
 
|-
|can_import
+
|<tt>can_import</tt>
 
|True if the handler is an importer
 
|True if the handler is an importer
 
|-
 
|-
|name
+
|<tt>name</tt>
 
|The handler name
 
|The handler name
 
|}
 
|}
Line 24: Line 24:
 
! scope="col" class="unsortable" | Description
 
! scope="col" class="unsortable" | Description
 
|-
 
|-
|export(path)
+
|<tt>export(path)</tt>
 
|Instructs the handler to export its data to the specified path
 
|Instructs the handler to export its data to the specified path
 
|-
 
|-

Revision as of 20:43, 18 November 2012

An IOHandler represents an importer/exporter of Shape or Tracker data. While some are built-in, most handlers represent Silhouette modules built with the C++ SDK, and are loaded from resources/modules. Actions can be used to create handlers as well.

Attributes

These attributes are read-only.

Name Description
can_export True if the handler is an exporter
can_import True if the handler is an importer
name The handler name

Methods

Name Description
export(path) Instructs the handler to export its data to the specified path
import(path) NOT YET IMPLEMENTED