org.limn.engine
Class PPHolesFactory

java.lang.Object
  |
  +--org.limn.engine.RecordingFactory
        |
        +--org.limn.engine.GTBasisFactory
              |
              +--org.limn.engine.PPHolesFactory
All Implemented Interfaces:
LimnBasisFactory, LimnRenderable

public class PPHolesFactory
extends GTBasisFactory
implements LimnRenderable

PPHolesFactory extends GTBasisFactory to include a calculation of the PPHoles index for each basis created by the factory. By restricting the suficiency of the bases based on the PPHoles index, one might be able to control the views generated by the animation cycle.


Constructor Summary
PPHolesFactory(LimnData l)
           
 
Method Summary
 void augment(java.awt.Graphics g, int height, int width, int j)
          This method is to be called from within the rendering stage.
 void generateBasis(double[][] b, double[][] t)
          generates a new target basis t, checking that the target is compatible with the base.
 void measure(double[][] t)
           
 
Methods inherited from class org.limn.engine.GTBasisFactory
checkBasis, gen_norm_variates, init, newBasis, seedBasis
 
Methods inherited from class org.limn.engine.RecordingFactory
finishing, record, recordBasis
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PPHolesFactory

public PPHolesFactory(LimnData l)
Method Detail

generateBasis

public void generateBasis(double[][] b,
                          double[][] t)
Description copied from interface: LimnBasisFactory
generates a new target basis t, checking that the target is compatible with the base.
Overrides:
generateBasis in class GTBasisFactory

augment

public void augment(java.awt.Graphics g,
                    int height,
                    int width,
                    int j)
Description copied from interface: LimnRenderable
This method is to be called from within the rendering stage. allowing an object that implements this interface to add some graphics to the main graphic. this graphics may include information about the duration of the animation, axis information or brushing/linking information
Specified by:
augment in interface LimnRenderable

measure

public void measure(double[][] t)
Overrides:
measure in class GTBasisFactory