Difference between revisions of "NaviTrack Tutorial:Creating module:Module structure"

From NAMIC Wiki
Jump to: navigation, search
Line 1: Line 1:
== Three types of nodes ==
+
= Three types of nodes =
  
 
* Sink nodes  (XxxxSink.h, [XxxxSink.cxx])
 
* Sink nodes  (XxxxSink.h, [XxxxSink.cxx])
Line 11: Line 11:
  
  
== Structure of Sink class ==
+
= Classes for module "MyTutorialModule" =
 +
== Module class (MyTutorialModule.h, MyTutorialModule.cxx) ==
  
  
== Structure of Source class ==
+
 
 +
== Sink class (MyTutorialSink.h, MyTutorialSink.cxx) ==
 +
 
 +
 
 +
== Source class (MyTutorialSource.h, MyTutorialSource.cxx) ==
  
  
 
Go back to [[NaviTrack_Tutorial:Creating_module|Creating module]].
 
Go back to [[NaviTrack_Tutorial:Creating_module|Creating module]].

Revision as of 18:26, 14 May 2007

Home < NaviTrack Tutorial:Creating module:Module structure

Three types of nodes

  • Sink nodes (XxxxSink.h, [XxxxSink.cxx])
    • Leaves in the graph and receive their data values from external sources, such as Polaris optraciking system, and send put the data into NaviTrack data flow graph.
  • Source nodes (XxxxSource.h, [XxxxSource.cxx])
    • Leaves to propagate their data values received from other nodes to external outputs.
  • Filter nodes (we don't use this in the tutorial)
    • Intermediate nodes and modify the values received from other nodes.


Classes for module "MyTutorialModule"

Module class (MyTutorialModule.h, MyTutorialModule.cxx)

Sink class (MyTutorialSink.h, MyTutorialSink.cxx)

Source class (MyTutorialSource.h, MyTutorialSource.cxx)

Go back to Creating module.