|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProperty
vtkProperty - represent surface properties of a geometric object. vtkProperty is an object that represents lighting and other surface properties of a geometric object. The primary properties that can be set are colors (overall, ambient, diffuse, specular, and edge color); specular power; opacity of the object; the representation of the object (points, wireframe, or surface); and the shading method to be used (flat, Gouraud, and Phong). Also, some special graphics features like backface properties can be set and manipulated with this object. JavaBean wrapper for vtkProperty object.
vtkActor
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkProperty()
|
protected |
vtkProperty(int dmy)
|
Method Summary | |
void |
backfaceCullingOff()
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
void |
backfaceCullingOn()
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
void |
backfaceRender(vtkActor id0,
vtkRenderer id1)
This method renders the property as a backface property. |
void |
deepCopy(vtkProperty id0)
Assign one property to another. |
void |
edgeVisibilityOff()
Turn on/off the visibility of edges. |
void |
edgeVisibilityOn()
Turn on/off the visibility of edges. |
void |
frontfaceCullingOff()
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
void |
frontfaceCullingOn()
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
double |
getAmbient()
Set/Get the ambient lighting coefficient. |
double[] |
getAmbientColor()
Set/Get the ambient surface color. |
double |
getAmbientMaxValue()
Set/Get the ambient lighting coefficient. |
double |
getAmbientMinValue()
Set/Get the ambient lighting coefficient. |
int |
getBackfaceCulling()
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
java.lang.String |
getClassName()
Return the class name as a string. |
double[] |
getColor()
Set the color of the object. |
void |
getColor(double[] id0)
Set the color of the object. |
double |
getDiffuse()
Set/Get the diffuse lighting coefficient. |
double[] |
getDiffuseColor()
Set/Get the diffuse surface color. |
double |
getDiffuseMaxValue()
Set/Get the diffuse lighting coefficient. |
double |
getDiffuseMinValue()
Set/Get the diffuse lighting coefficient. |
double[] |
getEdgeColor()
Set/Get the color of primitive edges (if edge visibility is enabled). |
int |
getEdgeVisibility()
Turn on/off the visibility of edges. |
int |
getFrontfaceCulling()
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
int |
getInterpolation()
Set the shading interpolation method for an object. |
java.lang.String |
getInterpolationAsString()
Set the shading interpolation method for an object. |
int |
getInterpolationMaxValue()
Set the shading interpolation method for an object. |
int |
getInterpolationMinValue()
Set the shading interpolation method for an object. |
int |
getLineStipplePattern()
Set/Get the stippling pattern of a Line, as a 16-bit binary pattern (1 = pixel on, 0 = pixel off). |
int |
getLineStippleRepeatFactor()
Set/Get the stippling repeat factor of a Line, which specifies how many times each bit in the pattern is to be repeated. |
int |
getLineStippleRepeatFactorMaxValue()
Set/Get the stippling repeat factor of a Line, which specifies how many times each bit in the pattern is to be repeated. |
int |
getLineStippleRepeatFactorMinValue()
Set/Get the stippling repeat factor of a Line, which specifies how many times each bit in the pattern is to be repeated. |
double |
getLineWidth()
Set/Get the width of a Line. |
double |
getLineWidthMaxValue()
Set/Get the width of a Line. |
double |
getLineWidthMinValue()
Set/Get the width of a Line. |
double |
getOpacity()
Set/Get the object's opacity. 1.0 is totally opaque and 0.0 is completely transparent. |
double |
getOpacityMaxValue()
Set/Get the object's opacity. 1.0 is totally opaque and 0.0 is completely transparent. |
double |
getOpacityMinValue()
Set/Get the object's opacity. 1.0 is totally opaque and 0.0 is completely transparent. |
double |
getPointSize()
Set/Get the diameter of a point. |
double |
getPointSizeMaxValue()
Set/Get the diameter of a point. |
double |
getPointSizeMinValue()
Set/Get the diameter of a point. |
int |
getRepresentation()
Control the surface geometry representation for the object. |
java.lang.String |
getRepresentationAsString()
Control the surface geometry representation for the object. |
int |
getRepresentationMaxValue()
Control the surface geometry representation for the object. |
int |
getRepresentationMinValue()
Control the surface geometry representation for the object. |
double |
getSpecular()
Set/Get the specular lighting coefficient. |
double[] |
getSpecularColor()
Set/Get the specular surface color. |
double |
getSpecularMaxValue()
Set/Get the specular lighting coefficient. |
double |
getSpecularMinValue()
Set/Get the specular lighting coefficient. |
double |
getSpecularPower()
Set/Get the specular power. |
double |
getSpecularPowerMaxValue()
Set/Get the specular power. |
double |
getSpecularPowerMinValue()
Set/Get the specular power. |
vtkProperty |
getThisProperty()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
render(vtkActor id0,
vtkRenderer id1)
This method causes the property to set up whatever is required for its instance variables. |
void |
setAmbient(double id0)
Set/Get the ambient lighting coefficient. |
void |
setAmbientColor(double[] id0)
Set/Get the ambient surface color. |
void |
setAmbientColor(double id0,
double id1,
double id2)
Set/Get the ambient surface color. |
void |
setBackfaceCulling(int id0)
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
void |
setColor(double[] id0)
Set the color of the object. |
void |
setColor(double id0,
double id1,
double id2)
Set the color of the object. |
void |
setDiffuse(double id0)
Set/Get the diffuse lighting coefficient. |
void |
setDiffuseColor(double[] id0)
Set/Get the diffuse surface color. |
void |
setDiffuseColor(double id0,
double id1,
double id2)
Set/Get the diffuse surface color. |
void |
setEdgeColor(double[] id0)
Set/Get the color of primitive edges (if edge visibility is enabled). |
void |
setEdgeColor(double id0,
double id1,
double id2)
Set/Get the color of primitive edges (if edge visibility is enabled). |
void |
setEdgeVisibility(int id0)
Turn on/off the visibility of edges. |
void |
setFrontfaceCulling(int id0)
Turn on/off fast culling of polygons based on orientation of normal with respect to camera. |
void |
setInterpolation(int id0)
Set the shading interpolation method for an object. |
void |
setInterpolationToFlat()
Set the shading interpolation method for an object. |
void |
setInterpolationToGouraud()
Set the shading interpolation method for an object. |
void |
setInterpolationToPhong()
Set the shading interpolation method for an object. |
void |
setLineStipplePattern(int id0)
Set/Get the stippling pattern of a Line, as a 16-bit binary pattern (1 = pixel on, 0 = pixel off). |
void |
setLineStippleRepeatFactor(int id0)
Set/Get the stippling repeat factor of a Line, which specifies how many times each bit in the pattern is to be repeated. |
void |
setLineWidth(double id0)
Set/Get the width of a Line. |
void |
setOpacity(double id0)
Set/Get the object's opacity. 1.0 is totally opaque and 0.0 is completely transparent. |
void |
setPointSize(double id0)
Set/Get the diameter of a point. |
void |
setRepresentation(int id0)
Control the surface geometry representation for the object. |
void |
setRepresentationToPoints()
Control the surface geometry representation for the object. |
void |
setRepresentationToSurface()
Control the surface geometry representation for the object. |
void |
setRepresentationToWireframe()
Control the surface geometry representation for the object. |
void |
setSpecular(double id0)
Set/Get the specular lighting coefficient. |
void |
setSpecularColor(double[] id0)
Set/Get the specular surface color. |
void |
setSpecularColor(double id0,
double id1,
double id2)
Set/Get the specular surface color. |
void |
setSpecularPower(double id0)
Set/Get the specular power. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkProperty()
protected vtkProperty(int dmy)
Method Detail |
public vtkProperty getThisProperty()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkObject
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkObject
public void deepCopy(vtkProperty id0)
public void render(vtkActor id0, vtkRenderer id1)
public void backfaceRender(vtkActor id0, vtkRenderer id1)
public void setInterpolation(int id0)
public int getInterpolationMinValue()
public int getInterpolationMaxValue()
public int getInterpolation()
public void setInterpolationToFlat()
public void setInterpolationToGouraud()
public void setInterpolationToPhong()
public java.lang.String getInterpolationAsString()
public void setRepresentation(int id0)
public int getRepresentationMinValue()
public int getRepresentationMaxValue()
public int getRepresentation()
public void setRepresentationToPoints()
public void setRepresentationToWireframe()
public void setRepresentationToSurface()
public java.lang.String getRepresentationAsString()
public void setColor(double id0, double id1, double id2)
public void setColor(double[] id0)
public double[] getColor()
public void getColor(double[] id0)
public void setAmbient(double id0)
public double getAmbientMinValue()
public double getAmbientMaxValue()
public double getAmbient()
public void setDiffuse(double id0)
public double getDiffuseMinValue()
public double getDiffuseMaxValue()
public double getDiffuse()
public void setSpecular(double id0)
public double getSpecularMinValue()
public double getSpecularMaxValue()
public double getSpecular()
public void setSpecularPower(double id0)
public double getSpecularPowerMinValue()
public double getSpecularPowerMaxValue()
public double getSpecularPower()
public void setOpacity(double id0)
public double getOpacityMinValue()
public double getOpacityMaxValue()
public double getOpacity()
public void setAmbientColor(double id0, double id1, double id2)
public void setAmbientColor(double[] id0)
public double[] getAmbientColor()
public void setDiffuseColor(double id0, double id1, double id2)
public void setDiffuseColor(double[] id0)
public double[] getDiffuseColor()
public void setSpecularColor(double id0, double id1, double id2)
public void setSpecularColor(double[] id0)
public double[] getSpecularColor()
public int getEdgeVisibility()
public void setEdgeVisibility(int id0)
public void edgeVisibilityOn()
public void edgeVisibilityOff()
public void setEdgeColor(double id0, double id1, double id2)
public void setEdgeColor(double[] id0)
public double[] getEdgeColor()
public void setLineWidth(double id0)
public double getLineWidthMinValue()
public double getLineWidthMaxValue()
public double getLineWidth()
public void setLineStipplePattern(int id0)
public int getLineStipplePattern()
public void setLineStippleRepeatFactor(int id0)
public int getLineStippleRepeatFactorMinValue()
public int getLineStippleRepeatFactorMaxValue()
public int getLineStippleRepeatFactor()
public void setPointSize(double id0)
public double getPointSizeMinValue()
public double getPointSizeMaxValue()
public double getPointSize()
public int getBackfaceCulling()
public void setBackfaceCulling(int id0)
public void backfaceCullingOn()
public void backfaceCullingOff()
public int getFrontfaceCulling()
public void setFrontfaceCulling(int id0)
public void frontfaceCullingOn()
public void frontfaceCullingOff()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |