|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkInteractorObserver vtk.vtk3DWidget vtk.vtkPolyDataSourceWidget
vtkPolyDataSourceWidget - abstract PolyDataSource-based 3D widget. This abstract class serves as parent to 3D widgets that have simple vtkPolyDataSource instances defining their geometry. In addition to what is offered by the vtk3DWidget parent, this class makes it possible to manipulate the underlying polydatasource and to PlaceWidget() according to that, instead of having to make use of SetInput() or SetProp3D(). Implementors of child classes HAVE to implement their PlaceWidget(bounds) to check for the existence of Input and Prop3D FIRST. If these don't exist, place according to the underlying PolyDataSource. Child classes also have to imprement UpdatePlacement(), which updates the widget according to the geometry of the underlying PolyDataSource. JavaBean wrapper for vtkPolyDataSourceWidget object.
vtk3DWidget
,
vtkLineWidget
,
vtkPlaneWidget
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkPolyDataSourceWidget()
|
protected |
vtkPolyDataSourceWidget(int dmy)
|
Method Summary | |
java.lang.String |
getClassName()
Return the class name as a string. |
vtkPolyDataSource |
getPolyDataSource()
Returns underlying vtkPolyDataSource that determines geometry. |
vtkPolyDataSourceWidget |
getThisPolyDataSourceWidget()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
placeWidget()
Overrides vtk3DWidget PlaceWidget() so that it doesn't complain if there's no Input and no Prop3D. |
void |
placeWidget(double[] id0)
We have to redeclare this abstract, PlaceWidget() requires it. |
void |
placeWidget(double id0,
double id1,
double id2,
double id3,
double id4,
double id5)
Returns underlying vtkPolyDataSource that determines geometry. |
void |
updatePlacement()
If you've made changes to the underlying vtkPolyDataSource AFTER your initial call to PlaceWidget(), use this method to realise the changes in the widget. |
protected void |
VTKCastInit()
|
Methods inherited from class vtk.vtk3DWidget |
getHandleSize, getHandleSizeMaxValue, getHandleSizeMinValue, getInput, getPlaceFactor, getPlaceFactorMaxValue, getPlaceFactorMinValue, getProp3D, getThis3DWidget, setHandleSize, setInput, setPlaceFactor, setProp3D |
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, VTKInit |
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 vtkPolyDataSourceWidget()
protected vtkPolyDataSourceWidget(int dmy)
Method Detail |
public vtkPolyDataSourceWidget getThisPolyDataSourceWidget()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtk3DWidget
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtk3DWidget
public void placeWidget()
placeWidget
in class vtk3DWidget
public void placeWidget(double[] id0)
placeWidget
in class vtk3DWidget
public void placeWidget(double id0, double id1, double id2, double id3, double id4, double id5)
placeWidget
in class vtk3DWidget
public vtkPolyDataSource getPolyDataSource()
public void updatePlacement()
protected void VTKCastInit()
VTKCastInit
in class vtk3DWidget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |