|
Rings Version 0.3 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Surface | |
| threeD.io | |
| threeD.raytracer.engine | |
| threeD.raytracer.lighting | |
| threeD.raytracer.primitives | |
| threeD.raytracer.shaders | |
| threeD.raytracer.surfaceUI | |
| threeD.ui.event | |
| threeD.ui.panels | |
| Uses of Surface in threeD.io |
| Methods in threeD.io that return Surface | |
static Surface |
FileDecoder.decodeSurfaceFile(java.io.File file,
int encoding,
boolean ui,
java.beans.ExceptionListener listener)
Decodes the surface data stored in the file represented by the specified File object using the encoding specified by the integer encoding code and returns the new Surface object. |
| Methods in threeD.io with parameters of type Surface | |
static void |
FileEncoder.encodeSurfaceFile(Surface surface,
java.io.File file,
int encoding)
Encodes the specified Surface object using the encoding specified by the integer encoding code and saves the encoded data in the file represented by the specified File object. |
| Uses of Surface in threeD.raytracer.engine |
| Classes in threeD.raytracer.engine that implement Surface | |
class |
AbstractSurface
AbstractSurface is an abstract implementation of Surface that takes care of all of the standard methods of Surface that are shared by all Surface implementations in the same way. |
class |
SurfaceGroup
A SurfaceGroup object allows Surface objects to be grouped together. |
| Methods in threeD.raytracer.engine that return Surface | |
Surface |
SurfaceWrapper.getSurface()
|
Surface[] |
SurfaceGroup.getSurfaces()
Returns the Surface objects stored by this SurfaceGroup object as a Surface array. |
Surface |
SurfaceGroup.getSurface(int index)
Returns the Surface object stored by this SurfaceGroup object at the specified index. |
Surface[] |
Scene.getSurfaces()
Returns the Surface objects stored by this Scene object as a Surface array. |
Surface |
Scene.getSurface(int index)
Returns the Surface object stored by this Scene object at the specified index. |
static Surface[] |
RayTracingEngine.separateSurfaces(int index,
Surface[] allSurfaces)
Removes the Surface object at the specified index from the specified Surface object array and returns the new array. |
static Surface[] |
RayTracingEngine.separateSurfaces(Surface surface,
Surface[] allSurfaces)
Removes the specified Surface object from the specified Surface object array and returns the new array. |
Surface |
Intersection.getSurface()
Returns the Surface object stored by this Intersection object. |
| Methods in threeD.raytracer.engine with parameters of type Surface | |
void |
SurfaceGroup.setSurfaces(Surface[] surfaces)
Replaces all of the Surface objects of this SurfaceGroup object with those represented by the specified Surface array. |
void |
SurfaceGroup.addSurface(Surface surface)
Adds the specified Surface object to this SurfaceGroup object and sets its parent to this SurfaceGroup object (if it is an instance of AbstractSurface). |
void |
Scene.setSurfaces(Surface[] surfaces)
Replaces all of the Surface objects of this Scene object with those represented by the specified Surface array. |
void |
Scene.addSurface(Surface surface)
Adds the specified Surface object to this Scene object. |
static RGB[][] |
RayTracingEngine.render(Surface[] surfaces,
Camera camera,
Light[] lights,
int x,
int y,
int dx,
int dy,
int width,
int height,
int ssWidth,
int ssHeight,
ProgressMonitor monitor)
Computes all intersection and lighting calculations required to produce an image of the specified width and height that is a rendering of the specified set of Surface objects using the data from the specified Camera and Light object. |
static RGB |
RayTracingEngine.lightingCalculation(Ray ray,
Surface[] surfaces,
Light[] lights)
Performs intersection and lighting calculations for the specified Ray, Surfaces, and Lights. |
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 Intersection |
RayTracingEngine.closestIntersection(Ray ray,
Surface[] surfaces)
Returns an Intersection object that represents the closest intersection (>= RayTracingEngine.e) between a surface in the specified array of Surface objects and the ray represented by the specified Ray object. |
static Surface[] |
RayTracingEngine.separateSurfaces(int index,
Surface[] allSurfaces)
Removes the Surface object at the specified index from the specified Surface object array and returns the new array. |
static Surface[] |
RayTracingEngine.separateSurfaces(Surface surface,
Surface[] allSurfaces)
Removes the specified Surface object from the specified Surface object array and returns the new array. |
| Constructors in threeD.raytracer.engine with parameters of type Surface | |
SurfaceGroup(Surface[] surfaces)
Constructs a SurfaceGroup object using the Surface objects in the specified array. |
|
Scene(Surface[] surfaces)
Constructs a Scene object with a default Camera object, no Light objects, and the surfaces represented by the specified Surface array. |
|
Scene(Camera camera,
Light[] lights,
Surface[] surfaces)
Constructs a Scene object with the specified Camera object, Light array, and Surface array. |
|
Intersection(Ray ray,
Surface surface,
double[] intersections)
Constructs a new Intersection object that represents an intersection between the specified Ray and Surface objects at the specified points along the ray represented by the Ray object. |
|
| Uses of Surface in threeD.raytracer.lighting |
| Classes in threeD.raytracer.lighting that implement Surface | |
class |
PointLightGrid
A PointLightGrid object stores a grid of PointLight objects. |
class |
RectangularLight
A RectangularLight object provides PointLight samples that are randomly distributed across the a plane surface. |
class |
SphericalLight
A SphericalLight object provides PointLight samples that are randomly distributed across the surface of a sphere. |
| Uses of Surface in threeD.raytracer.primitives |
| Classes in threeD.raytracer.primitives that implement Surface | |
class |
Cone
A Cone object represents a cone in 3d space. |
class |
CSG
A CSG object represents an object produced using a boolean combination of two surfaces. |
class |
Cylinder
A Cylinder object represents a cylinder in 3d space. |
class |
Mesh
A Mesh object stores a set of points (Vector objects) and allows triangles to be specified using those points. |
class |
Plane
A Plane object represents an plane in 3d space. |
class |
Polynomial
A Polynomial object represents a 3d polynomial surface. |
class |
Sphere
A Sphere object represents a primitive sphere in 3d space. |
class |
Triangle
A Triangle object represents a triangle in 3d space. |
| Methods in threeD.raytracer.primitives that return Surface | |
Surface[] |
Mesh.getSurfaces()
|
Surface |
Mesh.getSurface(int index)
|
| Methods in threeD.raytracer.primitives with parameters of type Surface | |
void |
Mesh.setSurfaces(Surface[] surfaces)
Does nothing. |
void |
Mesh.addSurface(Surface s)
Adds the specified Surface object to the list of triangles stored by this Mesh object. |
| Uses of Surface in threeD.raytracer.shaders |
| Methods in threeD.raytracer.shaders that return Surface | |
Surface |
ShaderParameters.getSurface()
|
Surface[] |
ShaderParameters.getOtherSurfaces()
|
| Methods in threeD.raytracer.shaders with parameters of type Surface | |
void |
ShaderParameters.setSurface(Surface surface)
|
RGB |
RefractionShader.shade(Vector point,
Vector viewerDirection,
Vector lightDirection,
Light light,
Light[] otherLights,
Surface surface,
Surface[] otherSurfaces,
Vector n)
|
| Constructors in threeD.raytracer.shaders with parameters of type Surface | |
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 Surface in threeD.raytracer.surfaceUI |
| Subinterfaces of Surface in threeD.raytracer.surfaceUI | |
interface |
SurfaceUI
The SurfaceUI interface is implemented by classes that represent a Surface object that can be used in an application with a user interface. |
| Classes in threeD.raytracer.surfaceUI that implement Surface | |
class |
AbstractSurfaceUI
AbstractSurfaceUI is an abstract implementation of the SurfaceUI interface that takes care of all of the standard methods of SurfaceUI that all SurfaceUI implementations use in the same way. |
static class |
SurfaceUIFactory.SurfaceUIImpl
|
| Methods in threeD.raytracer.surfaceUI that return Surface | |
Surface |
AbstractSurfaceUI.getSurface()
Returns the underlying AbstractSurface object stored by this AbstractSurfaceUI. |
| Uses of Surface in threeD.ui.event |
| Methods in threeD.ui.event that return Surface | |
Surface |
SurfaceRemoveEvent.getTarget()
Returns the target of this SurfaceRemoveEvent object. |
Surface |
SurfaceEvent.getTarget()
Returns the target of this SurfaceEvent object. |
Surface |
SurfaceEditEvent.getTarget()
Returns the target of this SurfaceEditEvent. |
Surface |
SurfaceAddEvent.getTarget()
Returns the target of this SurfaceAddEvent object. |
| Constructors in threeD.ui.event with parameters of type Surface | |
SurfaceRemoveEvent(Surface target)
Constructs a new SurfaceRemoveEvent object using the specified target. |
|
SurfaceEditEvent(int code,
Surface target)
Constructs a new SurfaceEditEvent object with the specified integer code. |
|
SurfaceAddEvent(Surface target)
Constructs a new SurfaceAddEvent object with the specified target. |
|
| Uses of Surface in threeD.ui.panels |
| Methods in threeD.ui.panels that return Surface | |
Surface |
SurfaceInfoPanel.getSelectedSurface()
Returns the currently selected Surface object. |
|
Rings Version 0.3 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||