public abstract class com.sun.javafx.sg.prism.NGShape3D extends com.sun.javafx.sg.prism.NGNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.javafx.sg.prism.NGShape3D
super_class: com.sun.javafx.sg.prism.NGNode
{
private com.sun.javafx.sg.prism.NGPhongMaterial material;
descriptor: Lcom/sun/javafx/sg/prism/NGPhongMaterial;
flags: (0x0002) ACC_PRIVATE
private javafx.scene.shape.DrawMode drawMode;
descriptor: Ljavafx/scene/shape/DrawMode;
flags: (0x0002) ACC_PRIVATE
private javafx.scene.shape.CullFace cullFace;
descriptor: Ljavafx/scene/shape/CullFace;
flags: (0x0002) ACC_PRIVATE
private boolean materialDirty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean drawModeDirty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
com.sun.javafx.sg.prism.NGTriangleMesh mesh;
descriptor: Lcom/sun/javafx/sg/prism/NGTriangleMesh;
flags: (0x0000)
private com.sun.prism.MeshView meshView;
descriptor: Lcom/sun/prism/MeshView;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.javafx.sg.prism.NGNode.<init>:()V
1: aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGShape3D.materialDirty:Z
2: aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGShape3D.drawModeDirty:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
public void setMaterial(com.sun.javafx.sg.prism.NGPhongMaterial);
descriptor: (Lcom/sun/javafx/sg/prism/NGPhongMaterial;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.javafx.sg.prism.NGShape3D.material:Lcom/sun/javafx/sg/prism/NGPhongMaterial;
1: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGShape3D.materialDirty:Z
2: aload 0
invokevirtual com.sun.javafx.sg.prism.NGShape3D.visualsChanged:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
0 4 1 material Lcom/sun/javafx/sg/prism/NGPhongMaterial;
MethodParameters:
Name Flags
material
public void setDrawMode(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast javafx.scene.shape.DrawMode
putfield com.sun.javafx.sg.prism.NGShape3D.drawMode:Ljavafx/scene/shape/DrawMode;
1: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGShape3D.drawModeDirty:Z
2: aload 0
invokevirtual com.sun.javafx.sg.prism.NGShape3D.visualsChanged:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
0 4 1 drawMode Ljava/lang/Object;
MethodParameters:
Name Flags
drawMode
public void setCullFace(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast javafx.scene.shape.CullFace
putfield com.sun.javafx.sg.prism.NGShape3D.cullFace:Ljavafx/scene/shape/CullFace;
1: aload 0
invokevirtual com.sun.javafx.sg.prism.NGShape3D.visualsChanged:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
0 3 1 cullFace Ljava/lang/Object;
MethodParameters:
Name Flags
cullFace
void invalidate();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
1: aload 0
invokevirtual com.sun.javafx.sg.prism.NGShape3D.visualsChanged:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
private void renderMeshView(com.sun.prism.Graphics);
descriptor: (Lcom/sun/prism/Graphics;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=16, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.prism.Graphics.setup3DRendering:()V
1: aload 1
invokeinterface com.sun.prism.Graphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
astore 2
start local 2 2: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
ifnonnull 5
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.mesh:Lcom/sun/javafx/sg/prism/NGTriangleMesh;
ifnull 5
3: aload 0
aload 2
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.mesh:Lcom/sun/javafx/sg/prism/NGTriangleMesh;
aload 2
invokevirtual com.sun.javafx.sg.prism.NGTriangleMesh.createMesh:(Lcom/sun/prism/ResourceFactory;)Lcom/sun/prism/Mesh;
invokeinterface com.sun.prism.ResourceFactory.createMeshView:(Lcom/sun/prism/Mesh;)Lcom/sun/prism/MeshView;
putfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
4: aload 0
aload 0
iconst_1
dup_x1
putfield com.sun.javafx.sg.prism.NGShape3D.drawModeDirty:Z
putfield com.sun.javafx.sg.prism.NGShape3D.materialDirty:Z
5: StackMap locals: com.sun.prism.ResourceFactory
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
ifnull 6
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.mesh:Lcom/sun/javafx/sg/prism/NGTriangleMesh;
invokevirtual com.sun.javafx.sg.prism.NGTriangleMesh.validate:()Z
ifne 7
6: StackMap locals:
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.material:Lcom/sun/javafx/sg/prism/NGPhongMaterial;
aload 2
invokevirtual com.sun.javafx.sg.prism.NGPhongMaterial.createMaterial:(Lcom/sun/prism/ResourceFactory;)Lcom/sun/prism/Material;
astore 3
start local 3 8: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.materialDirty:Z
ifeq 11
9: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
aload 3
invokeinterface com.sun.prism.MeshView.setMaterial:(Lcom/sun/prism/Material;)V
10: aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGShape3D.materialDirty:Z
11: StackMap locals: com.sun.prism.Material
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.cullFace:Ljavafx/scene/shape/CullFace;
invokevirtual javafx.scene.shape.CullFace.ordinal:()I
istore 4
start local 4 12: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.cullFace:Ljavafx/scene/shape/CullFace;
invokevirtual javafx.scene.shape.CullFace.ordinal:()I
getstatic com.sun.prism.MeshView.CULL_NONE:I
if_icmpeq 18
13: aload 1
invokeinterface com.sun.prism.Graphics.getTransformNoClone:()Lcom/sun/javafx/geom/transform/BaseTransform;
invokevirtual com.sun.javafx.geom.transform.BaseTransform.getDeterminant:()D
dconst_0
dcmpg
ifge 18
14: iload 4
getstatic com.sun.prism.MeshView.CULL_BACK:I
if_icmpne 16
15: getstatic com.sun.prism.MeshView.CULL_FRONT:I
goto 17
StackMap locals: int
StackMap stack:
16: getstatic com.sun.prism.MeshView.CULL_BACK:I
17: StackMap locals:
StackMap stack: int
istore 4
18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
iload 4
invokeinterface com.sun.prism.MeshView.setCullingMode:(I)V
19: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.drawModeDirty:Z
ifeq 24
20: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.drawMode:Ljavafx/scene/shape/DrawMode;
getstatic javafx.scene.shape.DrawMode.LINE:Ljavafx/scene/shape/DrawMode;
if_acmpne 21
iconst_1
goto 22
StackMap locals:
StackMap stack: com.sun.prism.MeshView
21: iconst_0
StackMap locals: com.sun.javafx.sg.prism.NGShape3D com.sun.prism.Graphics com.sun.prism.ResourceFactory com.sun.prism.Material int
StackMap stack: com.sun.prism.MeshView int
22: invokeinterface com.sun.prism.MeshView.setWireframe:(Z)V
23: aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGShape3D.drawModeDirty:Z
24: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 25: aload 1
invokeinterface com.sun.prism.Graphics.getLights:()[Lcom/sun/javafx/sg/prism/NGLightBase;
ifnull 26
aload 1
invokeinterface com.sun.prism.Graphics.getLights:()[Lcom/sun/javafx/sg/prism/NGLightBase;
iconst_0
aaload
ifnonnull 35
26: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
fconst_0
fconst_0
fconst_0
invokeinterface com.sun.prism.MeshView.setAmbientLight:(FFF)V
27: aload 1
invokeinterface com.sun.prism.Graphics.getCameraNoClone:()Lcom/sun/javafx/sg/prism/NGCamera;
aconst_null
invokevirtual com.sun.javafx.sg.prism.NGCamera.getPositionInWorld:(Lcom/sun/javafx/geom/Vec3d;)Lcom/sun/javafx/geom/Vec3d;
astore 6
start local 6 28: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
iload 5
iinc 5 1
29: aload 6
getfield com.sun.javafx.geom.Vec3d.x:D
d2f
30: aload 6
getfield com.sun.javafx.geom.Vec3d.y:D
d2f
31: aload 6
getfield com.sun.javafx.geom.Vec3d.z:D
d2f
32: fconst_1
fconst_1
fconst_1
fconst_1
33: invokeinterface com.sun.prism.MeshView.setPointLight:(IFFFFFFF)V
end local 6 34: goto 70
35: StackMap locals:
StackMap stack:
fconst_0
fstore 6
start local 6 36: fconst_0
fstore 7
start local 7 37: fconst_0
fstore 8
start local 8 38: iconst_0
istore 9
start local 9 39: goto 63
40: StackMap locals: com.sun.javafx.sg.prism.NGShape3D com.sun.prism.Graphics com.sun.prism.ResourceFactory com.sun.prism.Material int int float float float int
StackMap stack:
aload 1
invokeinterface com.sun.prism.Graphics.getLights:()[Lcom/sun/javafx/sg/prism/NGLightBase;
iload 9
aaload
astore 10
start local 10 41: aload 10
ifnonnull 43
42: goto 64
43: StackMap locals: com.sun.javafx.sg.prism.NGLightBase
StackMap stack:
aload 10
aload 0
invokevirtual com.sun.javafx.sg.prism.NGLightBase.affects:(Lcom/sun/javafx/sg/prism/NGShape3D;)Z
ifeq 62
44: aload 10
invokevirtual com.sun.javafx.sg.prism.NGLightBase.getColor:()Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getRed:()F
fstore 11
start local 11 45: aload 10
invokevirtual com.sun.javafx.sg.prism.NGLightBase.getColor:()Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getGreen:()F
fstore 12
start local 12 46: aload 10
invokevirtual com.sun.javafx.sg.prism.NGLightBase.getColor:()Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getBlue:()F
fstore 13
start local 13 47: aload 10
instanceof com.sun.javafx.sg.prism.NGPointLight
ifeq 58
48: aload 10
checkcast com.sun.javafx.sg.prism.NGPointLight
astore 14
start local 14 49: fload 11
fconst_0
fcmpl
ifne 50
fload 12
fconst_0
fcmpl
ifne 50
fload 13
fconst_0
fcmpl
ifeq 62
50: StackMap locals: com.sun.javafx.sg.prism.NGShape3D com.sun.prism.Graphics com.sun.prism.ResourceFactory com.sun.prism.Material int int float float float int com.sun.javafx.sg.prism.NGLightBase float float float com.sun.javafx.sg.prism.NGPointLight
StackMap stack:
aload 14
invokevirtual com.sun.javafx.sg.prism.NGPointLight.getWorldTransform:()Lcom/sun/javafx/geom/transform/Affine3D;
astore 15
start local 15 51: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
iload 5
iinc 5 1
52: aload 15
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxt:()D
d2f
53: aload 15
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMyt:()D
d2f
54: aload 15
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMzt:()D
d2f
55: fload 11
fload 12
fload 13
fconst_1
56: invokeinterface com.sun.prism.MeshView.setPointLight:(IFFFFFFF)V
end local 15 end local 14 57: goto 62
StackMap locals:
StackMap stack:
58: aload 10
instanceof com.sun.javafx.sg.prism.NGAmbientLight
ifeq 62
59: fload 6
fload 11
fadd
fstore 6
60: fload 8
fload 12
fadd
fstore 8
61: fload 7
fload 13
fadd
fstore 7
end local 13 end local 12 end local 11 end local 10 62: StackMap locals: com.sun.javafx.sg.prism.NGShape3D com.sun.prism.Graphics com.sun.prism.ResourceFactory com.sun.prism.Material int int float float float int
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
63: iload 9
aload 1
invokeinterface com.sun.prism.Graphics.getLights:()[Lcom/sun/javafx/sg/prism/NGLightBase;
arraylength
if_icmplt 40
end local 9 64: StackMap locals:
StackMap stack:
fload 6
invokestatic com.sun.javafx.sg.prism.NGShape3D.saturate:(F)F
fstore 6
65: fload 8
invokestatic com.sun.javafx.sg.prism.NGShape3D.saturate:(F)F
fstore 8
66: fload 7
invokestatic com.sun.javafx.sg.prism.NGShape3D.saturate:(F)F
fstore 7
67: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
fload 6
fload 8
fload 7
invokeinterface com.sun.prism.MeshView.setAmbientLight:(FFF)V
end local 8 end local 7 end local 6 68: goto 70
69: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
iload 5
iinc 5 1
fconst_0
fconst_0
fconst_0
fconst_0
fconst_0
fconst_0
fconst_0
invokeinterface com.sun.prism.MeshView.setPointLight:(IFFFFFFF)V
70: StackMap locals:
StackMap stack:
iload 5
iconst_3
if_icmplt 69
71: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
aload 1
invokeinterface com.sun.prism.MeshView.render:(Lcom/sun/prism/Graphics;)V
72: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
0 73 1 g Lcom/sun/prism/Graphics;
2 73 2 rf Lcom/sun/prism/ResourceFactory;
8 73 3 mtl Lcom/sun/prism/Material;
12 73 4 cullingMode I
25 73 5 pointLightIdx I
28 34 6 cameraPos Lcom/sun/javafx/geom/Vec3d;
36 68 6 ambientRed F
37 68 7 ambientBlue F
38 68 8 ambientGreen F
39 64 9 i I
41 62 10 lightBase Lcom/sun/javafx/sg/prism/NGLightBase;
45 62 11 rL F
46 62 12 gL F
47 62 13 bL F
49 57 14 light Lcom/sun/javafx/sg/prism/NGPointLight;
51 57 15 lightWT Lcom/sun/javafx/geom/transform/Affine3D;
MethodParameters:
Name Flags
g
private static float saturate(float);
descriptor: (F)F
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: fload 0
fconst_1
fcmpg
ifge 2
fload 0
fconst_0
fcmpg
ifge 1
fconst_0
goto 3
StackMap locals:
StackMap stack:
1: fload 0
goto 3
StackMap locals:
StackMap stack:
2: fconst_1
StackMap locals:
StackMap stack: float
3: freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 value F
MethodParameters:
Name Flags
value
public void setMesh(com.sun.javafx.sg.prism.NGTriangleMesh);
descriptor: (Lcom/sun/javafx/sg/prism/NGTriangleMesh;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.javafx.sg.prism.NGShape3D.mesh:Lcom/sun/javafx/sg/prism/NGTriangleMesh;
1: aload 0
aconst_null
putfield com.sun.javafx.sg.prism.NGShape3D.meshView:Lcom/sun/prism/MeshView;
2: aload 0
invokevirtual com.sun.javafx.sg.prism.NGShape3D.visualsChanged:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
0 4 1 triangleMesh Lcom/sun/javafx/sg/prism/NGTriangleMesh;
MethodParameters:
Name Flags
triangleMesh
protected void renderContent(com.sun.prism.Graphics);
descriptor: (Lcom/sun/prism/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic javafx.application.ConditionalFeature.SCENE3D:Ljavafx/application/ConditionalFeature;
invokestatic javafx.application.Platform.isSupported:(Ljavafx/application/ConditionalFeature;)Z
ifeq 3
1: aload 0
getfield com.sun.javafx.sg.prism.NGShape3D.material:Lcom/sun/javafx/sg/prism/NGPhongMaterial;
ifnull 3
2: aload 1
instanceof com.sun.prism.PrinterGraphics
ifeq 4
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.javafx.sg.prism.NGShape3D.renderMeshView:(Lcom/sun/prism/Graphics;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
0 6 1 g Lcom/sun/prism/Graphics;
MethodParameters:
Name Flags
g
boolean isShape3D();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
protected boolean hasOverlappingContents();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/sg/prism/NGShape3D;
}
SourceFile: "NGShape3D.java"