Package | Description |
---|---|
de.jreality.io |
Definition and simple factory for JRScene, a class for representing jReality scene graphs.
|
de.jreality.plugin.basic | |
de.jreality.scene |
This package contains the essential classes of the jReality scene graph.
|
de.jreality.scene.pick |
Support for picking, which is required for the package
de.jreality.scene.tool . |
de.jreality.scene.proxy.tree |
Package to create arbitrary mirrors of a scene graph's tree structure.
|
de.jreality.scene.tool |
Tool infrastructure for the scene graph.
|
de.jreality.shader |
Contains all jReality shading-related classes and interfaces.
|
de.jreality.toolsystem |
This package is responsable for managing the tools in a scene graph: registering them,
handling user input, and triggering their activity based on this input.
|
de.jreality.ui.viewerapp | |
de.jreality.ui.viewerapp.treeview |
Renders the tree structure of a scene graph as a Swing JTree.
|
de.jreality.util |
Miscellaneous jReality utilities used in the core packages.
|
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
JrScene.getPath(String name)
currently used:
"cameraPath"
"emptyPickPath"
"avatarPath"
"deviceManagerPath" (in construction)
"microphonePath" (not yet...)
"contentPath" (not yet...)
|
Modifier and Type | Method and Description |
---|---|
Map<String,SceneGraphPath> |
JrScene.getScenePaths() |
Modifier and Type | Method and Description |
---|---|
void |
JrScene.addPath(String name,
SceneGraphPath path) |
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
Scene.getAvatarPath() |
SceneGraphPath |
Scene.getBackdropPath() |
SceneGraphPath |
Scene.getCameraPath() |
SceneGraphPath |
Scene.getContentPath() |
SceneGraphPath |
Scene.getDevicesPath() |
SceneGraphPath |
Scene.getEmptyPickPath() |
SceneGraphPath |
Scene.getMicrophonePath() |
Modifier and Type | Method and Description |
---|---|
void |
Scene.setAvatarPath(SceneGraphPath path) |
void |
Scene.setBackdropPath(SceneGraphPath path) |
void |
Scene.setCameraPath(SceneGraphPath path) |
void |
Scene.setDeviceManagerPath(SceneGraphPath path) |
void |
Scene.setEmptyPickPath(SceneGraphPath path) |
void |
Scene.setMicrophonePath(SceneGraphPath path) |
Modifier and Type | Method and Description |
---|---|
static SceneGraphPath |
SceneGraphPath.fromList(List<SceneGraphNode> list) |
SceneGraphPath |
Viewer.getCameraPath()
Get the camera path.
|
SceneGraphPath |
SceneGraphPath.popNew()
lets this path unchanged
|
SceneGraphPath |
SceneGraphPath.pushNew(SceneGraphNode c)
lets this path unchanged
|
Modifier and Type | Method and Description |
---|---|
boolean |
SceneGraphPath.isEqual(SceneGraphPath anotherPath) |
void |
Viewer.setCameraPath(SceneGraphPath cameraPath)
Set the camera path.
|
void |
SceneGraphPathObserver.setPath(SceneGraphPath newPath)
TODO: remove only the listeners from nodes that
are not part of the new path!
calling this method results in changing the observed path.
|
boolean |
SceneGraphPath.startsWith(SceneGraphPath potentialPrefix) |
Constructor and Description |
---|
SceneGraphPath(SceneGraphPath path)
A so-called copy constructor.
|
SceneGraphPathObserver(SceneGraphPath path) |
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
Graphics3D.getCameraPath() |
SceneGraphPath |
Graphics3D.getCurrentPath() |
SceneGraphPath |
Hit.getPickPath() |
SceneGraphPath |
PickResult.getPickPath() |
Modifier and Type | Method and Description |
---|---|
static void |
BruteForcePicking.intersectCylinder(Cylinder cylinder,
int metric,
SceneGraphPath path,
Matrix m,
Matrix mInv,
double[] from,
double[] to,
ArrayList<Hit> localHits) |
static void |
BruteForcePicking.intersectEdges(IndexedLineSet ils,
int metric,
SceneGraphPath path,
Matrix m,
Matrix mInv,
double[] from,
double[] to,
double tubeRadius,
ArrayList<Hit> localHits) |
static void |
BruteForcePicking.intersectPoints(PointSet ps,
int metric,
SceneGraphPath path,
Matrix m,
Matrix mInv,
double[] from,
double[] to,
double pointRadius,
ArrayList<Hit> localHits) |
static void |
BruteForcePicking.intersectPolygons(IndexedFaceSet ifs,
int metric,
SceneGraphPath path,
Matrix m,
Matrix mInv,
double[] from,
double[] to,
ArrayList<Hit> hits) |
static void |
BruteForcePicking.intersectSphere(Sphere sphere,
int metric,
SceneGraphPath path,
Matrix m,
Matrix mInv,
double[] from,
double[] to,
ArrayList<Hit> localHits) |
void |
Graphics3D.setCurrentPath(SceneGraphPath path) |
Constructor and Description |
---|
Graphics3D(SceneGraphPath cp,
SceneGraphPath sgp,
double ar) |
Graphics3D(Viewer v,
SceneGraphPath sgp) |
Hit(SceneGraphPath path,
double[] pointWorld,
double dist,
double affineCoord,
double[] bary,
int pickType,
int index,
int triIndex) |
Hit(SceneGraphPath path,
double[] pointWorld,
double dist,
double affineCoord,
int pickType,
int index,
int triIndex) |
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
SceneTreeNode.toPath() |
Modifier and Type | Method and Description |
---|---|
Object |
SceneProxyTreeBuilder.getProxy(SceneGraphPath path)
traverses the tree along the given path
and returns the assigned proxy element
|
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
ToolContext.getAvatarPath() |
SceneGraphPath |
ToolContext.getRootToLocal() |
SceneGraphPath |
ToolContext.getRootToToolComponent() |
Modifier and Type | Method and Description |
---|---|
static EffectiveAppearance |
EffectiveAppearance.create(SceneGraphPath p) |
static boolean |
EffectiveAppearance.matches(EffectiveAppearance eap,
SceneGraphPath p) |
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
ToolSystem.getAvatarPath() |
SceneGraphPath |
ToolSystem.getEmptyPickPath() |
Modifier and Type | Method and Description |
---|---|
static double[] |
ToolUtility.localToWorld(SceneGraphPath rootToLocal,
double[] localVector) |
static Matrix |
ToolUtility.localToWorld(SceneGraphPath rootToLocal,
Matrix localMatrix) |
void |
ToolSystem.setAvatarPath(SceneGraphPath p) |
void |
ToolSystem.setEmptyPickPath(SceneGraphPath emptyPickPath) |
static double[] |
ToolUtility.worldToLocal(SceneGraphPath rootToLocal,
double[] worldVector) |
static Matrix |
ToolUtility.worldToLocal(SceneGraphPath rootToLocal,
Matrix worldMatrix) |
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
ViewerSwitch.getCameraPath() |
SceneGraphPath |
SelectionManager.getDefaultSelectionPath() |
SceneGraphPath |
SelectionManagerImpl.getDefaultSelectionPath() |
SceneGraphPath |
SelectionManager.getSelectionPath() |
SceneGraphPath |
SelectionManagerImpl.getSelectionPath() |
SceneGraphPath |
Selection.getSGPath()
Truncates the selection to SceneGraphNodes.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectionManager.addSelection(SceneGraphPath p) |
void |
SelectionManagerImpl.addSelection(SceneGraphPath p) |
void |
SelectionManager.removeSelection(SceneGraphPath p) |
void |
SelectionManagerImpl.removeSelection(SceneGraphPath p) |
void |
ViewerSwitch.setCameraPath(SceneGraphPath p) |
void |
SelectionManager.setDefaultSelectionPath(SceneGraphPath defaultSelection) |
void |
SelectionManagerImpl.setDefaultSelectionPath(SceneGraphPath defaultSelection) |
void |
SelectionManager.setSelectionPath(SceneGraphPath selection) |
void |
SelectionManagerImpl.setSelectionPath(SceneGraphPath selection) |
void |
SelectionRenderer.setSelectionPath(SceneGraphPath s) |
Constructor and Description |
---|
Selection(SceneGraphPath path)
Constructs a selection object from the given SceneGraphPath
|
Modifier and Type | Method and Description |
---|---|
SceneTreeNode[] |
SceneTreeModel.convertSceneGraphPath(SceneGraphPath selection) |
Modifier and Type | Method and Description |
---|---|
SceneGraphPath |
EncompassFactory.getAvatarPath() |
SceneGraphPath |
EncompassFactory.getCameraPath() |
SceneGraphPath |
EncompassFactory.getScenePath() |
Modifier and Type | Method and Description |
---|---|
static List<SceneGraphPath> |
SceneGraphUtility.collectClippingPlanes(SceneGraphComponent rootNode)
Return list of paths from rootNode to an instance of
ClippingPlane , |
static List<SceneGraphPath> |
SceneGraphUtility.collectLights(SceneGraphComponent rootNode)
Return list of paths from rootNode to an instance of
Light . |
static List<SceneGraphPath> |
SceneGraphUtility.getPathsBetween(SceneGraphComponent begin,
SceneGraphNode end) |
static List<SceneGraphPath> |
SceneGraphUtility.getPathsToNamedNodes(SceneGraphComponent root,
String name)
Find and return all paths fomr root to node with name name.
|
List<SceneGraphPath> |
PathCollector.visit() |
Modifier and Type | Method and Description |
---|---|
static void |
CameraUtility.encompass(SceneGraphPath avatarPath,
SceneGraphPath scene,
SceneGraphPath cameraPath) |
static void |
CameraUtility.encompass(SceneGraphPath avatarPath,
SceneGraphPath scene,
SceneGraphPath cameraPath,
double margin,
int metric)
Deprecated.
See
EncompassFactory , which additionally allows control of setting camera parameters. |
static Appearance |
SceneGraphUtility.findDeepestAppearance(SceneGraphPath theSelection)
A convenience method to find the deepest occurrence of an
Appearance in an
instance of SceneGraphPath. |
static int |
SceneGraphUtility.getMetric(SceneGraphPath sgp)
Return the metric metric at the end of the path sgp by evaluating
effective appearance for the attribute
CommonAttributes.METRIC . |
boolean |
PathCollector.Matcher.matches(SceneGraphPath p) |
void |
EncompassFactory.setAvatarPath(SceneGraphPath avatarPath) |
void |
EncompassFactory.setCameraPath(SceneGraphPath cameraPath) |
void |
EncompassFactory.setScenePath(SceneGraphPath scenePath) |