Uses of Class
javax.vecmath.Vector3d
Packages that use Vector3d
Package
Description
-
Uses of Vector3d in de.grogra.blocks
Methods in de.grogra.blocks with parameters of type Vector3d -
Uses of Vector3d in de.grogra.ext.x3d.util
Methods in de.grogra.ext.x3d.util that return Vector3dModifier and TypeMethodDescriptionstatic Vector3d
Util.findOrthogonalVector
(Vector3d vec1) Returns an orthogonal vector to given vector.Methods in de.grogra.ext.x3d.util with parameters of type Vector3dModifier and TypeMethodDescriptionstatic Vector3d
Util.findOrthogonalVector
(Vector3d vec1) Returns an orthogonal vector to given vector.static Matrix4d
Util.vectorsToTransMatrix
(Vector3d vec1, Vector3d vec2) This methode returns a transformation matrix with a rotational component. -
Uses of Vector3d in de.grogra.flyingcamera
Methods in de.grogra.flyingcamera that return Vector3dMethods in de.grogra.flyingcamera with parameters of type Vector3dModifier and TypeMethodDescriptionCameraState.changeDirection
(Vector3d direction) CameraState.changePosition
(Vector3d position) void
CameraState.setDirection
(Vector3d direction) void
CameraState.setMatrixDirection
(Vector3d direction) void
CameraState.setMatrixPosition
(Vector3d p) void
CameraState.setPosition
(Vector3d position) Constructors in de.grogra.flyingcamera with parameters of type Vector3d -
Uses of Vector3d in de.grogra.glsl
Methods in de.grogra.glsl that return Vector3d -
Uses of Vector3d in de.grogra.glsl.light
Methods in de.grogra.glsl.light that return Vector3dMethods in de.grogra.glsl.light with parameters of type Vector3d -
Uses of Vector3d in de.grogra.glsl.light.shadow
Fields in de.grogra.glsl.light.shadow declared as Vector3dMethods in de.grogra.glsl.light.shadow with parameters of type Vector3d -
Uses of Vector3d in de.grogra.imp3d
Fields in de.grogra.imp3d declared as Vector3dModifier and TypeFieldDescriptionfinal Vector3d
DragEvent3D.direction
The direction of the mouse ray.protected final Vector3d
PickRayVisitor.direction
protected final Vector3d
PickToolVisitor.direction
Methods in de.grogra.imp3d with parameters of type Vector3dModifier and TypeMethodDescriptionvoid
abstract void
Determines the ray which starts at the camera and goes through the specified point on the image plane of the camera.void
protected void
ParallelProjection.getRayInViewCoordinates
(float x, float y, Point3d origin, Vector3d direction, Matrix4d deviceToView, Tuple2d densities) protected void
PerspectiveProjection.getRayInViewCoordinates
(float x, float y, Point3d origin, Vector3d direction, Matrix4d deviceToView, Tuple2d densities) protected abstract void
Projection.getRayInViewCoordinates
(float x, float y, Point3d origin, Vector3d direction, Matrix4d deviceToView, Tuple2d densities) void
Pickable.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) Computes intersections of a given ray with this shape.void
void
void
static void
PickRayVisitor.pickLine
(Point3d basis, Vector3d axis, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance) static void
PickToolVisitor.pickLine
(Point3d basis, Vector3d axis, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance) static void
PickRayVisitor.pickLines
(LineArray lines, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance) static void
PickToolVisitor.pickLines
(LineArray lines, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance) static void
PickRayVisitor.pickPoint
(Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance) static void
PickRayVisitor.pickPoint
(Point3d origin, Vector3d direction, Point3d point, Matrix4d transformation, PickList list, int tolerance) static void
PickToolVisitor.pickPoint
(Point3d origin, Vector3d direction, Matrix4d transformation, PickList list, int tolerance) static void
PickToolVisitor.pickPoint
(Point3d origin, Vector3d direction, Point3d point, Matrix4d transformation, PickList list, int tolerance) Constructors in de.grogra.imp3d with parameters of type Vector3d -
Uses of Vector3d in de.grogra.imp3d.msml
Methods in de.grogra.imp3d.msml that return Vector3dMethods in de.grogra.imp3d.msml with parameters of type Vector3d -
Uses of Vector3d in de.grogra.imp3d.objects
Methods in de.grogra.imp3d.objects that return Vector3dMethods in de.grogra.imp3d.objects with parameters of type Vector3dModifier and TypeMethodDescriptionstatic void
void
Box.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Cone.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Cylinder.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Frustum.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
FrustumBase.pick
(float zheight, float br, float tr, boolean bc, boolean tc, Point3d origin, Vector3d direction, PickList list) void
FrustumIrregular.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
GridClonerNode.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
void
Lamella.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Legend.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
LightNode.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Line.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
void
MeshNode.pick
(Object node, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
NURBSSurface.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) static void
void
Parallelogram.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
Patch.pick
(VertexGrid grid, Point3d origin, Vector3d direction, PickList list) void
Patch.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
Plane.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Point.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
PointCloudImpl.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
Polygon.pick
(Object node, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
PrismRectangular.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
SensorNode.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Sky.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
void
Sphere.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
void
SphereSegmentSolid.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) void
Supershape.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
TextBlock.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
TextBlock.pick
(String caption, Font font, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) void
TextLabelBase.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) static void
TextLabelBase.pick
(String caption, Font font, int horizontal, int vertical, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) static void
void
VoronoiCell.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) -
Uses of Vector3d in de.grogra.imp3d.shading
Methods in de.grogra.imp3d.shading that return Vector3dMethods in de.grogra.imp3d.shading with parameters of type Vector3d -
Uses of Vector3d in de.grogra.lignum.jadt
Subclasses of Vector3d in de.grogra.lignum.jadt -
Uses of Vector3d in de.grogra.math
Subclasses of Vector3d in de.grogra.mathModifier and TypeClassDescriptionfinal class
Fields in de.grogra.math declared as Vector3dModifier and TypeFieldDescriptionfinal Vector3d
Pool.v3d0
final Vector3d
Pool.v3d1
final Vector3d
Pool.v3d2
final Vector3d
Pool.v3d3
final Vector3d
Pool.w3d0
final Vector3d
Pool.w3d1
final Vector3d
Pool.w3d2
final Vector3d
Pool.w3d3
Methods in de.grogra.math that return Vector3dModifier and TypeMethodDescriptionComponentTransform.getRotation()
ComponentTransform.getScale()
ComponentTransform.getShear()
ComponentTransform.getTranslation()
Methods in de.grogra.math with parameters of type Vector3dModifier and TypeMethodDescriptionvoid
ComponentTransform.setRotation
(Vector3d value) void
void
void
ComponentTransform.setTranslation
(Vector3d value) -
Uses of Vector3d in de.grogra.mesh.renderer
Methods in de.grogra.mesh.renderer with parameters of type Vector3dModifier and TypeMethodDescriptionvoid
CollectionDisplay.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) protected abstract void
CollectionDisplay.pickImpl
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) protected void
CollectionMesh.pickImpl
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) protected void
CollectionPoint.pickImpl
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) -
Uses of Vector3d in de.grogra.mesh.renderer.handler
Methods in de.grogra.mesh.renderer.handler with parameters of type Vector3dModifier and TypeMethodDescriptionvoid
CollectionDisplayHandler.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) protected abstract void
CollectionDisplayHandler.pickImpl
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) protected void
CollectionMeshHandler.pickImpl
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) protected void
CollectionPointHandler.pickImpl
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) protected void
FloatArrayHandler.pickImpl
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list) -
Uses of Vector3d in de.grogra.mtg
Fields in de.grogra.mtg declared as Vector3dMethods in de.grogra.mtg that return Vector3dModifier and TypeMethodDescriptionMTGBranchElement.getDirp()
MTGBranchElement.getDirs()
MTGBranchElement.getDirt()
MTGSquares.getMax
(int voxelIndex) MTGVoxel.getMax()
MTGSquares.getMin
(int voxelIndex) MTGVoxel.getMin()
MTGBranchElement.getOrigin()
Methods in de.grogra.mtg with parameters of type Vector3dModifier and TypeMethodDescriptionvoid
MTGRoot.changeBenchmark
(Vector3d ori, Vector3d u, Vector3d v, Vector3d w) void
MTGNode.setDirectoryPrimary
(Vector3d dirp) void
void
void
MTGRoot.setElevationAzimuth
(Vector3d vec, double ele, double azi) void
void
void
Constructors in de.grogra.mtg with parameters of type Vector3d -
Uses of Vector3d in de.grogra.pointcloud.objects.impl
Methods in de.grogra.pointcloud.objects.impl with parameters of type Vector3d -
Uses of Vector3d in de.grogra.ray.intersection
Fields in de.grogra.ray.intersection declared as Vector3d -
Uses of Vector3d in de.grogra.ray.light
Fields in de.grogra.ray.light declared as Vector3d -
Uses of Vector3d in de.grogra.ray.physics
Fields in de.grogra.ray.physics declared as Vector3dModifier and TypeFieldDescriptionfinal Vector3d
Environment.boundsCenter
The center ofEnvironment.bounds
.final Vector3d
Environment.tmpVector0
This vector may be used freely in implementations of theScattering
methods.final Vector3d
Environment.tmpVector1
This vector may be used freely in implementations of theScattering
methods. -
Uses of Vector3d in de.grogra.ray.util
Constructors in de.grogra.ray.util with parameters of type Vector3d -
Uses of Vector3d in de.grogra.ray2.radiosity
Subclasses of Vector3d in de.grogra.ray2.radiosityModifier and TypeClassDescriptionclass
This class extends the javax.vecmath.Vector3d class and adds same rotation functions. -
Uses of Vector3d in de.grogra.ray2.tracing.modular
Methods in de.grogra.ray2.tracing.modular with parameters of type Vector3dModifier and TypeMethodDescriptionvoid
LineTracer.traceSubPath
(PathValues srcPath, int startVertex, int newVertexCount, boolean isLightRay, Vector3d direction) -
Uses of Vector3d in de.grogra.rgg
Fields in de.grogra.rgg declared as Vector3dModifier and TypeFieldDescriptionstatic final Vector3d
Library.HEAD
Vector pointing in the z-direction (the turtle's head axis).static final Vector3d
Library.LEFT
Vector pointing in the x-direction (the turtle's left axis).static final Vector3d
Library.UP
Vector pointing in the y-direction (the turtle's up axis).Methods in de.grogra.rgg that return Vector3dModifier and TypeMethodDescriptionstatic Vector3d
Computes the growth direction of the turtle atnode
in global coordinates.static Vector3d
Library.enddirection
(Node node) Computes the growth direction of the turtle at the end ofnode
in global coordinates.static Vector3d
Library.randomDirection()
Pick a random point on the surface of a unit sphere and return it as direction vector.Methods in de.grogra.rgg with parameters of type Vector3dModifier and TypeMethodDescriptionstatic Cone
Returns a cone whose tip is located atorigin
, whose central axis hasdirection
as direction, and whose half opening angle isangle
(in degrees).void
LightModelVisualizer.pick
(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d t, PickList list) Scanner.scanCircle
(Point3d center, double radius, Vector3d normal, double angleStep) Does the same as scanCircle(Point3d, double, Vector3d, Vector3d, double) but the origin of the angle (zeroAngleVector) is arbitrary chosen.Scanner.scanCircle
(Point3d center, double radius, Vector3d normalParam, Vector3d zeroAngleVectorParam, double angleStep) Moves the origin of the scanner along the circle of center center, radius radius, and contained in a plane orthogonal to the vector normal ; zeroAngleVector specifies must be orthogonal to normal, and specifies an origin for the angles ; for each angular step angleStep, rays are shot according to the angular parameters specified (see setRange / setSteps) and the local basis (-uR,-uTheta,normal) [see cylindrical coordinate system]Scanner.scanCylinder
(Point3d startingPoint, Vector3d axisParam, double radius, double angularStep, double lengthAxisStep, int nbSteps) Works as scanCylinder (Point3d, Vector3d, double, double, double, int, Vector3d) but an origin for the angles is arbitrary chosen)Scanner.scanCylinder
(Point3d startingPoint, Vector3d axisParam, double radius, double angularStep, double lengthAxisStep, int nbSteps, Vector3d zeroAngleVectorParam) Moves the origin of the scanner on the cylinder which axis starts at startingPoint, has axisParam as direction, and of length (nbSteps-1)* lengthAxisStep, and of radius radius ; for each step along the axis, the origin of the scanner revolves around the axis with an angular step angularStep ; zeroAngleVector specifies must be orthogonal to axisParam, and specifies an origin for the angles ; rays are shot at each step according to the angular parameters specified (see setRange / setSteps) and the local basis (-uR,-uTheta,normal) [see cylindrical coordinate system]Scanner.scanHemisphere
(Point3d center, double radius, double phiStep, double thetaStep, Vector3d xParam, Vector3d yParam, Vector3d zParam) Moves the origin of the scanner on a hemisphere, with a step "phiStep" along the colatitude and a step thetaStep along the longitude.Scanner.scanPoint
(Point3d center, double radius, double phi, double theta, Vector3d xParam, Vector3d yParam, Vector3d zParam) Moves the origin of the scanner to a single point, with an angle "phi" along the colatitude and an angle theta along the longitude.Scanner.scanSegment
(Point3d startingPoint, Vector3d directionParam, float stepLength, int nbSteps) Move the origin of the scanner along the segment starting at startingPoint, of direction directionParam and of length (nbSteps-1) * stepLength ; rays are shot according to the angular parameters specified (see setRange / setSteps) and the basis set (see setBasis)Scanner.scanSphere
(Point3d center, double radius, double phiStep, double thetaStep, Vector3d xParam, Vector3d yParam, Vector3d zParam) Moves the origin of the scanner on a sphere, with a step "phiStep" along the colatitude and a step thetaStep along the longitude.void
set the (x,y,z) basis which will serve as reference for the spherical coordinates system ; (x,y,z) must form an orthogonal basis ; the vectors are then normalized to form an orthonormal basis also compute the P matrix, and change the basisCorrect value accordinglystatic Null
Return a new node with a transformation matrix set to the desired tropism.Constructors in de.grogra.rgg with parameters of type Vector3d -
Uses of Vector3d in de.grogra.stl
Methods in de.grogra.stl with parameters of type Vector3d -
Uses of Vector3d in de.grogra.turtle
Fields in de.grogra.turtle declared as Vector3dModifier and TypeFieldDescriptionRD.direction
This defines the direction to which this tropism tends.RO.direction
This defines the normal vector of the plane to which this tropism tends.Methods in de.grogra.turtle with parameters of type Vector3dModifier and TypeMethodDescriptionstatic void
static void
Constructors in de.grogra.turtle with parameters of type Vector3d -
Uses of Vector3d in de.grogra.vecmath
Fields in de.grogra.vecmath declared as Vector3dMethods in de.grogra.vecmath that return Vector3dModifier and TypeMethodDescriptionstatic Vector3d
VecmathOperators.operator$add
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$add
(Vector3d a, Vector3f b) static Vector3d
VecmathOperators.operator$add
(Vector3f a, Vector3d b) static Vector3d
VecmathOperators.operator$addAssign
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$addAssign
(Vector3d a, Vector3f b) static Vector3d
VecmathOperators.operator$div
(Tuple3d a, double b) static Vector3d
VecmathOperators.operator$mul
(double b, Tuple3d a) static Vector3d
VecmathOperators.operator$mul
(Tuple3d a, double b) static Vector3d
VecmathOperators.operator$mulAssign
(Vector3d a, double b) static Vector3d
VecmathOperators.operator$neg
(Tuple3d a) static Vector3d
VecmathOperators.operator$sub
(Point3d a, Point3d b) static Vector3d
VecmathOperators.operator$sub
(Point3d a, Point3f b) static Vector3d
VecmathOperators.operator$sub
(Point3f a, Point3d b) static Vector3d
VecmathOperators.operator$sub
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$sub
(Vector3d a, Vector3f b) static Vector3d
VecmathOperators.operator$sub
(Vector3f a, Vector3d b) static Vector3d
VecmathOperators.operator$subAssign
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$subAssign
(Vector3d a, Vector3f b) Methods in de.grogra.vecmath with parameters of type Vector3dModifier and TypeMethodDescriptionstatic float
static float
static float
Computated the distance between two vectorsstatic float
Calculates the distance between the point pp and the piece of straight line delimited by sa and se.static double
Math2.closestConnection
(Tuple3d p, Vector3d v, Tuple3d q) static void
Math2.cutCone
(Vector3d ss, float alpha, Vector3d pp, Vector3d qq, CutConeParameter ccp) static float
Math2.determinate3
(Vector3d a1, Vector3d a2, Vector3d a3) static double
final void
static void
Math2.getBeginAndEndOfShoot
(Matrix4d m, double length, Vector3d beginOfShoot, Vector3d endOfShoot) static void
Math2.getBeginOfShoot
(Matrix4d m, Vector3d beginOfShoot) static void
Math2.getEndOfShoot
(Matrix4d m, double length, Vector3d endOfShoot) static double
Math2.intersectLineWithFrustum
(Point3d point, Vector3d direction, Point3d origin, Vector3d axis, double top, double base, double tan) static boolean
Math2.isNullVector
(Vector3d a) Test of all parts of the vector are nullstatic void
Normalizes this vector in place.static void
static Vector3d
VecmathOperators.operator$add
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$add
(Vector3d a, Vector3f b) static Vector3d
VecmathOperators.operator$add
(Vector3f a, Vector3d b) static Vector3d
VecmathOperators.operator$addAssign
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$addAssign
(Vector3d a, Vector3f b) static Vector3d
VecmathOperators.operator$mulAssign
(Vector3d a, double b) static Vector3d
VecmathOperators.operator$sub
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$sub
(Vector3d a, Vector3f b) static Vector3d
VecmathOperators.operator$sub
(Vector3f a, Vector3d b) static Vector3d
VecmathOperators.operator$subAssign
(Vector3d a, Vector3d b) static Vector3d
VecmathOperators.operator$subAssign
(Vector3d a, Vector3f b) static boolean
Math2.parallelVector
(Vector3d a1, Vector3d a2) static boolean
Math2.quadricIntersection
(double a00, double a01, double a02, double a11, double a12, double a22, double b0, double b1, double b2, double c, Point3d p, Vector3d d, double[] lambda) static double
Math2.shortestConnection
(Tuple3d p1, Vector3d v1, Tuple3d p2, Vector3d v2, double[] lambda) Computes the shortest straight connection between two lines.static double
Math2.shortestConnection
(Tuple3d p1, Vector3d v1, Tuple3f p2, Vector3f v2, double[] lambda) Computes the shortest straight connection between two lines.static int
Math2.skySegment
(Vector3d rv) -
Uses of Vector3d in de.grogra.vecmath.geom
Fields in de.grogra.vecmath.geom declared as Vector3dModifier and TypeFieldDescriptionLine.direction
Specifies the direction of the line.Intersection.tmpVector0
This vector may be used freely in methods which perform computations based on this intersection.final Vector3d
Variables.tmpVector0
This vector may be used freely.final Vector3d
Variables.tmpVector1
This vector may be used freely.final Vector3d
Variables.tmpVector2
This vector may be used freely.final Vector3d
Variables.tmpVector3
This vector may be used freely.final Vector3d
Intersection.volumeVector
This field can be used by theIntersection.volume
to store additional information.Methods in de.grogra.vecmath.geom that return Vector3dModifier and TypeMethodDescriptionIntersection.getNormal()
Returns the surface geometric normal unit vector in global coordinates.Intersection.getUTangent()
Returns the surface geometric normal unit vector in global coordinates.Intersection.getVTangent()
Methods in de.grogra.vecmath.geom with parameters of type Vector3dModifier and TypeMethodDescriptionvoid
MeshVolume.computeFaceNormal
(Intersection is, Vector3d normal) Compute the face normal of the triangle that was hit (is.face).void
BoundingBox.computeNormal
(Intersection is, Vector3d normal) void
CompoundVolume.computeNormal
(Intersection is, Vector3d normal) void
Cone.computeNormal
(Intersection is, Vector3d normal) void
CSGComplement.computeNormal
(Intersection is, Vector3d normal) void
Cube.computeNormal
(Intersection is, Vector3d normal) void
Cylinder.computeNormal
(Intersection is, Vector3d normal) void
EmptyVolume.computeNormal
(Intersection is, Vector3d normal) void
HalfSpace.computeNormal
(Intersection is, Vector3d normal) void
ImplicitVolume.computeNormal
(Intersection is, Vector3d normal) void
Lamella.computeNormal
(Intersection is, Vector3d normal) void
MeshVolume.computeNormal
(Intersection is, Vector3d normal) void
SensorDisc.computeNormal
(Intersection is, Vector3d normal) void
SkySphere.computeNormal
(Intersection is, Vector3d normal) void
Sphere.computeNormal
(Intersection is, Vector3d normal) void
SphereSegmentSolid.computeNormal
(Intersection is, Vector3d normal) void
Square.computeNormal
(Intersection is, Vector3d normal) void
Volume.computeNormal
(Intersection is, Vector3d normal) This method computes the unit normal vector of an intersectionis
which has been computed previously by the invocation ofVolume.computeIntersections(de.grogra.vecmath.geom.Line, int, de.grogra.vecmath.geom.IntersectionList, de.grogra.vecmath.geom.Intersection, de.grogra.vecmath.geom.Intersection)
on this volume.void
BoundingBox.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
CompoundVolume.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
Cone.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
CSGComplement.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
Cube.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
Cylinder.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
EmptyVolume.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
HalfSpace.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
ImplicitVolume.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
Lamella.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
MeshVolume.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
SensorDisc.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
SkySphere.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
Sphere.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
SphereSegmentSolid.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
Square.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) void
Volume.computeTangents
(Intersection is, Vector3d dpdu, Vector3d dpdv) This method computes the derivatives of the surface point (as function of the uv-coordinates, seeVolume.computeUV(de.grogra.vecmath.geom.Intersection, javax.vecmath.Vector2d)
) with respect to u and v at the intersection point.int
BoundingBox.testParallelogram
(Tuple3d a, Tuple3d b, Tuple3d c, Tuple3d d, Matrix3d inv, Vector3d normal, Vector3d v) Determines if the specified parallelogram intersects this bounding box.Constructors in de.grogra.vecmath.geom with parameters of type Vector3d -
Uses of Vector3d in javax.vecmath
Methods in javax.vecmath with parameters of type Vector3dModifier and TypeMethodDescriptionfinal double
Returns the angle in radians between this vector and the vector parameter; the return value is constrained to the range [0,PI].final void
Sets this vector to be the vector cross product of vectors v1 and v2.final double
Computes the dot product of the this vector and vector v1.final double
Performs an SVD normalization of this matrix to calculate the rotation as a 3x3 matrix, the translation, and the scale.final double
Performs an SVD normalization of this matrix to calculate the rotation as a 3x3 matrix, the translation, and the scale.final void
Retrieves the translational components of this matrix.final void
Copies the matrix values in the specified column into the vector parameter.final void
Copies the matrix values in the specified row into the vector parameter.final void
Sets the value of this vector to the normalization of vector v1.final void
Sets the value of this AxisAngle4d to the specified axis and angle.final void
Sets the value of this matrix to a scale and translation matrix; scale is not applied to the translation and all of the matrix values are modified.final void
Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale s.final void
Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s.final void
Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s.final void
Sets the value of this matrix to a translate matrix by the passed translation value.final void
Sets the value of this matrix to a scale and translation matrix; the translation is scaled by the scale factor and all of the matrix values are modified.final void
Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale s.final void
Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s.final void
Sets the specified column of this matrix3d to the vector provided.final void
Sets the specified row of this matrix3d to the Vector provided.final void
Matrix4d.setTranslation
(Vector3d trans) Modifies the translational components of this matrix to the values of the Vector3d argument; the other values of this matrix are not modified.final void
Transforms the normal parameter by this transform and places the value back into normal.final void
Transforms the normal parameter by this Matrix4d and places the value into normalOut.Constructors in javax.vecmath with parameters of type Vector3dModifierConstructorDescriptionAxisAngle4d
(Vector3d axis, double angle) Constructs and initializes an AxisAngle4d from the specified axis and angle.Constructs and initializes a Matrix4d from the rotation matrix, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.Constructs and initializes a Matrix4d from the rotation matrix, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.Constructs and initializes a Matrix4d from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.Constructs and initializes a Matrix4d from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components.Constructs and initializes a Vector3d from the specified Vector3d.Constructs and initializes a Vector3f from the specified Vector3d. -
Uses of Vector3d in uk.ac.soton.grophysics
Methods in uk.ac.soton.grophysics with parameters of type Vector3dModifier and TypeMethodDescriptionPhysicsUtils.getTranslation
(Vector3d v) Utility to get a translation matrix from a vectorPhysicsUtils.offsetMatrix
(Matrix4d in, Vector3d offset) offset the input matrix by the vector offset