|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IObject
igeo.ILayer
public class ILayer
A class of a layer to contain and organize objects. Layers are managed by IServer.
IServer
Field Summary | |
---|---|
java.util.ArrayList<IObject> |
objects
|
Fields inherited from class igeo.IObject |
---|
attribute, dynamics, graphics, parameter, server, userData |
Constructor Summary | |
---|---|
ILayer()
|
|
ILayer(IServerI s)
|
|
ILayer(IServerI s,
java.lang.String name)
|
|
ILayer(java.lang.String name)
|
Method Summary | |
---|---|
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)
|
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)
|
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. |
boolean |
visible()
|
ILayer |
visible(boolean v)
|
ILayer |
weight(double w)
|
ILayer |
weight(float w)
|
Methods inherited from class igeo.IObject |
---|
addDynamics, alpha, alphaInt, attr, attr, attr, blue, blueInt, clearDynamics, clearGraphics, cp, createGraphic, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dup, dynamicsNum, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isValid, isVisible, layer, layer, layer, name, red, redInt, resetGraphic, server, setParameter, syncColor, syncGraphic, syncVisibility, syncWeight, updateGraphic, userData, userData, weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.ArrayList<IObject> objects
Constructor Detail |
---|
public ILayer()
public ILayer(java.lang.String name)
public ILayer(IServerI s)
public ILayer(IServerI s, java.lang.String name)
Method Detail |
---|
public int num()
public IObject get(int i)
public ILayer add(IObject e)
public ILayer remove(int i)
public ILayer remove(IObject e)
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 ILayer name(java.lang.String layerName)
name
in class IObject
public boolean visible()
visible
in class IObject
public ILayer setVisible(boolean v)
public ILayer visible(boolean v)
public ILayer hide()
hide
in class IObject
public ILayer show()
show
in class IObject
public IColor clr()
clr
in class IObject
public java.awt.Color color()
public java.awt.Color awtColor()
awtColor
in class IObject
public ILayer clr(IColor c)
clr
in class IObject
public ILayer clr(IColor c, int alpha)
IObject
clr
in class IObject
public ILayer clr(IColor c, float alpha)
IObject
clr
in class IObject
public ILayer clr(IColor c, double alpha)
IObject
clr
in class IObject
public ILayer clr(java.awt.Color c)
clr
in class IObject
public ILayer clr(java.awt.Color c, int alpha)
clr
in class IObject
public ILayer clr(java.awt.Color c, float alpha)
clr
in class IObject
public ILayer clr(java.awt.Color c, double alpha)
clr
in class IObject
public ILayer clr(int gray)
clr
in class IObject
public ILayer clr(float fgray)
clr
in class IObject
public ILayer clr(double dgray)
clr
in class IObject
public ILayer clr(int gray, int alpha)
clr
in class IObject
public ILayer clr(float fgray, float falpha)
clr
in class IObject
public ILayer clr(double dgray, double dalpha)
clr
in class IObject
public ILayer clr(int r, int g, int b)
clr
in class IObject
public ILayer clr(float fr, float fg, float fb)
clr
in class IObject
public ILayer clr(double dr, double dg, double db)
clr
in class IObject
public ILayer clr(int r, int g, int b, int a)
clr
in class IObject
public ILayer clr(float fr, float fg, float fb, float fa)
clr
in class IObject
public ILayer clr(double dr, double dg, double db, double da)
clr
in class IObject
public ILayer hsb(float h, float s, float b, float a)
hsb
in class IObject
public ILayer hsb(double h, double s, double b, double a)
hsb
in class IObject
public ILayer hsb(float h, float s, float b)
hsb
in class IObject
public ILayer hsb(double h, double s, double b)
hsb
in class IObject
public IColor getColor()
getColor
in class IObject
public java.awt.Color getAWTColor()
getAWTColor
in class IObject
public ILayer setColor(IColor c)
setColor
in class IObject
public ILayer setColor(IColor c, int alpha)
setColor
in class IObject
public ILayer setColor(IColor c, float alpha)
setColor
in class IObject
public ILayer setColor(IColor c, double alpha)
setColor
in class IObject
public ILayer setColor(java.awt.Color c)
setColor
in class IObject
public ILayer setColor(java.awt.Color c, int alpha)
setColor
in class IObject
public ILayer setColor(java.awt.Color c, float alpha)
setColor
in class IObject
public ILayer setColor(java.awt.Color c, double alpha)
setColor
in class IObject
public ILayer setColor(int gray)
setColor
in class IObject
public ILayer setColor(float fgray)
setColor
in class IObject
public ILayer setColor(double dgray)
setColor
in class IObject
public ILayer setColor(int gray, int alpha)
setColor
in class IObject
public ILayer setColor(float fgray, float falpha)
setColor
in class IObject
public ILayer setColor(double dgray, double dalpha)
setColor
in class IObject
public ILayer setColor(int r, int g, int b)
setColor
in class IObject
public ILayer setColor(float fr, float fg, float fb)
setColor
in class IObject
public ILayer setColor(double dr, double dg, double db)
setColor
in class IObject
public ILayer setColor(int r, int g, int b, int a)
setColor
in class IObject
public ILayer setColor(float fr, float fg, float fb, float fa)
setColor
in class IObject
public ILayer setColor(double dr, double dg, double db, double da)
setColor
in class IObject
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
public ILayer weight(double w)
weight
in class IObject
public ILayer weight(float w)
weight
in class IObject
public ILayer setMaterial(IMaterial mat)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |