org.jcae.viewer3d.fe.unv
Class UNVProvider

java.lang.Object
  extended by org.jcae.viewer3d.fe.unv.UNVProvider
All Implemented Interfaces:
DomainProvider, FEProvider

public class UNVProvider
extends java.lang.Object
implements FEProvider


Constructor Summary
UNVProvider()
           
UNVProvider(java.io.File file)
           
 
Method Summary
 Domain getDomain(int id)
           
 int[] getDomainIDs()
           
 void load(java.io.BufferedReader stream)
           
 void load(java.io.InputStream stream)
           
 void setColors(java.awt.Color[] colors)
          Set colors for domais (one color for each domain)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UNVProvider

public UNVProvider()

UNVProvider

public UNVProvider(java.io.File file)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

setColors

public void setColors(java.awt.Color[] colors)
Set colors for domais (one color for each domain)


getDomain

public Domain getDomain(int id)
Specified by:
getDomain in interface DomainProvider

getDomainIDs

public int[] getDomainIDs()
Specified by:
getDomainIDs in interface DomainProvider

load

public void load(java.io.BufferedReader stream)
          throws java.io.IOException
Throws:
java.io.IOException

load

public void load(java.io.InputStream stream)
          throws java.io.IOException
Throws:
java.io.IOException