org.jcae.viewer3d.fe.unv
Class UNVProvider
java.lang.Object
org.jcae.viewer3d.fe.unv.UNVProvider
- All Implemented Interfaces:
- DomainProvider, FEProvider
public class UNVProvider
- extends java.lang.Object
- implements FEProvider
|
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 |
UNVProvider
public UNVProvider()
UNVProvider
public UNVProvider(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
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