|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point3D | |
---|---|
math | |
objects | |
raytracer | |
shader |
Uses of Point3D in math |
---|
Fields in math declared as Point3D | |
---|---|
Point3D |
IntersectionInfo.nextPosition
|
Point3D |
Ray.start
|
Methods in math that return Point3D | |
---|---|
Point3D |
Ray.getPoint(double t)
returns the point start+t*direction |
static Point3D |
VectorOps.toPoint3D(Vector v)
converts a 4-vector to a 3d-point |
static Point3D |
MatrixOps.transform(Matrix4x4 m,
Point3D p)
multiplies a matrix with a 3D point |
Methods in math with parameters of type Point3D | |
---|---|
void |
Point3D.set(Point3D p)
|
void |
Ray.set(Point3D start,
Vector3D direction)
sets the ray |
static Point3D |
MatrixOps.transform(Matrix4x4 m,
Point3D p)
multiplies a matrix with a 3D point |
Constructors in math with parameters of type Point3D | |
---|---|
Point3D(Point3D p)
copy constructor |
|
Point3D(Point3D p,
Vector3D v)
new point is point + vector |
|
Ray(Point3D start,
Vector3D direction)
constructor |
|
Vector3D(Point3D start,
Point3D end)
constructor, creates a vector from a start and an end point |
Uses of Point3D in objects |
---|
Methods in objects with parameters of type Point3D | |
---|---|
boolean |
Quadric.isInside(Point3D p)
|
boolean |
IObject.isInside(Point3D p)
|
boolean |
Intersection.isInside(Point3D p)
|
boolean |
HalfSpace.isInside(Point3D p)
|
boolean |
Assembly.isInside(Point3D p)
|
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)
|
double |
Quadric.q(Point3D p)
|
double |
IObject.q(Point3D p)
calculate the value of the quadric at point p |
double |
Intersection.q(Point3D p)
|
double |
HalfSpace.q(Point3D p)
|
double |
Assembly.q(Point3D p)
|
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)
|
Uses of Point3D in raytracer |
---|
Fields in raytracer declared as Point3D | |
---|---|
Point3D |
PointLight.position
|
Methods in raytracer that return Point3D | |
---|---|
Point3D |
Camera.getEyePoint()
|
Constructors in raytracer with parameters of type Point3D | |
---|---|
Camera(Point3D eyepoint_,
Vector3D direction_,
Vector3D up_,
double fov_)
constructor |
|
PointLight(Point3D position,
double radiantEnergy,
RGBColor color)
Creates a point light |
|
PointLight(Point3D position,
double radiantEnergy,
RGBColor color,
double linatt,
double quadatten)
Creates a point light |
Uses of Point3D in shader |
---|
Constructors in shader with parameters of type Point3D | |
---|---|
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 |