org.hfbk.vis.visnode.Sound Class Reference

Inheritance diagram for org.hfbk.vis.visnode.Sound:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.Sound:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Sound (String wavfile)
void trigger ()
void trigger (boolean looping)

Protected Member Functions

void finalize () throws Throwable

Package Functions

void renderSelf ()

Package Attributes

String wavfile
int source
int buffer

Detailed Description

3d positionable sound source node

Author:
paul

Definition at line 18 of file Sound.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.Sound.Sound ( String  wavfile  ) 

creates sound node from given .wav filename

Parameters:
wavfile 

Definition at line 28 of file Sound.java.

References org.hfbk.vis.visnode.VisNode.radius.


Member Function Documentation

void org.hfbk.vis.visnode.Sound.renderSelf (  )  [package, virtual]

implement this to actually render this node itself. also used to update a node's state.

things not seen also do not update. this is sometimes akward, sometimes useful, eg. a movie not seen does not advance

Implements org.hfbk.vis.visnode.VisNode.

Reimplemented in org.hfbk.vis.visnode.VisAudio, and org.hfbk.vis.visnode.VisSound.

Definition at line 34 of file Sound.java.

References org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisNode.position, org.hfbk.vis.visnode.Sound.source, and org.hfbk.vis.visnode.VisNode.traverse().

Here is the call graph for this function:

void org.hfbk.vis.visnode.Sound.trigger (  ) 

trigger sound

Definition at line 44 of file Sound.java.

Referenced by org.hfbk.vis.visnode.VisBit.state().

Here is the caller graph for this function:

void org.hfbk.vis.visnode.Sound.trigger ( boolean  looping  ) 

tigger sound

Parameters:
looping if to play as loop

Reimplemented in org.hfbk.vis.visnode.VisSound.

Definition at line 51 of file Sound.java.

References org.hfbk.vis.visnode.Sound.buffer, org.hfbk.vis.visnode.Sound.source, and org.hfbk.vis.visnode.Sound.wavfile.

void org.hfbk.vis.visnode.Sound.finalize (  )  throws Throwable [protected]

Definition at line 66 of file Sound.java.

References org.hfbk.vis.visnode.Sound.buffer, and org.hfbk.vis.visnode.Sound.source.


Member Data Documentation

String org.hfbk.vis.visnode.Sound.wavfile [package]

Definition at line 20 of file Sound.java.

Referenced by org.hfbk.vis.visnode.VisSound.trigger(), and org.hfbk.vis.visnode.Sound.trigger().

int org.hfbk.vis.visnode.Sound.source [package]

Definition at line 21 of file Sound.java.

Referenced by org.hfbk.vis.visnode.Sound.finalize(), org.hfbk.vis.visnode.VisSound.renderSelf(), org.hfbk.vis.visnode.VisAudio.renderSelf(), org.hfbk.vis.visnode.Sound.renderSelf(), org.hfbk.vis.visnode.VisSound.trigger(), and org.hfbk.vis.visnode.Sound.trigger().

int org.hfbk.vis.visnode.Sound.buffer [package]

Definition at line 21 of file Sound.java.

Referenced by org.hfbk.vis.visnode.Sound.finalize(), org.hfbk.vis.visnode.VisSound.trigger(), and org.hfbk.vis.visnode.Sound.trigger().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:58:52 2009 for visclient by  doxygen 1.5.1