Package | Description |
---|---|
de.jreality.geometry |
This package contains geometry related utilities.
|
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.tools |
Implementations of standard Tools.
|
de.jreality.tutorial.geom | |
de.jreality.util |
Miscellaneous jReality utilities used in the core packages.
|
de.jreality.writer.u3d |
Modifier and Type | Method and Description |
---|---|
static IndexedLineSet |
Primitives.arrow(double x0,
double y0,
double x1,
double y1,
double tipSize) |
static IndexedLineSet |
Primitives.arrow(double x0,
double y0,
double x1,
double y1,
double tipSize,
boolean halfArrow)
Generate an an arrow: a line segment joining (x0,y0) to (x1,y1) with a head at the
second point, each half making a 45 degree angle to the segment.
|
static IndexedLineSet |
IndexedLineSetUtility.circle(int n) |
static IndexedLineSet |
IndexedLineSetUtility.circle(int n,
double cx,
double cy,
double r) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(double[][] points,
boolean closed) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(double[] points,
int fiber,
boolean closed) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(IndexedLineSet g,
double[][] points,
boolean closed) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(IndexedLineSet g,
double[] points,
int fiber,
boolean closed) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(IndexedLineSet g,
double[] points,
int fiber,
int[][] indices) |
static IndexedLineSet |
Primitives.discreteTorusKnot(double R,
double r,
int n,
int m,
int nPts)
Generate a torus knot that winds around the given torus the given number of times.
|
IndexedLineSet |
AbstractIndexedLineSetFactory.getIndexedLineSet() |
IndexedLineSet |
GeometryMergeFactory.mergeIndexedLineSets(IndexedLineSet[] ils)
merges all IndexeedLineSets to one IndexedLineSet
Attention: several values can be set bevorhand
|
IndexedLineSet |
GeometryMergeFactory.mergeIndexedLineSets(SceneGraphComponent cmp)
merges all IndexedFaceSets, IndexeedLineSets and PointSets
of the given SceneGraph to one IndexedLineSet
FaceAttributes will be ignored.
|
static IndexedLineSet |
IndexedLineSetUtility.refine(IndexedLineSet ils,
int n) |
static IndexedLineSet |
IndexedLineSetUtility.refine2(IndexedLineSet ils,
int[] which) |
Modifier and Type | Method and Description |
---|---|
static void |
TubeUtility.calculateAndSetNormalVectorsForCurve(IndexedLineSet ils) |
static double[][] |
IndexedLineSetUtility.calculateAngles(double[][] angles,
IndexedLineSet ils) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(IndexedLineSet g,
double[][] points,
boolean closed) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(IndexedLineSet g,
double[] points,
int fiber,
boolean closed) |
static IndexedLineSet |
IndexedLineSetUtility.createCurveFromPoints(IndexedLineSet g,
double[] points,
int fiber,
int[][] indices) |
static double[][] |
IndexedLineSetUtility.extractCurve(double[][] curve,
IndexedLineSet ils,
int i) |
static double[][] |
IndexedLineSetUtility.extractCurveColors(double[][] curve,
IndexedLineSet ils,
int i) |
static double[] |
IndexedLineSetUtility.extractRadii(double[] curve,
IndexedLineSet ils,
int i) |
IndexedLineSet |
GeometryMergeFactory.mergeIndexedLineSets(IndexedLineSet[] ils)
merges all IndexeedLineSets to one IndexedLineSet
Attention: several values can be set bevorhand
|
static IndexedLineSet |
IndexedLineSetUtility.refine(IndexedLineSet ils,
int n) |
static IndexedLineSet |
IndexedLineSetUtility.refine2(IndexedLineSet ils,
int[] which) |
static IndexedLineSetFactory |
IndexedLineSetUtility.refineFactory(IndexedLineSet ils,
int n) |
static SceneGraphComponent |
BallAndStickFactory.sticks(SceneGraphComponent sgc,
IndexedLineSet ifs,
double rad,
int metric) |
Constructor and Description |
---|
BallAndStickFactory(IndexedLineSet i) |
PolygonalTubeFactory(IndexedLineSet ils,
int whichCurve) |
Modifier and Type | Class and Description |
---|---|
class |
IndexedFaceSet
A geometry specified as a combinatorial set of faces.
|
Modifier and Type | Method and Description |
---|---|
void |
SceneGraphVisitor.visit(IndexedLineSet g) |
Modifier and Type | Method and Description |
---|---|
static void |
BruteForcePicking.intersectEdges(IndexedLineSet ils,
int metric,
SceneGraphPath path,
Matrix m,
Matrix mInv,
double[] from,
double[] to,
double tubeRadius,
ArrayList<Hit> localHits) |
Modifier and Type | Method and Description |
---|---|
IndexedLineSet |
LineDragEvent.getIndexedLineSet() |
Constructor and Description |
---|
LineDragEvent(IndexedLineSet lineSet,
int index,
double[] translation,
double[] position) |
Modifier and Type | Method and Description |
---|---|
void |
TubeFactory02.colorVertices(IndexedLineSet ils,
double[] color1,
double[] color2) |
Modifier and Type | Method and Description |
---|---|
void |
CopyVisitor.copyAttr(IndexedLineSet src,
IndexedLineSet dst) |
void |
CopyVisitor.visit(IndexedLineSet g) |
Modifier and Type | Class and Description |
---|---|
class |
U3DClosedCylinder |