File: vtkpolydatasourcewidget.mdc

package info (click to toggle)
freemat 4.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 141,800 kB
  • ctags: 14,082
  • sloc: ansic: 126,788; cpp: 62,046; python: 2,080; perl: 1,255; sh: 1,146; yacc: 1,019; lex: 239; makefile: 100
file content (79 lines) | stat: -rw-r--r-- 3,385 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

 Usage

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.
To create an instance of class vtkPolyDataSourceWidget,
simply invoke its constructor as follows

    obj = vtkPolyDataSourceWidget



 Methods

The class vtkPolyDataSourceWidget has several methods that
can be used. They are listed below. Note that the
documentation is translated automatically from the VTK
sources, and may not be completely intelligible. When in
doubt, consult the VTK website. In the methods listed below,
obj is an instance of the vtkPolyDataSourceWidget class.

* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkPolyDataSourceWidget = obj.NewInstance ()
* vtkPolyDataSourceWidget = obj.SafeDownCast (vtkObject o)
* obj.PlaceWidget () - Overrides vtk3DWidget PlaceWidget()
  so that it doesn't complain if there's no Input and no
  Prop3D.
* obj.PlaceWidget (double bounds[6]) - We have to redeclare
  this abstract, PlaceWidget() requires it. You HAVE to
  override this in your concrete child classes. If there's
  no Prop3D and no Input, your PlaceWidget must make use of
  the underlying PolyDataSource to do its work.
* obj.PlaceWidget (double xmin, double xmax, double ymin,
  double ymax, double zmin, double zmax) - Returns
  underlying vtkPolyDataSource that determines geometry.
  This can be modified after which PlaceWidget() or
  UpdatePlacement() can be called. UpdatePlacement() will
  always update the planewidget according to the geometry of
  the underlying PolyDataSource. PlaceWidget() will only
  make use of this geometry if there is no Input and no
  Prop3D set.
* vtkPolyDataSource = obj.GetPolyDataSource () - Returns
  underlying vtkPolyDataSource that determines geometry.
  This can be modified after which PlaceWidget() or
  UpdatePlacement() can be called. UpdatePlacement() will
  always update the planewidget according to the geometry of
  the underlying PolyDataSource. PlaceWidget() will only
  make use of this geometry if there is no Input and no
  Prop3D set.
* vtkPolyDataAlgorithm = obj.GetPolyDataAlgorithm () -
  Returns underlying vtkPolyDataSource that determines
  geometry. This can be modified after which PlaceWidget()
  or UpdatePlacement() can be called. UpdatePlacement() will
  always update the planewidget according to the geometry of
  the underlying PolyDataSource. PlaceWidget() will only
  make use of this geometry if there is no Input and no
  Prop3D set.
* obj.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.


* FreeMat_Documentation
* Visualization_Toolkit_Widget_Classes
* Generated on Thu Jul 25 2013 17:18:36 for FreeMat by
  doxygen_ 1.8.1.1