Modifier and Type | Field and Description |
---|---|
IDynamicServer |
dynamicServer |
IGraphicServer |
graphicServer |
IG |
ig |
java.util.ArrayList<ILayer> |
layers |
java.util.ArrayList<IObject> |
objects |
int |
stateCount |
IUnit |
unit |
Constructor and Description |
---|
IServer(IG ig) |
IServer(IG ig,
igeo.gui.IPanelI panel) |
Modifier and Type | Method and Description |
---|---|
void |
add(IObject e) |
java.util.ArrayList<IObject> |
allObjects() |
void |
background(IColor c1,
IColor c2,
IColor c3,
IColor c4) |
void |
background(java.lang.String imageFilename) |
void |
bg(IColor c1,
IColor c2,
IColor c3,
IColor c4) |
void |
bg(java.lang.String imageFilename) |
IBrep |
brep(int i)
Returns i-th IBrep object contained in objects or null if not found.
|
int |
brepNum()
number of IBrep in objects
|
IBrep[] |
breps()
Returns all brep objects contained in objects.
|
void |
clear() |
ICurve |
curve(int i)
Returns i-th ICurve object contained in objects or null if not found.
|
int |
curveNum()
number of ICurve in objects
|
ICurve[] |
curves()
Returns all curve objects contained in objects.
|
void |
deleteLayer(ILayer l) |
void |
deleteLayer(int i) |
void |
deleteLayer(java.lang.String layerName) |
int |
duration() |
void |
duration(int dur) |
IDynamicServer |
dynamicServer() |
IGeometry[] |
geometries()
Returns all geometry objects contained in objects.
|
IGeometry |
geometry(int i)
Returns i-th IGeometry object contained in objects or null if not found.
|
int |
geometryNum()
number of the IGeometry in objects
|
ILayer[] |
getAllLayers() |
java.util.ArrayList<IObject> |
getAllObjects() |
IBrep |
getBrep(int i)
alias of brep(int)
|
int |
getBrepNum()
alias of brepNum()
|
IBrep[] |
getBreps()
alias of breps
|
ICurve |
getCurve(int i)
alias of curve(int)
|
int |
getCurveNum()
alias of curveNum()
|
ICurve[] |
getCurves()
alias of curves()
|
IGeometry[] |
getGeometries()
alias of breps
|
IGeometry |
getGeometry(int i)
alias of geometry(int)
|
int |
getGeometryNum()
alias of geometryNum()
|
ILayer |
getLayer(int i) |
ILayer |
getLayer(java.lang.String layerName) |
IMesh |
getMesh(int i)
alias of mesh(int)
|
IMesh[] |
getMeshes()
alias of meshes()
|
int |
getMeshNum()
alias of meshNum()
|
IObject |
getObject(java.lang.Class cls,
int i)
alias of object(Class,int)
|
IObject |
getObject(int i) |
int |
getObjectNum()
alias of objectNum()
|
int |
getObjectNum(java.lang.Class cls)
alias of objectNum(Class)
|
IObject[] |
getObjects() |
IObject[] |
getObjects(java.lang.Class cls)
alias of objects(Class)
|
IPoint |
getPoint(int i)
alias of point(int)
|
int |
getPointNum()
alias of pointsNum()
|
IPoint[] |
getPoints()
alias of points()
|
IPolycurve |
getPolycurve(int i)
alias of polycurve(int)
|
int |
getPolycurveNum()
alias of polycurveNum()
|
IPolycurve[] |
getPolycurves()
alias of curves()
|
ISurface |
getSurface(int i)
alias of surface(int)
|
int |
getSurfaceNum()
alias of surfaceNum()
|
ISurface[] |
getSurfaces()
alias of surfaces()
|
IText |
getText(int i)
alias of text(int)
|
int |
getTextNum()
alias of textNum()
|
IText[] |
getTexts()
alias of texts
|
IGraphicServer |
graphicServer() |
boolean |
isGraphicMode() |
boolean |
isRunning() |
ILayer |
layer(int i) |
ILayer |
layer(java.lang.String layerName) |
int |
layerNum() |
ILayer[] |
layers() |
IMesh |
mesh(int i)
Returns i-th IMesh object contained in objects or null if not found.
|
IMesh[] |
meshes()
Returns all meshe objects contained in objects.
|
int |
meshNum()
number of IMesh in objects
|
IObject |
object(java.lang.Class cls,
int i)
Returns i-th object contained in objects or null if not found.
|
IObject |
object(int i) |
int |
objectNum() |
int |
objectNum(java.lang.Class cls)
number of the specified class in objects
|
IObject[] |
objects()
Returns all objects contained in objects.
|
IObject[] |
objects(java.lang.Class cls)
Returns all objects of specified class contained in objects.
|
void |
pause() |
IPoint |
point(int i)
Returns i-th IPoint object contained in objects or null if not found.
|
int |
pointNum()
number of IPoint in objects
|
IPoint[] |
points()
Returns all point objects contained in objects.
|
IPolycurve |
polycurve(int i)
Returns i-th IPolycurve object contained in objects or null if not found.
|
int |
polycurveNum()
number of IPolycurve in objects
Note that IPolycurve contains multiple ICurve and they show up in curves() as well.
|
IPolycurve[] |
polycurves()
Returns all polycurve objects contained in objects.
|
void |
remove(int i) |
void |
remove(IObject e) |
void |
resume() |
IServer |
server() |
void |
setGraphicMode(igeo.gui.IGraphicMode mode) |
void |
start() |
int |
stateCount() |
void |
stop() |
ISurface |
surface(int i)
Returns i-th ISurface object contained in objects or null if not found.
|
int |
surfaceNum()
number of ISurface in objects
|
ISurface[] |
surfaces()
Returns all surface objects contained in objects.
|
IText |
text(int i)
Returns i-th IText object contained in objects or null if not found.
|
int |
textNum()
number of IText in objects
|
IText[] |
texts()
Returns all text objects contained in objects.
|
int |
time() |
void |
time(int tm) |
IUnit |
unit() |
void |
unit(IUnit.Type u) |
void |
unit(IUnit u) |
void |
unit(java.lang.String unitName) |
void |
updateState() |
public java.util.ArrayList<IObject> objects
public java.util.ArrayList<ILayer> layers
public IGraphicServer graphicServer
public IDynamicServer dynamicServer
public IG ig
public int stateCount
public IUnit unit
public IServer(IG ig)
public IServer(IG ig, igeo.gui.IPanelI panel)
public IDynamicServer dynamicServer()
public IGraphicServer graphicServer()
public IUnit unit()
public void unit(IUnit u)
public void unit(IUnit.Type u)
public void unit(java.lang.String unitName)
public void add(IObject e)
public boolean isGraphicMode()
public void setGraphicMode(igeo.gui.IGraphicMode mode)
public void bg(java.lang.String imageFilename)
public void background(java.lang.String imageFilename)
public java.util.ArrayList<IObject> getAllObjects()
public java.util.ArrayList<IObject> allObjects()
public IObject getObject(int i)
public IObject object(int i)
public int objectNum()
public int getObjectNum()
public void remove(int i)
public void remove(IObject e)
public void clear()
public int stateCount()
public void updateState()
public void duration(int dur)
public int duration()
public void time(int tm)
public int time()
public void pause()
public void resume()
public boolean isRunning()
public void start()
public void stop()
public IPoint[] points()
public IPoint[] getPoints()
public ICurve[] curves()
public ICurve[] getCurves()
public IPolycurve[] polycurves()
public IPolycurve[] getPolycurves()
public ISurface[] surfaces()
public ISurface[] getSurfaces()
public IMesh[] meshes()
public IMesh[] getMeshes()
public IBrep[] breps()
public IBrep[] getBreps()
public IText[] texts()
public IText[] getTexts()
public IGeometry[] geometries()
public IGeometry[] getGeometries()
public IObject[] objects(java.lang.Class cls)
public IObject[] getObjects(java.lang.Class cls)
public IObject[] objects()
public IObject[] getObjects()
public IPoint point(int i)
public IPoint getPoint(int i)
public ICurve curve(int i)
public ICurve getCurve(int i)
public IPolycurve polycurve(int i)
public IPolycurve getPolycurve(int i)
public ISurface surface(int i)
public ISurface getSurface(int i)
public IMesh mesh(int i)
public IMesh getMesh(int i)
public IBrep brep(int i)
public IBrep getBrep(int i)
public IText text(int i)
public IText getText(int i)
public IGeometry geometry(int i)
public IGeometry getGeometry(int i)
public IObject object(java.lang.Class cls, int i)
public IObject getObject(java.lang.Class cls, int i)
public int pointNum()
public int getPointNum()
public int curveNum()
public int getCurveNum()
public int polycurveNum()
public int getPolycurveNum()
public int surfaceNum()
public int getSurfaceNum()
public int meshNum()
public int getMeshNum()
public int brepNum()
public int getBrepNum()
public int textNum()
public int getTextNum()
public int geometryNum()
public int getGeometryNum()
public int objectNum(java.lang.Class cls)
public int getObjectNum(java.lang.Class cls)
public int layerNum()
public ILayer layer(int i)
public ILayer getLayer(int i)
public ILayer[] layers()
public ILayer[] getAllLayers()
public ILayer getLayer(java.lang.String layerName)
public ILayer layer(java.lang.String layerName)
public void deleteLayer(java.lang.String layerName)
public void deleteLayer(int i)
public void deleteLayer(ILayer l)