Rings
Version 0.3

Uses of Class
threeD.raytracer.graphics.RGB

Packages that use RGB
threeD.io   
threeD.raytracer.engine   
threeD.raytracer.graphics   
threeD.raytracer.lighting   
threeD.raytracer.network   
threeD.raytracer.primitives   
threeD.raytracer.shaders   
threeD.raytracer.surfaceUI   
threeD.raytracer.textures   
threeD.ui.dialogs   
threeD.ui.displays   
threeD.ui.panels   
 

Uses of RGB in threeD.io
 

Methods in threeD.io with parameters of type RGB
static void FileEncoder.encodeImageFile(RGB[][] image, java.io.File file, int encoding)
          Encodes the image represented by the specified RGB array 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 RGB in threeD.raytracer.engine
 

Methods in threeD.raytracer.engine that return RGB
 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.
 RGB SurfaceGroup.shade(ShaderParameters p)
           
 RGB Surface.getColorAt(Vector point)
          Returns the color of this Surface object at the specified point as an RGB object.
 RGB Surface.shade(ShaderParameters parameters)
          Returns an RGB object representing the color of this surface at the specified point based on the specified parameters.
static RGB[][] RayTracingEngine.render(Scene scene, 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 Scene object and returns the image as an array of RGB objects.
static RGB[][] RayTracingEngine.render(Scene scene, int x, int y, int dx, int dy, int width, int height, int ssWidth, int ssHeight, ProgressMonitor monitor)
           
static RGB[][] RayTracingEngine.render(Scene scene, RenderParameters p, ProgressMonitor monitor)
          Renders the specified scene.
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.
 RGB AbstractSurface.shade(ShaderParameters p)
          Calculates a color value for this AbstractSurface using the sum of the values calculated by the Shader objects stored by this AbstractSurface and the parent of this AbstractSurface and returns this value as an RGB object.
 RGB AbstractSurface.getColor()
          Returns the color of this AbstractSurface as an RGB object.
 RGB AbstractSurface.getColorAt(Vector point)
          Returns the color of this AbstractSurface at the specified point as an RGB object.
 

Methods in threeD.raytracer.engine with parameters of type RGB
 void AbstractSurface.setColor(RGB color)
          Sets the color of this AbstractSurface to the color represented by the specified RGB object.
 

Constructors in threeD.raytracer.engine with parameters of type RGB
AbstractSurface(Vector location, double size, RGB color)
          Sets the location, size, and color of this AbstractSurface to those specified.
 

Uses of RGB in threeD.raytracer.graphics
 

Methods in threeD.raytracer.graphics that return RGB
 RGB RGB.add(RGB rgb)
          Returns the sum of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 RGB RGB.subtract(RGB rgb)
          Returns the difference of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 RGB RGB.multiply(double value)
          Returns the product of the RGB value represented by this RGB object and the specified double value as an RGB object.
 RGB RGB.multiply(RGB rgb)
          Returns the product of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 RGB RGB.divide(double value)
          Returns the quotient of the division of the RGB value represented by this RGB object as an RGB object.
 RGB RGB.divide(RGB rgb)
          Returns the quotient of the division of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 RGB RGB.evaluate(java.lang.Object[] args)
           
static RGB GraphicsConverter.convertToRGB(java.awt.Color color)
          Converts the specified AWT Color object to an RGB object.
static RGB[][] GraphicsConverter.convertToRGBArray(java.awt.Image image)
          Converts the specified AWT Image object to an array of RGB objects.
 RGB ColorProducer.evaluate(java.lang.Object[] args)
          Produces a color using the specified arguments.
 

Methods in threeD.raytracer.graphics with parameters of type RGB
 RGB RGB.add(RGB rgb)
          Returns the sum of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 void RGB.addTo(RGB rgb)
          Adds the specified RGB object to this RGB object.
 RGB RGB.subtract(RGB rgb)
          Returns the difference of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 void RGB.subtractFrom(RGB rgb)
          Subtracts the specified RGB object from this RGB object.
 RGB RGB.multiply(RGB rgb)
          Returns the product of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 void RGB.multiplyBy(RGB rgb)
          Multiplies this RGB object by the specified RGB object.
 RGB RGB.divide(RGB rgb)
          Returns the quotient of the division of the RGB value represented by this RGB object and that of the specified RGB object as an RGB object.
 void RGB.divideBy(RGB rgb)
          Divides this RGB object by the specified RGB object.
 boolean RGB.equals(RGB rgb)
          Returns true if the color represented by this RGB object is the same as the color represented by the specified RGB object, false otherwise.
static java.awt.Color GraphicsConverter.convertToAWTColor(RGB color)
          Converts the specified RGB object to an AWT Color object.
static java.awt.Image GraphicsConverter.convertToAWTImage(RGB[][] image)
          Converts the specified array of RGB objects to an AWT Image object.
 

Uses of RGB in threeD.raytracer.lighting
 

Methods in threeD.raytracer.lighting that return RGB
 RGB PointLight.getColor()
          Returns the color of this PointLight object as an RGB 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.getColor()
          Returns the color of this Light object 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.
 RGB AmbientLight.getColor()
          Returns the color of this AmbientLight object as an RGB object.
 RGB AmbientLight.getColorAt(Vector point)
          Returns the color of this AmbientLight object as an RGB object.
 

Methods in threeD.raytracer.lighting with parameters of type RGB
 void PointLightGrid.setColor(RGB color)
          Sets the color of the PointLight objects stored by this PointLightGrid object to the color represented by the specified RGB object.
 void PointLight.setColor(RGB color)
          Sets the color of this PointLight object to the color represented by the specified RGB object.
 void Light.setColor(RGB color)
          Sets the color of this Light object to the color represented by the specified RGB object.
 void AmbientLight.setColor(RGB color)
          Sets the color of this AmbientLight object to the color represented by the specified RGB object.
 

Constructors in threeD.raytracer.lighting with parameters of type RGB
PointLight(double intensity, RGB color)
          Constructs a PointLight object with the specified intensity and color at the origin.
PointLight(Vector location, double intensity, RGB color)
          Constructs a PointLight object with the specified location, intensity, and color.
DirectionalAmbientLight(double intensity, RGB color, Vector direction)
          Constructs a DirectionalAmbientLight object with the direction, intensity, and color represented by the specified values.
AmbientLight(double intensity, RGB color)
          Constructs an AmbientLight object with the specified intensity and color.
 

Uses of RGB in threeD.raytracer.network
 

Methods in threeD.raytracer.network that return RGB
static RGB[][] RayTracingJob.processOutput(java.lang.String data, RGB[][] image, int x, int y, int dx, int dy)
           
 RGB[][] RayTracingJob.RayTracingOutputHandler.getImage()
           
 

Methods in threeD.raytracer.network with parameters of type RGB
static RGB[][] RayTracingJob.processOutput(java.lang.String data, RGB[][] image, int x, int y, int dx, int dy)
           
 

Uses of RGB in threeD.raytracer.primitives
 

Constructors in threeD.raytracer.primitives with parameters of type RGB
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, RGB color)
          Constructs a Sphere object that represents a sphere with the specified center location, radius, and color.
