vtk
Class vtkProperty2D

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProperty2D
All Implemented Interfaces:
java.io.Serializable

public class vtkProperty2D
extends vtkObject
implements java.io.Serializable

vtkProperty2D. vtkProperty2D contains properties used to render two dimensional images and annotations. JavaBean wrapper for vtkProperty2D object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkActor2D, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkProperty2D()
           
protected vtkProperty2D(int dmy)
           
 
Method Summary
 void deepCopy(vtkProperty2D id0)
          Assign one property to another.
 java.lang.String getClassName()
          Return the class name as a string.
 double[] getColor()
          Set/Get the RGB color of this property.
 int getDisplayLocation()
          The DisplayLocation is either background or foreground.
 int getDisplayLocationMaxValue()
          The DisplayLocation is either background or foreground.
 int getDisplayLocationMinValue()
          The DisplayLocation is either background or foreground.
 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 Opacity of this property.
 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.
 vtkProperty2D getThisProperty2D()
           
 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(vtkViewport id0)
           
 void setColor(double[] id0)
          Set/Get the RGB color of this property.
 void setColor(double id0, double id1, double id2)
          Set/Get the RGB color of this property.
 void setDisplayLocation(int id0)
          The DisplayLocation is either background or foreground.
 void setDisplayLocationToBackground()
          The DisplayLocation is either background or foreground.
 void setDisplayLocationToForeground()
          The DisplayLocation is either background or foreground.
 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 Opacity of this property.
 void setPointSize(double id0)
          Set/Get the diameter of a Point.
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

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkProperty2D

public vtkProperty2D()

vtkProperty2D

protected vtkProperty2D(int dmy)
Method Detail

getThisProperty2D

public vtkProperty2D getThisProperty2D()

getClassName

public java.lang.String getClassName()
Description copied from class: vtkObjectBase
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
getClassName in class vtkObject

isA

public int isA(java.lang.String id0)
Description copied from class: vtkObjectBase
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
isA in class vtkObject

deepCopy

public void deepCopy(vtkProperty2D id0)
Assign one property to another.


setColor

public void setColor(double id0,
                     double id1,
                     double id2)
Set/Get the RGB color of this property.


setColor

public void setColor(double[] id0)
Set/Get the RGB color of this property.


getColor

public double[] getColor()
Set/Get the RGB color of this property.


getOpacity

public double getOpacity()
Set/Get the Opacity of this property.


setOpacity

public void setOpacity(double id0)
Set/Get the Opacity of this property.


setPointSize

public void setPointSize(double id0)
Set/Get the diameter of a Point. The size is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


getPointSizeMinValue

public double getPointSizeMinValue()
Set/Get the diameter of a Point. The size is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


getPointSizeMaxValue

public double getPointSizeMaxValue()
Set/Get the diameter of a Point. The size is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


getPointSize

public double getPointSize()
Set/Get the diameter of a Point. The size is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


setLineWidth

public void setLineWidth(double id0)
Set/Get the width of a Line. The width is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


getLineWidthMinValue

public double getLineWidthMinValue()
Set/Get the width of a Line. The width is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


getLineWidthMaxValue

public double getLineWidthMaxValue()
Set/Get the width of a Line. The width is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


getLineWidth

public double getLineWidth()
Set/Get the width of a Line. The width is expressed in screen units. This is only implemented for OpenGL. The default is 1.0.


setLineStipplePattern

public void setLineStipplePattern(int id0)
Set/Get the stippling pattern of a Line, as a 16-bit binary pattern (1 = pixel on, 0 = pixel off). This is only implemented for OpenGL. The default is 0xFFFF.


getLineStipplePattern

public int getLineStipplePattern()
Set/Get the stippling pattern of a Line, as a 16-bit binary pattern (1 = pixel on, 0 = pixel off). This is only implemented for OpenGL. The default is 0xFFFF.


setLineStippleRepeatFactor

public 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. This is only implemented for OpenGL. The default is 1.


getLineStippleRepeatFactorMinValue

public 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. This is only implemented for OpenGL. The default is 1.


getLineStippleRepeatFactorMaxValue

public 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. This is only implemented for OpenGL. The default is 1.


getLineStippleRepeatFactor

public 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. This is only implemented for OpenGL. The default is 1.


setDisplayLocation

public void setDisplayLocation(int id0)
The DisplayLocation is either background or foreground. If it is background, then this 2D actor will be drawn behind all 3D props or foreground 2D actors. If it is background, then this 2D actor will be drawn in front of all 3D props and background 2D actors. Within 2D actors of the same DisplayLocation type, order is determined by the order in which the 2D actors were added to the viewport.


getDisplayLocationMinValue

public int getDisplayLocationMinValue()
The DisplayLocation is either background or foreground. If it is background, then this 2D actor will be drawn behind all 3D props or foreground 2D actors. If it is background, then this 2D actor will be drawn in front of all 3D props and background 2D actors. Within 2D actors of the same DisplayLocation type, order is determined by the order in which the 2D actors were added to the viewport.


getDisplayLocationMaxValue

public int getDisplayLocationMaxValue()
The DisplayLocation is either background or foreground. If it is background, then this 2D actor will be drawn behind all 3D props or foreground 2D actors. If it is background, then this 2D actor will be drawn in front of all 3D props and background 2D actors. Within 2D actors of the same DisplayLocation type, order is determined by the order in which the 2D actors were added to the viewport.


getDisplayLocation

public int getDisplayLocation()
The DisplayLocation is either background or foreground. If it is background, then this 2D actor will be drawn behind all 3D props or foreground 2D actors. If it is background, then this 2D actor will be drawn in front of all 3D props and background 2D actors. Within 2D actors of the same DisplayLocation type, order is determined by the order in which the 2D actors were added to the viewport.


setDisplayLocationToBackground

public void setDisplayLocationToBackground()
The DisplayLocation is either background or foreground. If it is background, then this 2D actor will be drawn behind all 3D props or foreground 2D actors. If it is background, then this 2D actor will be drawn in front of all 3D props and background 2D actors. Within 2D actors of the same DisplayLocation type, order is determined by the order in which the 2D actors were added to the viewport.


setDisplayLocationToForeground

public void setDisplayLocationToForeground()
The DisplayLocation is either background or foreground. If it is background, then this 2D actor will be drawn behind all 3D props or foreground 2D actors. If it is background, then this 2D actor will be drawn in front of all 3D props and background 2D actors. Within 2D actors of the same DisplayLocation type, order is determined by the order in which the 2D actors were added to the viewport.


render

public void render(vtkViewport id0)

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkObject


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.