|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector3D | |
---|---|
material | |
math | |
objects | |
optics | |
parser | |
raytracer | |
shader |
Uses of Vector3D in material |
---|
Methods in material with parameters of type Vector3D | |
---|---|
RGBColor |
LambertianEmitter.emittedRadiance(IntersectionInfo ri,
Vector3D out,
Vector3D N)
|
RGBColor |
IEmitter.emittedRadiance(IntersectionInfo ri,
Vector3D out,
Vector3D N)
Flux per solid angle per unit projected area (Watt/m^2sr). |
double |
DielectricSPF.getReflectance(Vector3D toLight,
IntersectionInfo ri)
|
RGBColor |
LambertianBRDF.value(Vector3D vLightIn,
IntersectionInfo intersection)
return actual BRDF value as a RGB value |
RGBColor |
IsotropicPhongBRDF.value(Vector3D vLightIn,
IntersectionInfo intersection)
return actual BRDF value as a RGB value |
RGBColor |
IBSDF.value(Vector3D vLightIn,
IntersectionInfo intersection)
return actual BRDF value as a RGB value |
Uses of Vector3D in math |
---|
Fields in math declared as Vector3D | |
---|---|
Vector3D |
Ray.direction
|
Vector3D |
IntersectionInfo.nextNormal
|
Vector3D |
OrthonormalBasis.u
|
Vector3D |
Quaternion.v
|
Vector3D |
OrthonormalBasis.v
|
Vector3D |
OrthonormalBasis.w
|
Methods in math that return Vector3D | |
---|---|
static Vector3D |
VectorOps.createDiffuseVector(OrthonormalBasis uvw,
Point2D p)
creates a diffuse vector from a 2D random point |
static Vector3D |
VectorOps.cross(Vector3D v1,
Vector3D v2)
returns the cross product of two vectors |
static Vector3D |
VectorOps.minus(Vector3D v1,
Vector3D v2)
subtracts the vector v2 from v1 |
static Vector3D |
VectorOps.normalize(Vector3D v)
normalize a 3d vector |
static Vector3D |
VectorOps.perpendicular(Vector3D v)
Returns a vector perpendicular to this one |
static Vector3D |
VectorOps.perturb(Vector3D vec,
double down,
double around)
perturbs the vector down and around |
static Vector3D |
VectorOps.plus(Vector3D v1,
Vector3D v2)
adds two vectors |
static Vector3D |
VectorOps.scale(double s,
Vector3D v)
scales the vector with the double s |
static Vector3D |
VectorOps.toVector3D(Vector v)
converts a 4-vector to a 3-vector |
static Vector3D |
MatrixOps.transform(Matrix4x4 m,
Vector3D v)
multiplies a matrix with a 3-vector |
Vector3D |
OrthonormalBasis.transform(Vector3D v)
transforms a vector |
Methods in math with parameters of type Vector3D | |
---|---|
void |
Vector3D.add(Vector3D v)
add a vector |
void |
OrthonormalBasis.createFromU(Vector3D u)
create the onb from form the u vector |
void |
OrthonormalBasis.createFromW(Vector3D w)
create the onb from form the w vector |
void |
TransformationMatrix4x4.createTranslationMatrix(Vector3D v)
creates a translation matrix from a vector |
void |
Matrix4x4.createTranslationMatrix(Vector3D v)
creates a translation matrix from a vector |
static Vector3D |
VectorOps.cross(Vector3D v1,
Vector3D v2)
returns the cross product of two vectors |
double |
Vector3D.dot(Vector3D v)
returns the scalar product with a vector |
static double |
VectorOps.dot(Vector3D v1,
Vector3D v2)
returns the scalar product of two vectors |
static int |
VectorOps.indexOfMinAbsComponent(Vector3D v)
Returns index of smallest component |
static double |
VectorOps.magnitude(Vector3D v)
returns the length of the vector |
void |
Vector3D.minus(Vector3D v)
subtracts a vector |
static Vector3D |
VectorOps.minus(Vector3D v1,
Vector3D v2)
subtracts the vector v2 from v1 |
static Vector3D |
VectorOps.normalize(Vector3D v)
normalize a 3d vector |
static double |
VectorOps.normalizeMag(Vector3D v)
normalizes a vector and returns its length |
static Vector3D |
VectorOps.perpendicular(Vector3D v)
Returns a vector perpendicular to this one |
static Vector3D |
VectorOps.perturb(Vector3D vec,
double down,
double around)
perturbs the vector down and around |
static Vector3D |
VectorOps.plus(Vector3D v1,
Vector3D v2)
adds two vectors |
static Vector3D |
VectorOps.scale(double s,
Vector3D v)
scales the vector with the double s |
void |
Ray.set(Point3D start,
Vector3D direction)
sets the ray |
void |
Vector3D.set(Vector3D v)
sets the vector |
static Vector3D |
MatrixOps.transform(Matrix4x4 m,
Vector3D v)
multiplies a matrix with a 3-vector |
Vector3D |
OrthonormalBasis.transform(Vector3D v)
transforms a vector |
Constructors in math with parameters of type Vector3D | |
---|---|
OrthonormalBasis(Vector3D u,
Vector3D v,
Vector3D w)
constructor with three given vectors |
|
Point3D(Point3D p,
Vector3D v)
new point is point + vector |
|
Quaternion(double s,
Vector3D v)
constructor |
|
Ray(Point3D start,
Vector3D direction)
constructor |
|
Vector3D(Vector3D v)
copy constructor |
Uses of Vector3D in objects |
---|
Methods in objects that return Vector3D | |
---|---|
Vector3D |
Quadric.normal(Point3D p)
|
Vector3D |
IObject.normal(Point3D p)
calculate normal via gradient |
Vector3D |
Intersection.normal(Point3D p)
|
Vector3D |
HalfSpace.normal(Point3D p)
|
Vector3D |
Assembly.normal(Point3D p)
|
Methods in objects with parameters of type Vector3D | |
---|---|
void |
Object.move(Vector3D v)
|
void |
IObject.move(Vector3D v)
translate the object with vector v |
void |
Object.rotate(Vector3D v,
double alpha)
|
void |
IObject.rotate(Vector3D v,
double alpha)
rotate around vector v with angle alpha |
void |
UnitSphere.UniformRandomPoint(Point3D point,
Vector3D normal,
Point3D prand)
|
void |
Object.UniformRandomPoint(Point3D point,
Vector3D normal,
Point3D prand)
|
void |
IObject.UniformRandomPoint(Point3D point,
Vector3D normal,
Point3D prand)
creates a random point on the surface of the object |
void |
Box.UniformRandomPoint(Point3D point,
Vector3D normal,
Point3D prand)
|
Constructors in objects with parameters of type Vector3D | |
---|---|
Lens(double focaldistance_,
double IOR_,
double thickness_,
Vector3D direction_)
constructor |
Uses of Vector3D in optics |
---|
Methods in optics that return Vector3D | |
---|---|
static Vector3D |
Optics.calculateReflectedRay(Vector3D In,
Vector3D Normal)
calculates the reflected ray from an incoming ray at a normal |
Methods in optics with parameters of type Vector3D | |
---|---|
static double |
Optics.calculateDielectricReflectance(Vector3D v,
Vector3D tv,
Vector3D n,
double Ni,
double Nt)
calculates the fresnel reflection |
static Vector3D |
Optics.calculateReflectedRay(Vector3D In,
Vector3D Normal)
calculates the reflected ray from an incoming ray at a normal |
static boolean |
Optics.calculateRefractedRay(Vector3D Normal,
double Ni,
double Nt,
Vector3D In)
calculates the refracted ray from an incoming ray at a normal |
Uses of Vector3D in parser |
---|
Methods in parser that return Vector3D | |
---|---|
Vector3D |
Parser.readVector3D(org.w3c.dom.Node Vector3DNode)
|
Uses of Vector3D in raytracer |
---|
Methods in raytracer with parameters of type Vector3D | |
---|---|
void |
Camera.move(Vector3D v)
translate the object with vector v |
void |
Camera.rotate(Vector3D v,
double alpha)
rotate around vector v with angle alpha |
Constructors in raytracer with parameters of type Vector3D | |
---|---|
Camera(Point3D eyepoint_,
Vector3D direction_,
Vector3D up_,
double fov_)
constructor |
Uses of Vector3D in shader |
---|
Constructors in shader with parameters of type Vector3D | |
---|---|
AreaLightShaderOp(double width,
double height,
Point3D location,
Vector3D dir,
int samples,
IPainter emm,
double power,
IPainter N,
double hotSpot)
constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |