|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Xj3DCADView
Wrapper interface for the internal viewpoint representation, to allow abstraction of the user interface description of viewpoints from the underlying node representation.
This class deliberately does not give access to the SAI X3DNode that represents the viewpoint.
| Method Summary | |
|---|---|
void |
addCADViewListener(Xj3DCADViewListener l)
Add a listener for CAD-style changes. |
X3DNode[] |
getCADAssemblies()
Get the list of layers declared in the current scene. |
X3DNode[] |
getCADLayers()
Get the list of layers declared in the current scene. |
void |
highlightPart(X3DNode structureNode,
X3DNode material)
Highlight the given part or assembly using the given alternate appearance attributes. |
void |
removeCADViewListener(Xj3DCADViewListener l)
Remove a listener for CAD-style changes. |
| Method Detail |
|---|
X3DNode[] getCADLayers()
X3DNode[] getCADAssemblies()
void highlightPart(X3DNode structureNode,
X3DNode material)
structureNode - A X3DProductStructureNode to be highlighted
(or PROTO wrapper of one)material - A X3DmaterialNode to use as the highlight colour, or
null to clear the current highlighted objectvoid addCADViewListener(Xj3DCADViewListener l)
l - The listener instance to addvoid removeCADViewListener(Xj3DCADViewListener l)
l - The listener instance to remove
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||