Package | Description |
---|---|
org.scijava.java3d |
Provides the core set of classes for the
3D graphics API for the Java platform; click here for more information,
including explanatory material that was formerly found in the guide.
|
org.scijava.java3d.audioengines |
Provides abstract classes for creating Java 3D audio devices.
|
org.scijava.java3d.utils.behaviors.interpolators |
Provides spline-based interpolation behaviors.
|
org.scijava.java3d.utils.behaviors.picking |
Deprecated: Use
org.scijava.java3d.utils.pickfast.behaviors
instead. |
org.scijava.java3d.utils.geometry |
Provides geometry construction, triangulation, and optimization
utility classes.
|
org.scijava.java3d.utils.scenegraph.io.retained | |
org.scijava.vecmath |
Provides 3D vector mathematics classes.
|
Modifier and Type | Method and Description |
---|---|
Point3f[] |
GeometryArray.getCoordRef3f()
Deprecated.
As of Java 3D version 1.3, use geometry by-copy
for Point3f arrays
|
Modifier and Type | Method and Description |
---|---|
void |
ConeSound.getAngularAttenuation(Point3f[] attenuation)
Copies the array of attenuation values from this sound, including
gain and filter, into the specified array.
|
void |
PointLight.getAttenuation(Point3f attenuation)
Gets this Light's current attenuation values and places it in the parameter specified.
|
void |
GeometryArray.getCoordinate(int index,
Point3f coordinate)
Gets the coordinate associated with the vertex at
the specified index for this object.
|
void |
GeometryArray.getCoordinates(int index,
Point3f[] coordinates)
Gets the coordinates associated with the vertices starting at
the specified index for this object.
|
void |
RotPosScalePathInterpolator.getPosition(int index,
Point3f position)
Retrieves the position value at the specified index.
|
void |
RotPosPathInterpolator.getPosition(int index,
Point3f position)
Retrieves the position value at the specified index.
|
void |
PositionPathInterpolator.getPosition(int index,
Point3f position)
Retrieves the position value at the specified index.
|
void |
Text3D.getPosition(Point3f position)
Copies the node's
position field into the supplied
parameter. |
void |
Raster.getPosition(Point3f pos)
Retrieves the current position in object coordinates of this raster.
|
void |
PointSound.getPosition(Point3f position)
Retrieves this sound's direction and places it in the
vector provided.
|
void |
PointLight.getPosition(Point3f position)
Gets this Light's current position and places it in the parameter specified.
|
void |
DistanceLOD.getPosition(Point3f position)
Retrieves the current position of this LOD node.
|
void |
RotPosScalePathInterpolator.getPositions(Point3f[] positions)
Copies the array of position values from this interpolator
into the specified array.
|
void |
RotPosPathInterpolator.getPositions(Point3f[] positions)
Copies the array of position values from this interpolator
into the specified array.
|
void |
PositionPathInterpolator.getPositions(Point3f[] positions)
Copies the array of position values from this interpolator
into the specified array.
|
void |
OrientedShape3D.getRotationPoint(Point3f point)
Retrieves the rotation point of this OrientedShape3D node,
and copies it into the specified vector.
|
void |
Billboard.getRotationPoint(Point3f point)
Gets the rotation point and sets the parameter to this value.
|
void |
View.getSensorHotspotInVworld(Sensor sensor,
Point3f position)
Retrieves the position of the specified Sensor's
hotspot in virtual-world coordinates
and copies that value into the position provided.
|
void |
GeometryArray.getTextureCoordinate(int index,
Point3f texCoord)
Deprecated.
As of Java 3D version 1.2, replaced by
getTextureCoordinate(int texCoordSet, TexCoord3f texCoord) |
void |
GeometryArray.getTextureCoordinates(int index,
Point3f[] texCoords)
Deprecated.
As of Java 3D version 1.2, replaced by
getTextureCoordinates(int texCoordSet, TexCoord3f texCoords[]) |
void |
GeometryArray.getVertexAttr(int vertexAttrNum,
int index,
Point3f vertexAttr)
Gets the vertex attribute associated with the vertex at
the specified index in the specified vertex attribute number
for this object.
|
void |
GeometryArray.getVertexAttrs(int vertexAttrNum,
int index,
Point3f[] vertexAttrs)
Gets the vertex attributes associated with the vertices starting at
the specified index in the specified vertex attribute number
for this object.
|
void |
ConeSound.setAngularAttenuation(Point3f[] attenuation)
In the second form of setAngularAttenuation, an array of all three values
is supplied.
|
void |
PointLight.setAttenuation(Point3f attenuation)
Sets this Light's current attenuation values and places it in the parameter specified.
|
void |
GeometryArray.setCoordinate(int index,
Point3f coordinate)
Sets the coordinate associated with the vertex at
the specified index for this object.
|
void |
GeometryArray.setCoordinates(int index,
Point3f[] coordinates)
Sets the coordinates associated with the vertices starting at
the specified index for this object.
|
void |
GeometryArray.setCoordinates(int index,
Point3f[] coordinates,
int start,
int length)
Sets the coordinates associated with the vertices starting at
the specified index for this object using coordinate data starting
from vertex index
start for length vertices. |
void |
GeometryArray.setCoordRef3f(Point3f[] coords)
Deprecated.
As of Java 3D version 1.3, use geometry by-copy
for Point3f arrays
|
void |
PositionPathInterpolator.setPathArrays(float[] knots,
Point3f[] positions)
Replaces the existing arrays of knot values
and position values with the specified arrays.
|
void |
RotPosPathInterpolator.setPathArrays(float[] knots,
Quat4f[] quats,
Point3f[] positions)
Replaces the existing arrays of knot values, quaternion
values, and position values with the specified arrays.
|
void |
RotPosScalePathInterpolator.setPathArrays(float[] knots,
Quat4f[] quats,
Point3f[] positions,
float[] scales)
Replaces the existing arrays of knot values, quaternion
values, position values, and scale values with the specified arrays.
|
void |
RotPosScalePathInterpolator.setPosition(int index,
Point3f position)
Sets the position value at the specified index for
this interpolator.
|
void |
RotPosPathInterpolator.setPosition(int index,
Point3f position)
Sets the position at the specified index for this
interpolator.
|
void |
PositionPathInterpolator.setPosition(int index,
Point3f position)
Sets the position at the specified index for this
interpolator.
|
void |
Text3D.setPosition(Point3f position)
Sets the node's
position field to the supplied
parameter. |
void |
Raster.setPosition(Point3f pos)
Sets the position in object coordinates of this raster.
|
void |
PointSound.setPosition(Point3f position)
Sets this sound's location from the vector provided.
|
void |
PointLight.setPosition(Point3f position)
Set light position.
|
void |
DistanceLOD.setPosition(Point3f position)
Sets the position of this LOD node.
|
void |
OrientedShape3D.setRotationPoint(Point3f point)
Sets the new rotation point.
|
void |
Billboard.setRotationPoint(Point3f point)
Sets the rotation point.
|
void |
GeometryArray.setTextureCoordinate(int index,
Point3f texCoord)
Deprecated.
As of Java 3D version 1.2, replaced by
setTextureCoordinate(int texCoordSet, TexCoord3f texCoord) |
void |
GeometryArray.setTextureCoordinates(int index,
Point3f[] texCoords)
Deprecated.
As of Java 3D version 1.2, replaced by
setTextureCoordinates(int texCoordSet, TexCoord3f texCoords[]) |
void |
GeometryArray.setTextureCoordinates(int index,
Point3f[] texCoords,
int start,
int length)
Deprecated.
As of Java 3D version 1.2, replaced by
setTextureCoordinates(int texCoordSet, TexCoord3f texCoords[], ...) |
void |
GeometryArray.setVertexAttr(int vertexAttrNum,
int index,
Point3f vertexAttr)
Sets the vertex attribute associated with the vertex at the
specified index in the specified vertex attribute number for
this object.
|
void |
GeometryArray.setVertexAttrs(int vertexAttrNum,
int index,
Point3f[] vertexAttrs)
Sets the vertex attributes associated with the vertices starting at
the specified index in the specified vertex attribute number
for this object.
|
void |
GeometryArray.setVertexAttrs(int vertexAttrNum,
int index,
Point3f[] vertexAttrs,
int start,
int length)
Sets the vertex attributes associated with the vertices
starting at the specified index in the specified vertex
attribute number for this object using data in
vertexAttrs starting at index start and
ending at index start+length . |
void |
Transform3D.transform(Point3f point)
Transforms the point parameter with this transform and
places the result back into point.
|
void |
Transform3D.transform(Point3f point,
Point3f pointOut)
Transforms the point parameter with this transform and
places the result into pointOut.
|
int |
GeometryService.triangulateIslands(int[][] islandCounts,
Point3f[][] outVerts,
int[] contourCounts,
ArrayList<GeometryArray> triangData)
Loops through each island, calling triangulator once per island.
|
Constructor and Description |
---|
Billboard(TransformGroup tg,
int mode,
Point3f point)
Constructs a Billboard node with the specified rotation point and mode
that operates on the specified TransformGroup node.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] frontDistanceAttenuation,
Point2f[] backDistanceAttenuation,
Vector3f direction)
Constructs a ConeSound node object using all the provided PointSound
parameter values.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] frontDistanceAttenuation,
Point2f[] backDistanceAttenuation,
Vector3f direction,
Point3f[] angularAttenuation)
Constructs and initializes a new Cone Sound node explicitly setting all
PointSound and ConeSound fields as arguments: the PointSound position,
front and back distance attenuation Point2f array, and ConeSound
direction vector and Point3f angular attenuation.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] frontDistanceAttenuation,
Point2f[] backDistanceAttenuation,
Vector3f direction,
Point3f[] angularAttenuation)
Constructs and initializes a new Cone Sound node explicitly setting all
PointSound and ConeSound fields as arguments: the PointSound position,
front and back distance attenuation Point2f array, and ConeSound
direction vector and Point3f angular attenuation.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] distanceAttenuation,
Vector3f direction,
Point3f[] angularAttenuation)
Constructs a ConeSound node object using all the provided PointSound
parameter values, which include a single spherical distance attenuation
array, but includes an angular attenuation array.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] distanceAttenuation,
Vector3f direction,
Point3f[] angularAttenuation)
Constructs a ConeSound node object using all the provided PointSound
parameter values, which include a single spherical distance attenuation
array, but includes an angular attenuation array.
|
ConeSound(MediaContainer soundData,
float initialGain,
Point3f position,
Vector3f direction)
Constructs a ConeSound node object using only the provided parameter
values for sound, overall initial gain, position, and direction.
|
DistanceLOD(float[] distances,
Point3f position)
Constructs and initializes a DistanceLOD node with the specified
array of distances and the specified position.
|
OrientedShape3D(Geometry geometry,
Appearance appearance,
int mode,
Point3f point)
Constructs an OrientedShape3D node with the specified geometry
component, appearance component, mode, and rotation point.
|
OrientedShape3D(Geometry geometry,
Appearance appearance,
int mode,
Point3f point,
boolean constantScaleEnable,
double scale)
Constructs an OrientedShape3D node with the specified geometry
component, appearance component, mode, and rotation point.
|
PointLight(boolean lightOn,
Color3f color,
Point3f position,
Point3f attenuation)
Constructs and initializes a point light.
|
PointLight(Color3f color,
Point3f position,
Point3f attenuation)
Constructs and initializes a point light.
|
PointSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
float[] attenuationDistance,
float[] attenuationGain)
Construct a PointSound object accepting points as input for the position.
|
PointSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] distanceGain)
Construct a PointSound object accepting Point3f as input for the position
and accepting an array of Point2f for the distance attenuation values
where each pair in the array contains a distance and a gain scale factor.
|
PointSound(MediaContainer soundData,
float initialGain,
Point3f position)
Constructs a PointSound node object using only the provided parameter
values for sound data, sample gain, and position.
|
PositionPathInterpolator(Alpha alpha,
TransformGroup target,
Transform3D axisOfTransform,
float[] knots,
Point3f[] positions)
Constructs a new PositionPathInterpolator that varies the transform
of the target TransformGroup.
|
Raster(Point3f pos,
int type,
int xSrcOffset,
int ySrcOffset,
int width,
int height,
ImageComponent2D image,
DepthComponent depthComponent)
Constructs a new Raster object with the specified values.
|
Raster(Point3f pos,
int type,
int clipMode,
Point srcOffset,
Dimension size,
Point dstOffset,
ImageComponent2D image,
DepthComponent depthComponent)
Constructs a new Raster object with the specified values.
|
Raster(Point3f pos,
int type,
Point srcOffset,
Dimension size,
ImageComponent2D image,
DepthComponent depthComponent)
Constructs a new Raster object with the specified values.
|
RotPosPathInterpolator(Alpha alpha,
TransformGroup target,
Transform3D axisOfTransform,
float[] knots,
Quat4f[] quats,
Point3f[] positions)
Constructs a new interpolator that varies the rotation and translation
of the target TransformGroup's transform.
|
RotPosScalePathInterpolator(Alpha alpha,
TransformGroup target,
Transform3D axisOfTransform,
float[] knots,
Quat4f[] quats,
Point3f[] positions,
float[] scales)
Constructs a new RotPosScalePathInterpolator object that varies the
rotation, translation, and scale of the target TransformGroup's
transform.
|
SpotLight(boolean lightOn,
Color3f color,
Point3f position,
Point3f attenuation,
Vector3f direction,
float spreadAngle,
float concentration)
Constructs and initializes a SpotLight node using the
specified parameters.
|
SpotLight(Color3f color,
Point3f position,
Point3f attenuation,
Vector3f direction,
float spreadAngle,
float concentration)
Constructs and initializes a SpotLight node using the
specified parameters.
|
Text3D(Font3D font3D,
String string,
Point3f position)
Creates a Text3D object given a Font3D, a string and position.
|
Text3D(Font3D font3D,
String string,
Point3f position,
int alignment,
int path)
Creates a Text3D object given a Font3D, string, position, alignment
and path along which string is to be placed.
|
Modifier and Type | Field and Description |
---|---|
protected Point3f |
Sample.position |
Modifier and Type | Field and Description |
---|---|
Point3f |
TCBKeyFrame.position |
Point3f |
KBKeyFrame.position |
Point3f |
TCBKeyFrame.scale |
Point3f |
KBKeyFrame.scale |
Modifier and Type | Method and Description |
---|---|
void |
KBCubicSplineSegment.getInterpolatedPosition(float u,
Point3f newPos)
Computes the interpolated position along the curve at a given point
between key frames and returns a Point3f with the interpolated
x, y, and z scale components.
|
void |
CubicSplineSegment.getInterpolatedPosition(float u,
Point3f newPos)
Computes the interpolated position along the curve at a given point
between key frames and returns a Point3f with the interpolated
x, y, and z scale components.
|
void |
KBCubicSplineSegment.getInterpolatedScale(float u,
Point3f newScale)
Computes the interpolated scale along the curve at a given point
between key frames and returns a Point3f with the interpolated
x, y, and z scale components.
|
void |
CubicSplineSegment.getInterpolatedScale(float u,
Point3f newScale)
Computes the interpolated scale along the curve at a given point
between key frames and returns a Point3f with the interpolated
x, y, and z scale components.
|
Constructor and Description |
---|
KBKeyFrame(float k,
int l,
Point3f pos,
float hd,
float pi,
float bk,
Point3f s,
float t,
float c,
float b)
Creates a key frame using the given inputs.
|
TCBKeyFrame(float k,
int l,
Point3f pos,
Quat4f q,
Point3f s,
float t,
float c,
float b)
Creates a key frame using the given inputs.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Intersect.pointAndLine(PickPoint point,
Point3f[] coordinates,
int index)
Deprecated.
Return true if line intersects with point.
|
static boolean |
Intersect.pointAndPoint(PickPoint point,
Point3f pnt)
Deprecated.
Return true if pnt intersects with point.
|
static boolean |
Intersect.rayAndLine(PickRay ray,
Point3f[] coordinates,
int index,
double[] dist)
Deprecated.
Return true if line intersects with ray and the distance, from
the origin of ray to the intersection point, is stored in dist[0].
|
static boolean |
Intersect.rayAndPoint(PickRay ray,
Point3f pnt,
double[] dist)
Deprecated.
Return true if point intersects with ray and the distance, from
the origin of ray to the intersection point, is stored in dist[0].
|
static boolean |
Intersect.rayAndTriangle(PickRay ray,
Point3f[] coordinates,
int index,
double[] dist)
Deprecated.
Return true if triangle intersects with ray and the distance, from
the origin of ray to the intersection point, is stored in dist[0].
|
static boolean |
Intersect.segmentAndLine(PickSegment segment,
Point3f[] coordinates,
int index,
double[] dist)
Deprecated.
Return true if line intersects with segment and the distance, from
the start of segment to the intersection point, is stored in dist[0].
|
static boolean |
Intersect.segmentAndPoint(PickSegment segment,
Point3f pnt,
double[] dist)
Deprecated.
Return true if point intersects with segment and the distance, from
the start of segment to the intersection point, is stored in dist[0].
|
static boolean |
Intersect.segmentAndQuad(PickSegment segment,
Point3f[] coordinates,
int index,
double[] dist)
Deprecated.
Return true if quad intersects with segment and the distance, from
the start of segment to the intersection point, is stored in dist[0].
|
static boolean |
Intersect.segmentAndTriangle(PickSegment segment,
Point3f[] coordinates,
int index,
double[] dist)
Deprecated.
Return true if triangle intersects with segment and the distance, from
the start of segment to the intersection point, is stored in dist[0].
|
Modifier and Type | Method and Description |
---|---|
Point3f[] |
GeometryInfo.getCoordinates()
Retrieves a reference to the coordinate array.
|
Modifier and Type | Method and Description |
---|---|
void |
GeometryInfo.setCoordinates(Point3f[] coordinates)
Sets the coordinates array.
|
void |
GeometryInfo.setTextureCoordinates(Point3f[] texCoords)
Deprecated.
As of Java 3D 1.3 replaced by
setTextureCoordinates(int texCoordSet, TexCoord3f coords[]) |
int |
GeometryServiceImpl.triangulateIslands(int[][] islandCounts,
Point3f[][] outVerts,
int[] contourCounts,
ArrayList<GeometryArray> triangData) |
Modifier and Type | Method and Description |
---|---|
Point3f |
Controller.readPoint3f(DataInput in) |
Modifier and Type | Method and Description |
---|---|
void |
Controller.writePoint3f(DataOutput out,
Point3f pt) |
Modifier and Type | Method and Description |
---|---|
float |
Point3f.distance(Point3f p1)
Computes the distance between this point and point p1.
|
float |
Point3f.distanceL1(Point3f p1)
Computes the L-1 (Manhattan) distance between this point and
point p1.
|
float |
Point3f.distanceLinf(Point3f p1)
Computes the L-infinite distance between this point and
point p1.
|
float |
Point3f.distanceSquared(Point3f p1)
Computes the square of the distance between this point and
point p1.
|
void |
Matrix4f.transform(Point3f point)
Transforms the point parameter with this Matrix4f and
places the result back into point.
|
void |
Matrix4d.transform(Point3f point)
Transforms the point parameter with this Matrix4d and
places the result back into point.
|
void |
Matrix4f.transform(Point3f point,
Point3f pointOut)
Transforms the point parameter with this Matrix4f and
places the result into pointOut.
|
void |
Matrix4d.transform(Point3f point,
Point3f pointOut)
Transforms the point parameter with this Matrix4d and
places the result into pointOut.
|
Constructor and Description |
---|
Point3d(Point3f p1)
Constructs and initializes a Point3d from the specified Point3f.
|
Point3f(Point3f p1)
Constructs and initializes a Point3f from the specified Point3f.
|
Copyright © 2016–2022 SciJava. All rights reserved.