Plane(int type, RGB color)
          Constructs a Plane object that represents an XY plane with the specified color.
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, RGB color)
          Constructs a Cone object that represents a cone with the specified base radius, location, and color.
 

Uses of RGB in threeD.raytracer.shaders
 

Methods in threeD.raytracer.shaders that return RGB
 RGB TextureShader.shade(ShaderParameters p)
           
 RGB TextureShader.evaluate(java.lang.Object[] args)
           
 RGB SilhouetteShader.shade(ShaderParameters p)
           
 RGB SilhouetteShader.evaluate(java.lang.Object[] args)
           
 RGB ShaderSet.shade(ShaderParameters p)
           
 RGB ShaderSet.evaluate(java.lang.Object[] args)
           
 RGB Shader.shade(ShaderParameters parameters)
          Returns an RGB object that represents the shaded color calculated using the values of the specified ShaderParameters object.
 RGB RefractionShader.shade(ShaderParameters p)
          Method specified by the Shader interface.
 RGB RefractionShader.shade(Vector point, Vector viewerDirection, Vector lightDirection, Light light, Light[] otherLights, Surface surface, Surface[] otherSurfaces, Vector n)
           
 RGB RefractionShader.evaluate(java.lang.Object[] args)
           
 RGB ReflectionShader.shade(ShaderParameters p)
          Method specified by the Shader interface.
 RGB ReflectionShader.evaluate(java.lang.Object[] args)
           
 RGB HighlightShader.shade(ShaderParameters p)
          Method specified by the Shader interface.
 RGB HighlightShader.evaluate(java.lang.Object[] args)
           
 RGB DiffuseShader.shade(ShaderParameters p)
          Method specified by the Shader interface.
 RGB DiffuseShader.evaluate(java.lang.Object[] args)
           
 RGB BlendingShader.shade(ShaderParameters p)
           
 RGB BlendingShader.evaluate(java.lang.Object[] args)
           
 

