TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.internal
Interface IXYSurfaceColorizer


Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public interface IXYSurfaceColorizer

Used by XY Surface graphic type render to set a color for each face of surface.

See Also:
IXYSurface, DGraphic

Method Summary
 int getRGBA(double x, double y, double z, double cos_angle)
          Deprecated. Return a color for given face of XY Surface.
 boolean isApplyShadow()
          Deprecated.  
 

Method Detail

getRGBA

int getRGBA(double x,
            double y,
            double z,
            double cos_angle)
Deprecated. 
Return a color for given face of XY Surface.

Parameters:
x - 0..1 (including) center of face along X axis.
y - 0..1 (including) center of face along Y axis.
z - 0..1 (including) center of face along Z axis.
cos_angle - cosinus of angle between face normal and 3D point of view.
Returns:
RGBA color for the given face.
See Also:
class

isApplyShadow

boolean isApplyShadow()
Deprecated. 
Returns:
true if graphic render must apply shadowing to color returned by getRGBA method, false to use getRGBA color "as is".

TPTP 4.5.0 Platform Project
Internal API Specification