Package one.empty3.library
Class ZBufferImpl8
java.lang.Object
one.empty3.library.Representable
one.empty3.library.ZBufferImpl
one.empty3.library.ZBufferImpl8
- All Implemented Interfaces:
Serializable,Comparable,TemporalComputedObject3D,MatrixPropertiesObject,XmlRepresentable,ZBuffer
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected ECBufferedImageprotected Point3Dprotected booleanstatic final intprotected booleanprotected ZBufferImpl8.ImageMapstatic Point3Dstatic doubleprotected Point3Dstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class one.empty3.library.ZBufferImpl
CURVES_MAX_DEEP, CURVES_MAX_SIZE, ha, INFINITY, INFINITY_DEEP, la, SURFACE_DISPLAY_POINTS_DEEP, SURFACE_DISPLAY_POINTS_LARGE, SURFAS_MAX_DEEP, SURFAS_MAX_SIZEFields inherited from class one.empty3.library.Representable
CFAST, classPainters, DEFAULT_TEXTURE, defaultHashMapData, materiau, NFAST, parent, PATH_ELEM_DOUBLE_VALUES, PATH_ELEM_REPRESENTABLE, PATH_ELEM_STRUCTURE_MATRIX, render, rotation, SCALE1, scene, T, texture -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanadd(Double px, Double py, Double pz, Double tx, Double ty, Double tz, Double nx, Double ny, Double nz, Double u, Double v, Double w, Representable r) voidapplyTex()voidbackgroundTexture(ITexture texture) camera()voidclickAt(double x, double y) clickAt(int x, int y) voidcouleurDeFond(ITexture couleurFond) voidvoiddraw()voiddoubleTextures and lightsintgetColorAt(Point p) int[]getData()intgetInstance(int x, int y) inthauteur()protected longidImg()image()image2()booleanisLocked()voidisobox(boolean isBox) intlargeur()voidvoidline(Point3D p1, Point3D p2, ITexture texture, double u, double v, double u1, double v1, ParametricSurface surface) voidline(Point3D p1, Point3D p2, ITexture t, double u, double u1, ParametricCurve curve) booleanlock()double[][]map()doublemaxDistance(Point p1, Point p2, Point p3, Point p4) voidvoidvoidvoidpredraw()Draw buffer with data Iterate on objectsvoidrendu()representableAt(int x, int y) intresX()intresY()scene()voidvoidsetAngles(double angleXRad, double angleYRad) voidsetColoration(boolean a) Deprecated.voidsetDimension(int width, int height) voidsetDisplayType(int displayType) voidvoidvoidvoidvoidvoidtracerQuad(Point3D pp1, Point3D pp2, Point3D pp3, Point3D pp4, ITexture texture, double u0, double u1, double v0, double v1, ParametricSurface n) voidtracerTriangle(Point3D pp1, Point3D pp2, Point3D pp3, ITexture c) voidtracerTriangle(Point3D pp1, Point3D pp2, Point3D pp3, ITexture t, double u0, double u1, double v0, double v1) booleanunlock()voidzoom(float z) Methods inherited from class one.empty3.library.ZBufferImpl
checkScreen, copyResourceFiles, draw, drawElementVolume, ha, idz, idzpp, imageInvX, invert, isFORCE_POSITIVE_NORMALS, itereMaxDist, itereMaxDist, la, mathUtilPow2, next, rotate, setFORCE_POSITIVE_NORMALS, testDeepMethods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, copy, declarations, declareProperties, draw, drawStructureDrawFast, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayTypes, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, id, id, informer, intersects, intersects, ISdrawStructureDrawFastIMPLEMENTED, paint, replace, setCFAST, setPainter, setPaintingAct, setPaintingActForClass, setPosition, setProperty, setRotation, setTexture, supporteTexture, T, texture, texture, toString, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
Field Details
-
DISPLAY_ALL
public static final int DISPLAY_ALL- See Also:
-
SURFACE_DISPLAY_TEXT_QUADS
public static final int SURFACE_DISPLAY_TEXT_QUADS- See Also:
-
SURFACE_DISPLAY_COL_QUADS
public static final int SURFACE_DISPLAY_COL_QUADS- See Also:
-
SURFACE_DISPLAY_COL_TRI
public static final int SURFACE_DISPLAY_COL_TRI- See Also:
-
SURFACE_DISPLAY_LINES
public static final int SURFACE_DISPLAY_LINES- See Also:
-
SURFACE_DISPLAY_POINTS
public static final int SURFACE_DISPLAY_POINTS- See Also:
-
INFINI_PROF
public static double INFINI_PROF -
planproj
-
camera
-
colorationActive
protected boolean colorationActive -
experimental
protected boolean experimental -
angleX
protected double angleX -
angleY
protected double angleY -
bi
-
ime
-
INFINI
-
box
-
-
Constructor Details
-
ZBufferImpl8
public ZBufferImpl8() -
ZBufferImpl8
public ZBufferImpl8(int l, int h) -
ZBufferImpl8
-
-
Method Details
-
idImg
protected long idImg()- Overrides:
idImgin classZBufferImpl
-
activeLight
-
activeLight
-
camera
- Specified by:
camerain interfaceZBuffer- Overrides:
camerain classZBufferImpl
-
camera
- Overrides:
camerain classZBufferImpl
-
predraw
public void predraw()Draw buffer with data Iterate on objects -
finishDraw
Textures and lights- Returns:
- image null
-
draw
public void draw()- Specified by:
drawin interfaceZBuffer- Overrides:
drawin classZBufferImpl
-
draw
- Specified by:
drawin interfaceZBuffer- Overrides:
drawin classZBufferImpl
-
echelleEcran
public double echelleEcran()- Overrides:
echelleEcranin classZBufferImpl
-
getColorAt
- Specified by:
getColorAtin interfaceZBuffer- Overrides:
getColorAtin classZBufferImpl
-
getData
public int[] getData()- Overrides:
getDatain classZBufferImpl
-
getInstance
- Specified by:
getInstancein interfaceZBuffer- Overrides:
getInstancein classZBufferImpl
-
hauteur
public int hauteur()- Specified by:
hauteurin interfaceZBuffer- Overrides:
hauteurin classZBufferImpl
-
setDimension
public void setDimension(int width, int height) - Specified by:
setDimensionin interfaceZBuffer- Overrides:
setDimensionin classZBufferImpl
-
image
- Specified by:
imagein interfaceZBuffer- Overrides:
imagein classZBufferImpl
-
image2
- Overrides:
image2in classZBufferImpl
-
isLocked
public boolean isLocked()- Specified by:
isLockedin interfaceZBuffer- Overrides:
isLockedin classZBufferImpl
-
isobox
public void isobox(boolean isBox) - Specified by:
isoboxin interfaceZBuffer- Overrides:
isoboxin classZBufferImpl
-
largeur
public int largeur()- Specified by:
largeurin interfaceZBuffer- Overrides:
largeurin classZBufferImpl
-
line
- Specified by:
linein interfaceZBuffer- Overrides:
linein classZBufferImpl
-
line
- Overrides:
linein classZBufferImpl
-
line
public void line(Point3D p1, Point3D p2, ITexture texture, double u, double v, double u1, double v1, ParametricSurface surface) - Overrides:
linein classZBufferImpl
-
lock
public boolean lock()- Specified by:
lockin interfaceZBuffer- Overrides:
lockin classZBufferImpl
-
lumiereActive
- Overrides:
lumiereActivein classZBufferImpl
-
map
public double[][] map()- Overrides:
mapin classZBufferImpl
-
maxDistance
- Specified by:
maxDistancein interfaceZBuffer- Overrides:
maxDistancein classZBufferImpl
-
plotPoint
- Overrides:
plotPointin classZBufferImpl
-
plotPoint
- Overrides:
plotPointin classZBufferImpl
-
plotPoint
- Specified by:
plotPointin interfaceZBuffer- Overrides:
plotPointin classZBufferImpl
-
rendu
- Overrides:
renduin classZBufferImpl
-
resX
public int resX()- Specified by:
resXin interfaceZBuffer- Overrides:
resXin classZBufferImpl
-
resY
public int resY()- Specified by:
resYin interfaceZBuffer- Overrides:
resYin classZBufferImpl
-
scene
- Specified by:
scenein interfaceZBuffer- Overrides:
scenein classZBufferImpl
-
scene
- Specified by:
scenein interfaceZBuffer- Overrides:
scenein classZBufferImpl
-
setAngles
public void setAngles(double angleXRad, double angleYRad) - Overrides:
setAnglesin classZBufferImpl
-
setColoration
Deprecated.- Overrides:
setColorationin classZBufferImpl
-
testDeep
- Specified by:
testDeepin interfaceZBuffer- Overrides:
testDeepin classZBufferImpl
-
testDeep
- Specified by:
testDeepin interfaceZBuffer- Overrides:
testDeepin classZBufferImpl
-
testDeep
- Specified by:
testDeepin interfaceZBuffer- Overrides:
testDeepin classZBufferImpl
-
testPoint
- Overrides:
testPointin classZBufferImpl
-
add
-
tracerLumineux
public void tracerLumineux()- Specified by:
tracerLumineuxin interfaceZBuffer- Overrides:
tracerLumineuxin classZBufferImpl
-
tracerTriangle
public void tracerTriangle(Point3D pp1, Point3D pp2, Point3D pp3, ITexture t, double u0, double u1, double v0, double v1) - Overrides:
tracerTrianglein classZBufferImpl
-
tracerQuad
public void tracerQuad(Point3D pp1, Point3D pp2, Point3D pp3, Point3D pp4, ITexture texture, double u0, double u1, double v0, double v1, ParametricSurface n) - Overrides:
tracerQuadin classZBufferImpl
-
tracerTriangle
- Overrides:
tracerTrianglein classZBufferImpl
-
unlock
public boolean unlock()- Specified by:
unlockin interfaceZBuffer- Overrides:
unlockin classZBufferImpl
-
zoom
public void zoom(float z) - Specified by:
zoomin interfaceZBuffer- Overrides:
zoomin classZBufferImpl
-
backgroundTexture
- Specified by:
backgroundTexturein interfaceZBuffer- Overrides:
backgroundTexturein classZBufferImpl
-
couleurDeFond
- Specified by:
couleurDeFondin interfaceZBuffer- Overrides:
couleurDeFondin classZBufferImpl
-
backgroundTexture
- Specified by:
backgroundTexturein interfaceZBuffer- Overrides:
backgroundTexturein classZBufferImpl
-
applyTex
public void applyTex()- Overrides:
applyTexin classZBufferImpl
-
preprocessor
public void preprocessor() -
dessine
- Overrides:
dessinein classZBufferImpl
-
clickAt
- Specified by:
clickAtin interfaceZBuffer- Overrides:
clickAtin classZBufferImpl
-
clickAt
- Overrides:
clickAtin classZBufferImpl
-
representableAt
- Overrides:
representableAtin classZBufferImpl
-
invert
-
getDisplayType
public int getDisplayType()- Specified by:
getDisplayTypein interfaceZBuffer- Overrides:
getDisplayTypein classZBufferImpl
-
setDisplayType
public void setDisplayType(int displayType) - Overrides:
setDisplayTypein classZBufferImpl
-