|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.j3d.utils.geometry.Stripifier.Node
class Stripifier.Node
stores the information for a face node
| Field Summary | |
|---|---|
(package private) int |
attrib
|
(package private) static int |
BLACK
|
(package private) int |
depth
|
(package private) Stripifier.Face |
face
|
(package private) static int |
GREY
|
(package private) Stripifier.Node |
left
|
(package private) int |
numChildren
|
(package private) Stripifier.Node |
parent
|
(package private) Stripifier.Node |
right
|
(package private) static int |
WHITE
|
| Constructor Summary | |
|---|---|
Stripifier.Node(Stripifier.Face f)
|
|
| Method Summary | |
|---|---|
(package private) void |
insert(Stripifier.Node p)
inserts this node below the parent supplied. |
(package private) boolean |
isRoot()
a node is the root if it doesn't have a parent |
(package private) boolean |
notAccessed()
returns true if the attrib is WHITE |
(package private) void |
print()
prints the information in this Node |
(package private) void |
processed()
sets the color to BLACK |
(package private) void |
remove()
remove this node from its parent |
(package private) void |
setRoot()
sets the depth to 0 and the attrib to GREY |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Stripifier.Face face
Stripifier.Node parent
Stripifier.Node left
Stripifier.Node right
int depth
int numChildren
int attrib
static final int WHITE
static final int GREY
static final int BLACK
| Constructor Detail |
|---|
Stripifier.Node(Stripifier.Face f)
| Method Detail |
|---|
void insert(Stripifier.Node p)
void remove()
void setRoot()
boolean notAccessed()
void processed()
boolean isRoot()
void print()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||