public static class MeshThicken.Region extends RenderableBase implements HasProperties
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
TRANSLUCENT, TWO_DIMENSIONAL
Modifier and Type | Method and Description |
---|---|
RenderProps |
createRenderProps()
Factory method to create render properties appropriate to this object.
|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getBackHeight() |
double |
getHeight() |
double |
getMargin() |
double |
getMinRadius() |
Property |
getProperty(java.lang.String name)
Returns a property associated with a specified path name.
|
boolean |
getThickenBackSide() |
double |
getThickening() |
double |
getUnthickening() |
boolean |
getUseNormalZScaling() |
boolean |
getVisible() |
boolean |
isSelectable()
Returns true if this object is in fact selectable.
|
void |
render(GLRenderer renderer,
int flags)
Render this object using Open GL via the JOGL.
|
void |
render(GLRenderer renderer,
RenderProps props,
int flags) |
void |
setBackHeight(double backHeight) |
void |
setHeight(double height) |
void |
setMargin(double margin) |
void |
setThickenBackSide(boolean enable) |
void |
setThickening(double thickening) |
void |
setUnthickening(double unthickening) |
void |
setUseNormalZScaling(boolean enable) |
void |
setVisible(boolean visible) |
getRenderProps, getSelection, numSelectionQueriesNeeded, setRenderProps
getRenderHints, prerender, updateBounds
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRenderHints, prerender, updateBounds
public static PropertyList myProps
public RenderProps createRenderProps()
HasRenderProps
createRenderProps
in interface HasRenderProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
public Property getProperty(java.lang.String name)
.
' characters. A sub-property
exists if the value of a property is itself an object which exports
properties. It is only possible to obtain a sub-property handle if each of
its ancestor properties exports their values by reference.getProperty
in interface HasProperties
name
- name of the desired property or sub-propertypublic double getMinRadius()
public double getMargin()
public void setMargin(double margin)
public double getHeight()
public void setHeight(double height)
public double getBackHeight()
public void setBackHeight(double backHeight)
public boolean getVisible()
public void setVisible(boolean visible)
public double getThickening()
public void setThickening(double thickening)
public void setThickenBackSide(boolean enable)
public boolean getThickenBackSide()
public void setUseNormalZScaling(boolean enable)
public boolean getUseNormalZScaling()
public double getUnthickening()
public void setUnthickening(double unthickening)
public void render(GLRenderer renderer, int flags)
GLRenderableBase
render
in interface GLRenderable
render
in class GLRenderableBase
renderer
- renderer object which is used to perform the rendering. Provides pointers
to GL and GLU, along with helper functions.flags
- supplies flags that may be used to control different
aspects of the rendering. Flags are defined in GLRenderer
and currently include
GLRenderer.SELECTED
,
GLRenderer.VERTEX_COLORING
,
GLRenderer.HSV_COLOR_INTERPOLATION
,
GLRenderer.SORT_FACES
, and
GLRenderer.CLEAR_MESH_DISPLAY_LISTS
.public void render(GLRenderer renderer, RenderProps props, int flags)
public boolean isSelectable()
RenderableBase
isSelectable
in interface GLSelectable
isSelectable
in class RenderableBase