anar
Class Group
java.lang.Object
anar.Group
- All Implemented Interfaces:
- iTransformable
public class Group
- extends java.lang.Object
- implements iTransformable
|
Method Summary |
void |
add(Face face)
|
void |
add(Group g)
|
void |
add(int i,
Group g)
|
void |
add(int i,
Obj o)
|
void |
add(Obj o)
|
void |
add(Pt pt)
|
void |
add(Pts pts)
|
Group |
apply(Transform t)
|
XYZ[] |
bound()
|
XYZ |
boundCenter()
|
void |
draw()
|
Group |
exportANSYS()
|
Group |
exportANSYS(java.lang.String fileName)
|
Group |
exportAutolisp()
|
Group |
exportAutolisp(java.lang.String fileName)
|
Group |
exportOBJ()
|
Group |
exportOBJ(java.lang.String fileName)
|
Group |
exportPovRAY()
|
Group |
exportPovRAY(java.lang.String fileName)
|
Group |
exportRadiance()
|
Group |
exportRadiance(java.lang.String fileName)
|
Group |
exportRhino()
|
Group |
exportRhino(java.lang.String fileName)
|
Group |
exportSketchUp()
|
Group |
exportSketchUp(java.lang.String fileName)
|
void |
fill(AColor c)
|
void |
fill(float g)
|
void |
fill(float g,
float a)
|
void |
fill(float r,
float g,
float b)
|
void |
fill(float r,
float g,
float b,
float a)
|
void |
fill(RenderFaceDefault c)
|
void |
fillP5(int c)
|
Group |
group(int i)
|
Group |
groupEnd()
|
Group |
groupEnd(int i)
|
int |
numOfGroup()
|
int |
numOfObj()
|
Obj |
obj(int i)
|
Obj |
objEnd()
|
Obj |
objEnd(int i)
|
void |
remove(Group g)
|
void |
remove(int i)
|
void |
remove(Obj o)
|
void |
removeGroup(int i)
|
Group |
render(RenderObj render)
Change the render for this group.. |
Group |
rotateX(float v)
|
Group |
rotateX(Param v)
|
Group |
rotateY(float v)
|
Group |
rotateY(Param v)
|
Group |
rotateZ(float v)
|
Group |
rotateZ(Param v)
|
Group |
scale(float x)
|
Group |
scale(float x,
float y)
|
Group |
scale(float x,
float y,
float z)
|
Group |
scale(Param x)
|
Group |
scale(Param x,
Param y)
|
Group |
scale(Param x,
Param y,
Param z)
|
Group |
scale(Pt vector)
|
Group |
scale(XYZ vector)
|
Group |
scaleX(float x)
|
Group |
scaleX(Param x)
|
Group |
scaleY(float y)
|
Group |
scaleY(Param y)
|
Group |
scaleZ(float z)
|
Group |
scaleZ(Param z)
|
void |
set(Meta meta)
|
void |
set(java.lang.String str)
|
java.lang.String |
toANSYS()
|
java.lang.String |
toString()
|
Group |
translate(float x,
float y)
|
Group |
translate(float x,
float y,
float z)
|
Group |
translate(Param x,
Param y)
|
Group |
translate(Param x,
Param y,
Param z)
|
Group |
translate(Pt vector)
|
Group |
translate(XYZ vector)
|
Group |
translateX(float x)
|
Group |
translateX(Param x)
|
Group |
translateY(float y)
|
Group |
translateY(Param y)
|
Group |
translateZ(float z)
|
Group |
translateZ(Param z)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
objects
public java.util.ArrayList<Obj> objects
groups
public java.util.ArrayList<Group> groups
Group
public Group()
Group
public Group(Group g)
add
public void add(Obj o)
add
public void add(int i,
Obj o)
add
public void add(Group g)
add
public void add(int i,
Group g)
add
public void add(Face face)
add
public void add(Pts pts)
add
public void add(Pt pt)
remove
public void remove(Obj o)
remove
public void remove(int i)
remove
public void remove(Group g)
removeGroup
public void removeGroup(int i)
obj
public Obj obj(int i)
objEnd
public Obj objEnd()
objEnd
public Obj objEnd(int i)
numOfObj
public int numOfObj()
group
public Group group(int i)
groupEnd
public Group groupEnd()
groupEnd
public Group groupEnd(int i)
numOfGroup
public int numOfGroup()
set
public void set(Meta meta)
- Parameters:
meta -
set
public void set(java.lang.String str)
- Parameters:
str -
draw
public void draw()
fill
public void fill(float g)
fill
public void fill(float g,
float a)
fill
public void fill(float r,
float g,
float b)
fill
public void fill(float r,
float g,
float b,
float a)
fillP5
public void fillP5(int c)
fill
public void fill(AColor c)
fill
public void fill(RenderFaceDefault c)
render
public Group render(RenderObj render)
- Change the render for this group..
- Parameters:
render -
- Returns:
apply
public Group apply(Transform t)
rotateX
public Group rotateX(Param v)
rotateX
public Group rotateX(float v)
rotateY
public Group rotateY(Param v)
rotateY
public Group rotateY(float v)
rotateZ
public Group rotateZ(Param v)
rotateZ
public Group rotateZ(float v)
scale
public Group scale(XYZ vector)
scale
public Group scale(float x)
scale
public Group scale(float x,
float y)
scale
public Group scale(float x,
float y,
float z)
scale
public Group scale(Param x,
Param y,
Param z)
scale
public Group scale(Param x,
Param y)
scale
public Group scale(Param x)
scale
public Group scale(Pt vector)
scaleX
public Group scaleX(float x)
scaleX
public Group scaleX(Param x)
scaleY
public Group scaleY(float y)
scaleY
public Group scaleY(Param y)
scaleZ
public Group scaleZ(float z)
scaleZ
public Group scaleZ(Param z)
translate
public Group translate(XYZ vector)
translate
public Group translate(Pt vector)
translate
public Group translate(float x,
float y,
float z)
translate
public Group translate(float x,
float y)
translate
public Group translate(Param x,
Param y,
Param z)
translate
public Group translate(Param x,
Param y)
translateX
public Group translateX(float x)
translateX
public Group translateX(Param x)
translateY
public Group translateY(float y)
translateY
public Group translateY(Param y)
translateZ
public Group translateZ(float z)
translateZ
public Group translateZ(Param z)
bound
public XYZ[] bound()
- Returns:
- the smallest bounding box enclosing the group in XYZ.
boundCenter
public XYZ boundCenter()
- Returns:
- the point in the middle of the smallest enclosing box.
toANSYS
public java.lang.String toANSYS()
- Returns:
exportRhino
public Group exportRhino()
exportRhino
public Group exportRhino(java.lang.String fileName)
exportPovRAY
public Group exportPovRAY()
exportPovRAY
public Group exportPovRAY(java.lang.String fileName)
exportSketchUp
public Group exportSketchUp()
exportSketchUp
public Group exportSketchUp(java.lang.String fileName)
exportRadiance
public Group exportRadiance()
exportRadiance
public Group exportRadiance(java.lang.String fileName)
exportOBJ
public Group exportOBJ()
exportOBJ
public Group exportOBJ(java.lang.String fileName)
exportAutolisp
public Group exportAutolisp()
exportAutolisp
public Group exportAutolisp(java.lang.String fileName)
exportANSYS
public Group exportANSYS()
exportANSYS
public Group exportANSYS(java.lang.String fileName)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object