|
Rings Version 0.3 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Vector in threeD.raytracer.camera |
| Fields in threeD.raytracer.camera declared as Vector | |
protected Vector |
OrthographicCamera.u
|
protected Vector |
OrthographicCamera.v
|
protected Vector |
OrthographicCamera.w
|
| Methods in threeD.raytracer.camera that return Vector | |
Vector |
OrthographicCamera.getLocation()
Returns the location of this PinholeCamera object as a Vector object. |
Vector |
OrthographicCamera.getViewDirection()
Calls the getViewingDirection() method and returns the result. |
Vector |
OrthographicCamera.getViewingDirection()
Returns the viewing direction of this PinholeCamera object as a Vector object. |
Vector |
OrthographicCamera.getUpDirection()
Returns the up direction of this PinholeCamera object as a Vector object. |
| Methods in threeD.raytracer.camera with parameters of type Vector | |
void |
OrthographicCamera.setLocation(Vector location)
Sets the location of this PinholeCamera object to the specified location. |
void |
OrthographicCamera.setViewDirection(Vector viewDirection)
Calls the setViewingDirection() method. |
void |
OrthographicCamera.setViewingDirection(Vector viewDirection)
Sets the viewing direction of this PinholeCamera object to the specified viewing direction. |
void |
OrthographicCamera.setUpDirection(Vector upDirection)
Sets the up direction of this PinholeCamera object to the specified up direction. |
| Constructors in threeD.raytracer.camera with parameters of type Vector | |
PinholeCamera(Vector location,
Vector viewDirection,
Vector upDirection)
Constructs a PinholeCamera object with the specified location, viewing direction, and up direction, but with default focal length and projection dimensions as specified above. |
|
PinholeCamera(Vector location,
Vector viewDirection,
Vector upDirection,
double focalLength,
double projectionX,
double projectionY)
Constructs a PinholeCamera object with the specified location, viewing direction, up direction, focal length, and projection dimensions. |
|
PinholeCamera(Vector location,
Vector viewDirection,
Vector upDirection,
double focalLength,
double[] fov)
Constructs a PinholeCamera object with the specified location, viewing direction, up direction, and focal length. |
|
OrthographicCamera(Vector location,
Vector viewDirection,
Vector upDirection)
Constructs an OrthographicCamera object with the specified location, viewing direction, and up direction, but with default projection dimensions as specified above. |
|
OrthographicCamera(Vector location,
Vector viewDirection,
Vector upDirection,
double projectionX,
double proojectionY)
|
|
| Uses of Vector in threeD.raytracer.engine |
| Methods in threeD.raytracer.engine that return Vector | |
Vector |
SurfaceGroup.getNormalAt(Vector point)
Returns null. |
Vector |
Surface.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to the 3d surface at the point represented by the specified Vector object. |
static Vector |
RayTracingEngine.reflect(Vector vector,
Vector normal)
Reflects the specified Vector object across the normal vector represented by the second specified Vector object and returns the result. |
static Vector |
RayTracingEngine.refract(Vector vector,
Vector normal,
double ni,
double nr)
Refracts the specified Vector object based on the specified normal vector and 2 specified indices of refraction. |
Vector |
Ray.getOrigin()
Returns the origin of this Ray object as a Vector object. |
Vector |
Ray.getDirection()
Returns the direction of this Ray object as a Vector object. |
Vector |
Ray.pointAt(double t)
Returns the point on the ray represented by this Ray object at distance t from the origin as a Vector object. |
Vector |
AbstractSurface.getLocation()
Returns the location of this AbstractSurface as a Vector object. |
| Methods in threeD.raytracer.engine with parameters of type Vector | |
RGB |
Texture.getColorAt(Vector point)
Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the arguments stored by this Texture object. |
RGB |
Texture.getColorAt(Vector point,
java.lang.Object[] args)
Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the specified arguments. |
Vector |
SurfaceGroup.getNormalAt(Vector point)
Returns null. |
RGB |
Surface.getColorAt(Vector point)
Returns the color of this Surface object at the specified point as an RGB object. |
Vector |
Surface.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to the 3d surface at the point represented by the specified Vector object. |
static RGB |
RayTracingEngine.lightingCalculation(Vector point,
Vector rayDirection,
Surface surface,
Surface[] otherSurfaces,
Light[] lights)
Performs the lighting calculations for the specified surface at the specified point of intersection on that surface using the lighting data from the specified Light objects and returns an RGB object that represents the color of the point. |
static RGB |
RayTracingEngine.lightingCalculation(Vector point,
Vector rayDirection,
Surface surface,
Surface[] otherSurfaces,
Light light,
Light[] otherLights)
Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified Light object and returns an RGB object that represents the color of the point. |
static RGB |
RayTracingEngine.ambientLightingCalculation(Vector point,
Vector rayDirection,
Surface surface,
Surface[] otherSurfaces,
AmbientLight light)
Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified AmbientLight object and returns an RGB object that represents the color of the point. |
static RGB |
RayTracingEngine.directionalAmbientLightingCalculation(Vector point,
Vector rayDirection,
Surface surface,
Surface[] otherSurfaces,
DirectionalAmbientLight light,
Light[] otherLights)
Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified DirectionalAmbientLight object and returns an RGB object that represents the color of the point. |
static RGB |
RayTracingEngine.pointLightingCalculation(Vector point,
Vector rayDirection,
Surface surface,
Surface[] otherSurfaces,
PointLight light,
Light[] otherLights)
Performs the lighting calculations for the specified surface at the specified point of interesection on that surface using the lighting data from the specified PointLight object and returns an RGB object that represents the color of the point. |
static boolean |
RayTracingEngine.shadowCalculation(Vector point,
Surface[] surfaces,
Light light)
Performs the shadow calculations for the specified surfaces at the specified point using the data from the specified Light object. |
static Vector |
RayTracingEngine.reflect(Vector vector,
Vector normal)
Reflects the specified Vector object across the normal vector represented by the second specified Vector object and returns the result. |
static Vector |
RayTracingEngine.refract(Vector vector,
Vector normal,
double ni,
double nr)
Refracts the specified Vector object based on the specified normal vector and 2 specified indices of refraction. |
void |
Ray.setOrigin(Vector origin)
Sets the origin of this Ray object to the specified origin vector. |
void |
Ray.setDirection(Vector direction)
Sets the direction of this Ray object to the specified direction vector. |
void |
AbstractSurface.setLocation(Vector location)
Sets the location of this AbstractSurface to the specified Vector object. |
RGB |
AbstractSurface.getColorAt(Vector point)
Returns the color of this AbstractSurface at the specified point as an RGB object. |
| Constructors in threeD.raytracer.engine with parameters of type Vector | |
Ray(Vector origin,
Vector direction)
Constructs a Ray object using the specified origin and direction vectors. |
|
AbstractSurface(Vector location,
double size)
Sets the location and size of this AbstractSurface to those specifed, and uses the defaults for the other values. |
|
AbstractSurface(Vector location,
double size,
RGB color)
Sets the location, size, and color of this AbstractSurface to those specified. |
|
| Uses of Vector in threeD.raytracer.lighting |
| Methods in threeD.raytracer.lighting that return Vector | |
Vector |
PointLightGrid.getNormalAt(Vector point)
Returns a zero vector. |
Vector |
PointLight.getLocation()
Returns the location of this PointLight object as a Vector object. |
Vector |
DirectionalAmbientLight.getDirection()
Returns the direction of this DirectionalAmbientLight object as a Vector object. |
| Methods in threeD.raytracer.lighting with parameters of type Vector | |
Vector |
PointLightGrid.getNormalAt(Vector point)
Returns a zero vector. |
void |
PointLight.setLocation(Vector location)
Sets the location of this PointLight object to the location represented by the specified Vector object. |
RGB |
PointLight.getColorAt(Vector point)
Returns the color of the light represented by this PointLight object at the specified point as an RGB object. |
RGB |
Light.getColorAt(Vector point)
Returns the color of the light represented by this Light object at the specified point as an RGB object. |
void |
DirectionalAmbientLight.setDirection(Vector direction)
Sets the direction of this DirectionalAmbientLight object to the direction represented by the specified Vector object. |
RGB |
AmbientLight.getColorAt(Vector point)
Returns the color of this AmbientLight object as an RGB object. |
| Constructors in threeD.raytracer.lighting with parameters of type Vector | |
SphericalLight(Vector location,
double radius)
Constructs a new SphericalLight object. |
|
PointLight(Vector location)
Constructs a PointLight object with the specified location and default intensity and color. |
|
PointLight(Vector location,
double intensity,
RGB color)
Constructs a PointLight object with the specified location, intensity, and color. |
|
DirectionalAmbientLight(Vector direction)
Constructs a DirectionalAmbientLight object with default intensity and color and the direction represented by the specified Vector object. |
|
DirectionalAmbientLight(double intensity,
RGB color,
Vector direction)
Constructs a DirectionalAmbientLight object with the direction, intensity, and color represented by the specified values. |
|
| Uses of Vector in threeD.raytracer.primitives |
| Subclasses of Vector in threeD.raytracer.primitives | |
protected static class |
Mesh.Vertex
|
| Methods in threeD.raytracer.primitives that return Vector | |
Vector[] |
Triangle.getVertices()
Returns an array of Vector objects representing the vertices of this Triangle object. |
Vector |
Triangle.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object. |
Vector |
Sphere.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object. |
Vector |
Polynomial.evaluateGradient(double x,
double y,
double z)
Evaluates the gradient of the polynomial funtion represented by this Polynomial object for the specified values. |
Vector |
Polynomial.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this polynomial surface at the point represented by the specified Vector object. |
Vector |
Plane.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this plane at the point represented by the specified Vector object. |
Vector |
Mesh.getNormalAt(Vector point)
|
Vector |
Mesh.Vertex.getNormal()
|
Vector |
Cylinder.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this cylinder at the point represented by the specified Vector object. |
Vector |
CSG.getNormalAt(Vector point)
|
Vector |
Cone.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this cone at the point represented by the specified Vector object. |
| Methods in threeD.raytracer.primitives with parameters of type Vector | |
void |
Triangle.setVertices(Vector p1,
Vector p2,
Vector p3)
Sets the vertices of this Triangle object to those specified. |
Vector |
Triangle.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object. |
Vector |
Sphere.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this sphere at the point represented by the specified Vector object. |
Vector |
Polynomial.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this polynomial surface at the point represented by the specified Vector object. |
Vector |
Plane.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this plane at the point represented by the specified Vector object. |
int |
Mesh.addVector(Vector p)
Adds the point defined by the specified Vector object to the mesh represented by this Mesh object. |
Vector |
Mesh.getNormalAt(Vector point)
|
void |
Mesh.Vertex.setNormal(Vector n)
|
void |
Mesh.Vertex.addNormal(Vector n)
|
void |
Mesh.Vertex.removeNormal(Vector n)
|
Vector |
Cylinder.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this cylinder at the point represented by the specified Vector object. |
Vector |
CSG.getNormalAt(Vector point)
|
Vector |
Cone.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this cone at the point represented by the specified Vector object. |
| Constructors in threeD.raytracer.primitives with parameters of type Vector | |
Triangle(Vector p1,
Vector p2,
Vector p3)
Constructs a new Triangle object with the specified vertices that is black. |
|
Triangle(Vector p1,
Vector p2,
Vector p3,
RGB color)
Constructs a new Triangle object with the specified vertices with the color represented by the specified RGB object. |
|
Sphere(Vector location,
double radius)
Constructs a Sphere object that represents a sphere with the specified center location and radius that is black. |
|
Sphere(Vector location,
double radius,
RGB color)
Constructs a Sphere object that represents a sphere with the specified center location, radius, and color. |
|
Mesh(Vector[] points,
int[][] triangles)
Constructs a new Mesh object. |
|
Mesh.Vertex(Vector p)
|
|
Cylinder(Vector location,
double radius)
Constructs a Cylinder object that represents a cylinder with the specified base radius, and the specified location, that is black. |
|
Cylinder(Vector location,
double radius,
RGB color)
Constructs a Cylinder object that represents a cylinder with the specified base radius, location, and color. |
|
Cone(Vector location,
double radius)
Constructs a Cone object that represents a cone with the specified base radius, and the specified location, that is black. |
|
Cone(Vector location,
double radius,
RGB color)
Constructs a Cone object that represents a cone with the specified base radius, location, and color. |
|
| Uses of Vector in threeD.raytracer.shaders |
| Methods in threeD.raytracer.shaders that return Vector | |
Vector |
ShaderParameters.getPoint()
|
Vector |
ShaderParameters.getViewerDirection()
|
Vector |
ShaderParameters.getLightDirection()
|
Vector |
RefractionShader.refract(Vector n,
Vector d)
|
| Methods in threeD.raytracer.shaders with parameters of type Vector | |
RGB |
RefractionShader.shade(Vector point,
Vector viewerDirection,
Vector lightDirection,
Light light,
Light[] otherLights,
Surface surface,
Surface[] otherSurfaces,
Vector n)
|
Vector |
RefractionShader.refract(Vector n,
Vector d)
|
| Constructors in threeD.raytracer.shaders with parameters of type Vector | |
ShaderParameters(Vector point,
Vector viewerDirection,
Vector lightDirection,
Light light,
Light[] otherLights,
Surface surface,
Surface[] otherSurfaces)
Constructs a new ShaderParameters object using the specified arguments. |
|
ShaderParameters(Vector point,
Vector viewerDirection,
Vector lightDirection,
Light light,
Light[] otherLights,
Surface[] otherSurfaces)
|
|
| Uses of Vector in threeD.raytracer.surfaceUI |
| Methods in threeD.raytracer.surfaceUI that return Vector | |
Vector |
AbstractSurfaceUI.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this surface at the point represented by the specified Vector object. |
| Methods in threeD.raytracer.surfaceUI with parameters of type Vector | |
RGB |
AbstractSurfaceUI.getColorAt(Vector point)
Returns the color of this AbstractSurfaceUI at the specified point as an RGB object. |
Vector |
AbstractSurfaceUI.getNormalAt(Vector point)
Returns a Vector object that represents the vector normal to this surface at the point represented by the specified Vector object. |
| Uses of Vector in threeD.raytracer.textures |
| Methods in threeD.raytracer.textures with parameters of type Vector | |
RGB |
StripeTexture.getColorAt(Vector point)
|
RGB |
StripeTexture.getColorAt(Vector point,
java.lang.Object[] props)
|
RGB |
ImageTexture.getColorAt(Vector point)
|
RGB |
ImageTexture.getColorAt(Vector point,
java.lang.Object[] args)
|
| Uses of Vector in threeD.raytracer.util |
| Methods in threeD.raytracer.util that return Vector | |
Vector |
Vector.minus()
Returns the opposite of the vector represented by this Vector object. |
Vector |
Vector.add(Vector vector)
Returns the sum of the vector represented by this Vector object and that of the specified Vector object. |
Vector |
Vector.subtract(Vector vector)
Returns the difference of the vector represented by this Vector object and that of the specified Vector object. |
Vector |
Vector.multiply(double value)
Returns the product of the vector represented by this Vector object and the specified value. |
Vector |
Vector.divide(double value)
Returns the quotient of the division of the vector represented by this Vector object by the specified value. |
Vector |
Vector.crossProduct(Vector vector)
Returns the cross product of the vector represented by this Vector object and that of the specified Vector object. |
Vector |
TransformMatrix.transformAsLocation(Vector vector)
Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a location on 3d space. |
Vector |
TransformMatrix.transformAsOffset(Vector vector)
Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes an offset in 3d space. |
Vector |
TransformMatrix.transformAsNormal(Vector vector)
Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a surface normal in 3d space. |
| Methods in threeD.raytracer.util with parameters of type Vector | |
Vector |
Vector.add(Vector vector)
Returns the sum of the vector represented by this Vector object and that of the specified Vector object. |
void |
Vector.addTo(Vector vector)
Adds the vector represented by the specified Vector object to this Vector object. |
Vector |
Vector.subtract(Vector vector)
Returns the difference of the vector represented by this Vector object and that of the specified Vector object. |
void |
Vector.subtractFrom(Vector vector)
Subtracts the vector represented by the specified Vector object from this Vector object. |
double |
Vector.dotProduct(Vector vector)
Returns the dot product of the vector represented by this Vector object and that of the specified Vector object. |
Vector |
Vector.crossProduct(Vector vector)
Returns the cross product of the vector represented by this Vector object and that of the specified Vector object. |
void |
TransformMatrix.transform(Vector vector,
int type)
|
Vector |
TransformMatrix.transformAsLocation(Vector vector)
Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a location on 3d space. |
Vector |
TransformMatrix.transformAsOffset(Vector vector)
Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes an offset in 3d space. |
Vector |
TransformMatrix.transformAsNormal(Vector vector)
Computes and returns the result of the vector multiplication of the matrix represented by this TransformMatrix object and the vector represented by the specified Vector object assuming that the specified vector describes a surface normal in 3d space. |
| Uses of Vector in threeD.ui.dialogs |
| Fields in threeD.ui.dialogs declared as Vector | |
protected static Vector[][] |
EditCameraDialog.viewPresets
|
| Constructors in threeD.ui.dialogs with parameters of type Vector | |
EditVectorDialog(Vector vector,
DynamicDisplay display)
Constructs a new EditVectorDialog that can be used to edit the specified Vector object. |
|
| Uses of Vector in threeD.ui.panels |
| Methods in threeD.ui.panels that return Vector | |
Vector |
EditVectorPanel.getSelectedVector()
Returns the vector selected by this EditVectorPanel object as a Vector object. |
| Methods in threeD.ui.panels with parameters of type Vector | |
void |
EditVectorPanel.setSelectedVector(Vector value)
Updates the fields of this EditVectorPanel object to display the values for the vector represented by the specified Vector object. |
| Constructors in threeD.ui.panels with parameters of type Vector | |
EditVectorPanel(Vector value)
Constructs a new EditVectorPanel object with the initial values set to those of the specified Vector object. |
|
|
Rings Version 0.3 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||