Uses of Class
cz.cuni.jagrlib.MicroFacet

Packages that use MicroFacet
cz.cuni.jagrlib Core JaGrLib package. 
cz.cuni.jagrlib.iface Various interfaces for connecting of JaGrLib modules. 
cz.cuni.jagrlib.piece Public modules (building blocks of JaGrLib compositions). 
cz.cuni.jagrlib.testing Temporary JaGrLib modules. 
 

Uses of MicroFacet in cz.cuni.jagrlib
 

Methods in cz.cuni.jagrlib that return types with arguments of type MicroFacet
static java.util.List<MicroFacet> MicroFacet.booleanOp(java.util.List<MicroFacet> a, java.util.List<MicroFacet> b, int op)
          Merge two lists of MicroFacets using the given set operation.
 java.util.List<MicroFacet> CSGLeaf.intersection(double[] P0, double[] P1)
          Computes all intersections of the given ray with the solid.
 java.util.List<MicroFacet> CSGNode.intersection(double[] P0, double[] P1)
          Computes all intersections of the given ray with sub-scene surface.
 java.util.List<MicroFacet> DefaultSceneNode.intersection(double[] P0, double[] P1)
          Computes all intersections of the given ray with the sub-scene.
 java.util.List<MicroFacet> SceneNode.intersection(double[] P0, double[] P1)
          Computes all intersections of the given ray with this sub-scene.
protected  java.util.List<MicroFacet> CSGNode.intersection(double[] P0, double[] P1, int i)
          Computes all intersections of the given ray with one child scene.
 

