public class ILayer extends IObject
IServer
Constructor and Description |
---|
ILayer() |
ILayer(IServerI s) |
ILayer(IServerI s,
java.lang.String name) |
ILayer(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
ILayer |
add(IObject e) |
java.util.ArrayList<IObject> |
allObjects() |
java.awt.Color |
awtColor() |
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 a layer.
|
IColor |
clr() |
ILayer |
clr(java.awt.Color c) |
ILayer |
clr(java.awt.Color c,
double alpha) |
ILayer |
clr(java.awt.Color c,
float alpha) |
ILayer |
clr(java.awt.Color c,
int alpha) |
ILayer |
clr(double dgray) |
ILayer |
clr(double dgray,
double dalpha) |
ILayer |
clr(double dr,
double dg,
double db) |
ILayer |
clr(double dr,
double dg,
double db,
double da) |
ILayer |
clr(float fgray) |
ILayer |
clr(float fgray,
float falpha) |
ILayer |
clr(float fr,
float fg,
float fb) |
ILayer |
clr(float fr,
float fg,
float fb,
float fa) |
ILayer |
clr(IColor c)
to set an object color
|
ILayer |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
ILayer |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
ILayer |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
ILayer |
clr(int gray) |
ILayer |
clr(int gray,
int alpha) |
ILayer |
clr(int r,
int g,
int b) |
ILayer |
clr(int r,
int g,
int b,
int a) |
ILayer |
clr(IObject o)
to set the same color with the object
|
java.awt.Color |
color() |
boolean |
contains(IObject e) |
ICurve |
crv(int i)
alias of curve(int)
|
int |
crvNum()
alias of curveNum()
|
ICurve[] |
crvs()
alias of curves()
|
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 a layer.
|
IGeometry |
geo(int i) |
IGeometry[] |
geometries()
Returns all brep objects contained in a layer.
|
IGeometry |
geometry(int i)
Returns i-th IGeometries object contained in objects or null if not found.
|
int |
geometryNum()
number of IBrep in objects
|
int |
geoNum()
alias of geometryNum()
|
IGeometry[] |
geos()
alias of geometries()
|
IObject |
get(int i) |
java.util.ArrayList<IObject> |
getAllObjects() |
java.awt.Color |
getAWTColor() |
IBrep |
getBrep(int i)
alias of brep(int)
|
int |
getBrepNum()
alias of brepNum()
|
IBrep[] |
getBreps()
alias of breps()
|
IColor |
getColor() |
ICurve |
getCurve(int i)
alias of curve(int)
|
int |
getCurveNum()
alias of curveNum()
|
ICurve[] |
getCurves()
alias of curves()
|
IGeometry[] |
getGeometries()
alias of geometries()
|
IGeometry |
getGeometry(int i)
alias of geometry(int)
|
int |
getGeometryNum()
alias of geometryNum()
|
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)
alias of object(Class,int)
|
int |
getObjectNum()
alias of objectNum()
|
int |
getObjectNum(java.lang.Class cls)
alias of objectNum(Class)
|
IObject[] |
getObjects()
alias of objects()
|
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()
|
ISurface |
getSurface(int i)
alias of surface(int)
|
int |
getSurfaceNum()
alias of surfaceNum()
|
ISurface[] |
getSurfaces()
alias of surfaces()
|
ILayer |
hide() |
ILayer |
hsb(double h,
double s,
double b) |
ILayer |
hsb(double h,
double s,
double b,
double a) |
ILayer |
hsb(float h,
float s,
float b) |
ILayer |
hsb(float h,
float s,
float b,
float a) |
IMesh |
mesh(int i)
Returns i-th IMesh object contained in objects or null if not found.
|
IMesh[] |
meshes()
Returns all mesh objects contained in a layer.
|
int |
meshNum()
number of IMesh in objects
|
ILayer |
name(java.lang.String layerName) |
int |
num() |
IObject |
obj(java.lang.Class cls,
int i)
alias of object(Class,int)
|
IObject |
obj(int i)
alias of object(Class,int)
|
IObject |
object(java.lang.Class cls,
int i)
Returns i-th object contained in objects or null if not found.
|
IObject |
object(int i)
Returns i-th object contained in objects or null if not found.
|
int |
objectNum()
number of the specified class in objects
|
int |
objectNum(java.lang.Class cls)
number of the specified class in objects
|
IObject[] |
objects()
Returns all objects contained in a layer.
|
IObject[] |
objects(java.lang.Class cls)
Returns all objects of specified class contained in a layer.
|
int |
objNum()
alias of objectNum()
|
int |
objNum(java.lang.Class cls)
alias of objectNum(Class)
|
IObject[] |
objs()
alias of objects()
|
IObject[] |
objs(java.lang.Class cls)
alias of objects(Class)
|
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 a layer.
|
IPoint |
pt(int i)
alias of point(int)
|
int |
ptNum()
alias of pointsNum()
|
IPoint[] |
pts()
alias of points()
|
ILayer |
remove(int i) |
ILayer |
remove(IObject e) |
ILayer |
setColor(java.awt.Color c) |
ILayer |
setColor(java.awt.Color c,
double alpha) |
ILayer |
setColor(java.awt.Color c,
float alpha) |
ILayer |
setColor(java.awt.Color c,
int alpha) |
ILayer |
setColor(double dgray) |
ILayer |
setColor(double dgray,
double dalpha) |
ILayer |
setColor(double dr,
double dg,
double db) |
ILayer |
setColor(double dr,
double dg,
double db,
double da) |
ILayer |
setColor(float fgray) |
ILayer |
setColor(float fgray,
float falpha) |
ILayer |
setColor(float fr,
float fg,
float fb) |
ILayer |
setColor(float fr,
float fg,
float fb,
float fa) |
ILayer |
setColor(IColor c) |
ILayer |
setColor(IColor c,
double alpha) |
ILayer |
setColor(IColor c,
float alpha) |
ILayer |
setColor(IColor c,
int alpha) |
ILayer |
setColor(int gray) |
ILayer |
setColor(int gray,
int alpha) |
ILayer |
setColor(int r,
int g,
int b) |
ILayer |
setColor(int r,
int g,
int b,
int a) |
ILayer |
setHSBColor(double h,
double s,
double b) |
ILayer |
setHSBColor(double h,
double s,
double b,
double a) |
ILayer |
setHSBColor(float h,
float s,
float b) |
ILayer |
setHSBColor(float h,
float s,
float b,
float a) |
ILayer |
setMaterial(IMaterial mat) |
ILayer |
setVisible(boolean v) |
ILayer |
show() |
ISurface |
srf(int i)
alias of surface(int)
|
int |
srfNum()
alias of surfaceNum()
|
ISurface[] |
srfs()
alias of surfaces()
|
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 a layer.
|
java.lang.String |
toString() |
boolean |
visible() |
ILayer |
visible(boolean v) |
ILayer |
weight(double w) |
ILayer |
weight(float w) |
addDynamics, addUserData, addUserData, alpha, alphaInt, attr, attr, attr, blue, blueInt, brightness, castStringHashMap, clearDynamics, clearGraphics, cp, createGraphic, defaultAttribute, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dup, dynamicsNum, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, grey, greyInt, hue, initGraphic, initObject, isValid, isVisible, layer, layer, layer, name, red, redInt, resetGraphic, saturation, server, setParameter, setTexture, syncColor, syncGraphic, syncVisibility, syncWeight, texture, updateGraphic, userData, userData, userData, userDataNum, weight
public java.util.ArrayList<IObject> objects
public ILayer()
public ILayer(java.lang.String name)
public ILayer(IServerI s)
public ILayer(IServerI s, java.lang.String name)
public int num()
public IObject get(int i)
public ILayer remove(int i)
public boolean contains(IObject e)
public java.util.ArrayList<IObject> allObjects()
public java.util.ArrayList<IObject> getAllObjects()
public IPoint[] points()
public IPoint[] getPoints()
public IPoint[] pts()
public ICurve[] curves()
public ICurve[] getCurves()
public ICurve[] crvs()
public ISurface[] surfaces()
public ISurface[] getSurfaces()
public ISurface[] srfs()
public IMesh[] meshes()
public IMesh[] getMeshes()
public IBrep[] breps()
public IBrep[] getBreps()
public IGeometry[] geometries()
public IGeometry[] getGeometries()
public IGeometry[] geos()
public IObject[] objects(java.lang.Class cls)
public IObject[] getObjects(java.lang.Class cls)
public IObject[] objs(java.lang.Class cls)
public IObject[] objects()
public IObject[] getObjects()
public IObject[] objs()
public IPoint point(int i)
public IPoint getPoint(int i)
public IPoint pt(int i)
public ICurve curve(int i)
public ICurve getCurve(int i)
public ICurve crv(int i)
public ISurface surface(int i)
public ISurface getSurface(int i)
public ISurface srf(int i)
public IMesh mesh(int i)
public IMesh getMesh(int i)
public IBrep brep(int i)
public IBrep getBrep(int i)
public IGeometry geometry(int i)
public IGeometry getGeometry(int i)
public IGeometry geo(int i)
public IObject object(java.lang.Class cls, int i)
public IObject getObject(java.lang.Class cls, int i)
public IObject obj(java.lang.Class cls, int i)
public IObject object(int i)
public IObject getObject(int i)
public IObject obj(int i)
public int pointNum()
public int getPointNum()
public int ptNum()
public int curveNum()
public int getCurveNum()
public int crvNum()
public int surfaceNum()
public int getSurfaceNum()
public int srfNum()
public int meshNum()
public int getMeshNum()
public int brepNum()
public int getBrepNum()
public int geometryNum()
public int getGeometryNum()
public int geoNum()
public int objectNum(java.lang.Class cls)
public int getObjectNum(java.lang.Class cls)
public int objNum(java.lang.Class cls)
public int objectNum()
public int getObjectNum()
public int objNum()
public java.lang.String toString()
toString
in class java.lang.Object
public ILayer setVisible(boolean v)
public ILayer visible(boolean v)
public IColor clr()
public java.awt.Color color()
public java.awt.Color awtColor()
public ILayer clr(IColor c, int alpha)
IObject
public ILayer clr(IColor c, float alpha)
IObject
public ILayer clr(IColor c, double alpha)
IObject
public ILayer clr(IObject o)
IObject
public IColor getColor()
public java.awt.Color getAWTColor()
getAWTColor
in class IObject
public ILayer setColor(java.awt.Color c, double alpha)
public ILayer setColor(double dr, double dg, double db)
public ILayer setColor(float fr, float fg, float fb, float fa)
public ILayer setColor(double dr, double dg, double db, double da)
public ILayer setHSBColor(float h, float s, float b, float a)
setHSBColor
in class IObject
public ILayer setHSBColor(double h, double s, double b, double a)
setHSBColor
in class IObject
public ILayer setHSBColor(float h, float s, float b)
setHSBColor
in class IObject
public ILayer setHSBColor(double h, double s, double b)
setHSBColor
in class IObject