Uses of RGB in threeD.raytracer.surfaceUI
 

Methods in threeD.raytracer.surfaceUI that return RGB
 RGB AbstractSurfaceUI.getColorAt(Vector point)
          Returns the color of this AbstractSurfaceUI at the specified point as an RGB object.
 RGB AbstractSurfaceUI.shade(ShaderParameters parameters)
          Returns the value of shade() obtained from the AbstractSurface object stored by this AbstractSurfaceUI.
 

Uses of RGB in threeD.raytracer.textures
 

Methods in threeD.raytracer.textures that return RGB
 RGB StripeTexture.getColorAt(Vector point)
           
 RGB StripeTexture.getColorAt(Vector point, java.lang.Object[] props)
           
 RGB StripeTexture.evaluate(java.lang.Object[] args)
           
 RGB ImageTexture.getColorAt(double u, double v)
          Returns the an RGB object representing the color of this ImageTexture object at the specified u, v coordinates.
 RGB ImageTexture.getColorAt(double u, double v, double xScale, double yScale, double xOff, double yOff)
          Returns the an RGB object representing the color of this ImageTexture object at the specified u, v coordinates.
 RGB ImageTexture.getColorAt(Vector point)
           
 RGB ImageTexture.getColorAt(Vector point, java.lang.Object[] args)
           
 RGB ImageTexture.evaluate(java.lang.Object[] args)
           
 

Uses of RGB in threeD.ui.dialogs
 

Constructors in threeD.ui.dialogs with parameters of type RGB
EditRGBDialog(RGB color, DynamicDisplay display)
          Constructs a new EditRGBDialog that can be used to edit the specified RGB object.
 

Uses of RGB in threeD.ui.displays
 

Methods in threeD.ui.displays that return RGB
 RGB[][] ImageCanvas.getImageData()
           
 

Methods in threeD.ui.displays with parameters of type RGB
 void ImageCanvas.plot(double x, double y, RGB c)
          Plots a point on this ImageCanvas object.
 void ImageCanvas.setImageData(int i, int j, RGB rgb)
          Sets the color at a pixel in the image data stored by this ImageCanvas object.
 void ImageCanvas.setImageData(RGB[][] image)
          Sets the image data stored by this ImageCanvas object.
 

Uses of RGB in threeD.ui.panels
 

Methods in threeD.ui.panels that return RGB
 RGB[][] RenderPanel.getRenderedImageData()
          Return the image rendered by this RenderPanel as an array of RGB objects.
 RGB EditRGBPanel.getSelectedColor()
          Returns the color selected by this EditRGBPanel object as an RGB object.
 

Methods in threeD.ui.panels with parameters of type RGB
 void EditRGBPanel.setSelectedColor(RGB color)
          Updates the fields of this EditRGBPanel object to display the values for the color represented by the specified RGB object.
 

Constructors in threeD.ui.panels with parameters of type RGB
EditRGBPanel(RGB color)
          Constructs a new EditRGBPanel object with the initial values set to those of the specified RGB object.
 


Rings
Version 0.3

Copyright 2003-05 Mike Murray