Methods in cz.cuni.jagrlib with parameters of type MicroFacet
 int CSGCommonNode.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int DefaultSceneNode.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int DefaultSolid.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int IntersectionAttributes.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int MicroFacet.compareTo(MicroFacet mf)
          Natural ordering: ascending [ t ].
 boolean DefaultLightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean DefaultLightSource.getDirection(MicroFacet mf, int order, int total, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean DefaultLightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean DefaultLightSource.getIntensity(MicroFacet mf, int order, int total, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean DefaultLightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 boolean DefaultLightSource.lights(MicroFacet mf, int order, int total)
          Lighting test from the source to the given MicroFacet.
 boolean DefaultLightSource.sample(MicroFacet mf, double u, double v, double[] color, double[] dir, double[] pdf, boolean testVisibility)
          Sample the light by one shadow ray.
 

Method parameters in cz.cuni.jagrlib with type arguments of type MicroFacet
static java.util.List<MicroFacet> MicroFacet.booleanOp(java.util.List<MicroFacet> a, java.util.List<MicroFacet> b, int op)
          Merge two lists of MicroFacets using the given set operation.
static java.util.List<MicroFacet> MicroFacet.booleanOp(java.util.List<MicroFacet> a, java.util.List<MicroFacet> b, int op)
          Merge two lists of MicroFacets using the given set operation.
 

Uses of MicroFacet in cz.cuni.jagrlib.iface
 

Methods in cz.cuni.jagrlib.iface that return MicroFacet
 MicroFacet Intersectable.intersection(double[] P0, double[] P1)
          Computes the nearest intersection of the given ray with scene surface.
 

Methods in cz.cuni.jagrlib.iface that return types with arguments of type MicroFacet
 java.util.List<MicroFacet> Solid.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 

Methods in cz.cuni.jagrlib.iface with parameters of type MicroFacet
 double[] BSSRDF.colorBSSRDF(boolean worldCoords, MicroFacet mf, double[] in, double[] out, int mask, double[] result)
          Returns the requested BSSRDF sample (BSSRDF is treated as band-color).
 long Texture.compute(MicroFacet mf)
          Computes the texture value in the given point (given by a MicroFacet record).
 boolean LightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean LightSource.getDirection(MicroFacet mf, int order, int total, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean LightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean LightSource.getIntensity(MicroFacet mf, int order, int total, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 LightSource[] RTScene.getLightsToMicroFacet(MicroFacet mf, int order, int total)
          Retrieves light sources which light up the given micro-facet.
 boolean LightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 boolean LightSource.lights(MicroFacet mf, int order, int total)
          Lighting test from the source to the given MicroFacet.
 double BSSRDF.monoBSSRDF(boolean worldCoords, MicroFacet mf, double[] in, double[] out, int mask)
          Returns the requested BSSRDF sample (BSSRDF is treated as monochrome).
 double BSSRDF.pdf(boolean worldCoords, MicroFacet mf, double[] in, double[] out)
          Returns the probability density function.
 double MicrofacetDistribution.sample(MicroFacet mf, double[] in, double u, double v, double[] out, double[] brdf)
          Sample the given microfacet distribution.
 boolean LightSource.sample(MicroFacet mf, double u, double v, double[] color, double[] dir, double[] pdf, boolean testVisibility)
          Sample the light by one shadow ray.
 double BSSRDF.scatter(MicroFacet mf, double[] in, double u, double v, int mask, double[] out, double[] brdf)
          Scatter ray according to the light model.
 

Uses of MicroFacet in cz.cuni.jagrlib.piece
 

Methods in cz.cuni.jagrlib.piece that return MicroFacet
 MicroFacet StaticCSGScene.intersection(double[] P0, double[] P1)
          Computes the nearest intersection of the given ray with scene surface.
 

Methods in cz.cuni.jagrlib.piece that return types with arguments of type MicroFacet
 java.util.List<MicroFacet> Cone.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 java.util.List<MicroFacet> Cube.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 java.util.List<MicroFacet> Cylinder.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 java.util.List<MicroFacet> Plane.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 java.util.List<MicroFacet> Sphere.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 

Methods in cz.cuni.jagrlib.piece with parameters of type MicroFacet
 int Cone.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int Cube.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int Cylinder.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int Plane.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int Sphere.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 double[] PhongModel.colorBSSRDF(boolean worldCoords, MicroFacet mf, double[] in, double[] out, int mask, double[] result)
          Returns the requested BRDF sample (BRDF is treated as band-color).
 boolean AmbientLightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean StaticPointLightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean AmbientLightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean StaticPointLightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 LightSource[] StaticCSGScene.getLightsToMicroFacet(MicroFacet mf, int order, int total)
          Retrieves light sources which light up the given micro-facet.
 boolean AmbientLightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 boolean StaticPointLightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 double[] PhongModel.lightSum(MicroFacet mf, int order, int total, LightSource[] lights, double[] out, double[] result)
          Accumulates light contributions from set of light sources through the given MicroFacet (point on surface of some solid) to the viewing direction.
 double PhongModel.monoBSSRDF(boolean worldCoords, MicroFacet mf, double[] in, double[] out, int mask)
          Returns the requested BRDF sample (BRDF is treated as monochrome).
 double PhongModel.pdf(boolean worldCoords, MicroFacet mf, double[] in, double[] out)
          Return the probability density function.
 boolean StaticPointLightSource.sample(MicroFacet mf, double u, double v, double[] color, double[] dir, double[] pdf, boolean testVisibility)
          Sample the light by one shadow ray.
 double PhongModel.scatter(MicroFacet mf, double[] in, double u, double v, int mask, double[] out, double[] brdf)
          Scatter ray according to the light model.
 

Uses of MicroFacet in cz.cuni.jagrlib.testing
 

Methods in cz.cuni.jagrlib.testing that return types with arguments of type MicroFacet
 java.util.List<MicroFacet> BrepSolid.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 java.util.List<MicroFacet> Revolution.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 java.util.List<MicroFacet> SolidSpecimen.intersection(double[] P0, double[] P1)
          Computes intersection of the solid with the given ray.
 

Methods in cz.cuni.jagrlib.testing with parameters of type MicroFacet
 int BrepSolid.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int Revolution.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 int SolidSpecimen.assertAttributes(MicroFacet mf, java.lang.Object tmp, int attributes)
          Asserts validity of the given intersection-attributes.
 double[] LambertianModel.colorBSSRDF(boolean worldCoords, MicroFacet mf, double[] in, double[] out, int mask, double[] result)
          Returns the requested BSSRDF sample (BSSRDF is treated as band-color).
 long CheckerTexture.compute(MicroFacet mf)
          Computes the texture value in the given point (given by a MicroFacet record).
 long SpotTexture.compute(MicroFacet mf)
          Computes the texture value in the given point (given by a MicroFacet record).
protected  void DefaultRenderer.directIllumination(MicroFacet mf, double[] out, double[] color)
          Compute accure direct illumination.
 boolean DirectionalLightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean StaticAreaLightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean StaticSphericalLightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean StaticSpotLightSource.getDirection(MicroFacet mf, double[] dir)
          Returns light direction between the source and the given MicroFacet.
 boolean DirectionalLightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean StaticAreaLightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean StaticSphericalLightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean StaticSpotLightSource.getIntensity(MicroFacet mf, double[] color)
          Returns light intensity coming from the source to the given MicroFacet.
 boolean DirectionalLightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 boolean StaticAreaLightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 boolean StaticSphericalLightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 boolean StaticSpotLightSource.lights(MicroFacet mf)
          Lighting test from the source to the given MicroFacet.
 double LambertianModel.monoBSSRDF(boolean worldCoords, MicroFacet mf, double[] in, double[] out, int mask)
          Returns the requested BSSRDF sample (BSSRDF is treated as monochrome).
 double CookTorranceModel.pdf(boolean worldCoords, MicroFacet mf, double[] in, double[] out)
          Returns the probability density function.
 double LambertianModel.pdf(boolean worldCoords, MicroFacet mf, double[] in, double[] out)
          Returns the probability density function.
 double SpecularReflection.pdf(boolean worldCoords, MicroFacet mf, double[] in, double[] out)
          Returns the probability density function.
 double SpecularTransmission.pdf(boolean worldCoords, MicroFacet mf, double[] in, double[] out)
          Returns the probability density function.
 double AnisotropicMicrofacet.sample(MicroFacet mf, double[] in, double u, double v, double[] out, double[] brdf)
          Sample the given microfacet distribution.
 double BlinnMicrofacet.sample(MicroFacet mf, double[] in, double u, double v, double[] out, double[] brdf)
          Sample the given microfacet distribution.
 boolean DirectionalLightSource.sample(MicroFacet mf, double u, double v, double[] color, double[] dir, double[] pdf, boolean testVisibility)
          Sample the light by one shadow ray.
 boolean StaticAreaLightSource.sample(MicroFacet mf, double u, double v, double[] color, double[] dir, double[] pdf, boolean testVisibility)
          Sample the light by one shadow ray.
 boolean StaticSpotLightSource.sample(MicroFacet mf, double u, double v, double[] color, double[] dir, double[] pdf, boolean testVisibility)
          Sample the light by one shadow ray.
protected  void DefaultRenderer.sampleBSDF(MicroFacet mf, LightSource light, double u, double v, double[] out, double[] Ld)
          Sample BSDF with multiple importance sampling.
protected  void DefaultRenderer.sampleLightSource(MicroFacet mf, LightSource light, double u, double v, double[] out, double[] Ld)
          Sample light source with multiple importance sampling.
 double CookTorranceModel.scatter(MicroFacet mf, double[] in, double u, double v, int mask, double[] out, double[] brdf)
          Scatter ray according to the light model.
 double LambertianModel.scatter(MicroFacet mf, double[] in, double u, double v, int mask, double[] out, double[] brdf)
          Scatter ray according to the light model.
 double SpecularReflection.scatter(MicroFacet mf, double[] in, double u, double v, int mask, double[] out, double[] brdf)
          Scatter ray according to the light model.
 double SpecularTransmission.scatter(MicroFacet mf, double[] in, double u, double v, int mask, double[] out, double[] brdf)
          Scatter ray according to the light model.
protected  void DefaultRenderer.specular(int level, MicroFacet mf, double[] out, double[] L)
          Handle specular reflection which is specific so it's not handled sample BSDF like the other types of reflection (diffuse and glossy).