public class ConePortrayal3D extends PrimitivePortrayal3D
group
DEFAULT_APPEARANCE
Constructor and Description |
---|
ConePortrayal3D()
Constructs a ConePortrayal3D with a default (flat opaque white) appearance and a scale of 1.0.
|
ConePortrayal3D(javax.media.j3d.Appearance appearance,
boolean generateNormals,
boolean generateTextureCoordinates,
double scale)
Constructs a ConePortrayal3D with the given appearance and scale, plus whether or not to generate normals or texture coordinates.
|
ConePortrayal3D(java.awt.Color color)
Constructs a ConePortrayal3D with a flat opaque appearance of the given color and a scale of 1.0.
|
ConePortrayal3D(java.awt.Color color,
double scale)
Constructs a ConePortrayal3D with a flat opaque appearance of the given color and the given scale.
|
ConePortrayal3D(double scale)
Constructs a ConePortrayal3D with a default (flat opaque white) appearance and the given scale.
|
ConePortrayal3D(java.awt.Image image)
Constructs a ConePortrayal3D with the given (opaque) image and a scale of 1.0.
|
ConePortrayal3D(java.awt.Image image,
double scale)
Constructs a ConePortrayal3D with the given (opaque) image and scale.
|
Modifier and Type | Method and Description |
---|---|
protected int |
numShapes()
Returns the number of shapes handled by this primitive or Shape3D.
|
getAppearance, getModel, getShape, setAppearance, setPickable, setScale, setShape3DFlags, setTransform
appearanceForColor, appearanceForColors, appearanceForImage, clearPickableFlags, getCurrentDisplay, getCurrentFieldPortrayal, getCurrentGUIState, getInspector, getName, getStatus, isSelected, polygonAttributes, setAppearanceFlags, setCurrentDisplay, setCurrentFieldPortrayal, setPickableFlags, setPickableFlags, setSelected
public ConePortrayal3D()
public ConePortrayal3D(double scale)
public ConePortrayal3D(java.awt.Color color)
public ConePortrayal3D(java.awt.Color color, double scale)
public ConePortrayal3D(java.awt.Image image)
public ConePortrayal3D(java.awt.Image image, double scale)
public ConePortrayal3D(javax.media.j3d.Appearance appearance, boolean generateNormals, boolean generateTextureCoordinates, double scale)
protected int numShapes()
PrimitivePortrayal3D
numShapes
in class PrimitivePortrayal3D