File: vtkanglerepresentation.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 (180 lines) | stat: -rw-r--r-- 8,303 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180

 Usage

The vtkAngleRepresentation is a superclass for classes
representing the vtkAngleWidget. This representation
consists of two rays and three vtkHandleRepresentations to
place and manipulate the three points defining the angle
representation. (Note: the three points are referred to as
Point1, Center, and Point2, at the two end points (Point1
and Point2) and Center (around which the angle is measured).
To create an instance of class vtkAngleRepresentation,
simply invoke its constructor as follows

    obj = vtkAngleRepresentation



 Methods

The class vtkAngleRepresentation 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 vtkAngleRepresentation class.

* string = obj.GetClassName () - Standard VTK methods.
* int = obj.IsA (string name) - Standard VTK methods.
* vtkAngleRepresentation = obj.NewInstance () - Standard VTK
  methods.
* vtkAngleRepresentation = obj.SafeDownCast (vtkObject o) -
  Standard VTK methods.
* double = obj.GetAngle () - This representation and all
  subclasses must keep an angle (in degrees) consistent with
  the state of the widget.
* obj.GetPoint1WorldPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.GetCenterWorldPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.GetPoint2WorldPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.SetPoint1DisplayPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.SetCenterDisplayPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.SetPoint2DisplayPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.GetPoint1DisplayPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.GetCenterDisplayPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.GetPoint2DisplayPosition (double pos[3]) - Methods to
  Set/Get the coordinates of the three points defining this
  representation. Note that methods are available for both
  display and world coordinates.
* obj.SetHandleRepresentation (vtkHandleRepresentation
  handle) - This method is used to specify the type of
  handle representation to use for the three internal
  vtkHandleWidgets within vtkAngleRepresentation. To use
  this method, create a dummy vtkHandleRepresentation (or
  subclass), and then invoke this method with this dummy.
  Then the vtkAngleRepresentation uses this dummy to clone
  three vtkHandleRepresentations of the same type. Make sure
  you set the handle representation before the widget is
  enabled. (The method InstantiateHandleRepresentation() is
  invoked by the vtkAngle widget.)
* obj.InstantiateHandleRepresentation () - This method is
  used to specify the type of handle representation to use
  for the three internal vtkHandleWidgets within
  vtkAngleRepresentation. To use this method, create a dummy
  vtkHandleRepresentation (or subclass), and then invoke
  this method with this dummy. Then the
  vtkAngleRepresentation uses this dummy to clone three
  vtkHandleRepresentations of the same type. Make sure you
  set the handle representation before the widget is
  enabled. (The method InstantiateHandleRepresentation() is
  invoked by the vtkAngle widget.)
* vtkHandleRepresentation = obj.GetPoint1Representation () -
  Set/Get the handle representations used for the
  vtkAngleRepresentation.
* vtkHandleRepresentation = obj.GetCenterRepresentation () -
  Set/Get the handle representations used for the
  vtkAngleRepresentation.
* vtkHandleRepresentation = obj.GetPoint2Representation () -
  Set/Get the handle representations used for the
  vtkAngleRepresentation.
* obj.SetTolerance (int ) - The tolerance representing the
  distance to the representation (in pixels) in which the
  cursor is considered near enough to the end points of the
  representation to be active.
* int = obj.GetToleranceMinValue () - The tolerance
  representing the distance to the representation (in
  pixels) in which the cursor is considered near enough to
  the end points of the representation to be active.
* int = obj.GetToleranceMaxValue () - The tolerance
  representing the distance to the representation (in
  pixels) in which the cursor is considered near enough to
  the end points of the representation to be active.
* int = obj.GetTolerance () - The tolerance representing the
  distance to the representation (in pixels) in which the
  cursor is considered near enough to the end points of the
  representation to be active.
* obj.SetLabelFormat (string ) - Specify the format to use
  for labelling the angle. Note that an empty string results
  in no label, or a format string without a "%" character
  will not print the angle value.
* string = obj.GetLabelFormat () - Specify the format to use
  for labelling the angle. Note that an empty string results
  in no label, or a format string without a "%" character
  will not print the angle value.
* obj.SetRay1Visibility (int ) - Special methods for turning
  off the rays and arc that define the cone and arc of the
  angle.
* int = obj.GetRay1Visibility () - Special methods for
  turning off the rays and arc that define the cone and arc
  of the angle.
* obj.Ray1VisibilityOn () - Special methods for turning off
  the rays and arc that define the cone and arc of the
  angle.
* obj.Ray1VisibilityOff () - Special methods for turning off
  the rays and arc that define the cone and arc of the
  angle.
* obj.SetRay2Visibility (int ) - Special methods for turning
  off the rays and arc that define the cone and arc of the
  angle.
* int = obj.GetRay2Visibility () - Special methods for
  turning off the rays and arc that define the cone and arc
  of the angle.
* obj.Ray2VisibilityOn () - Special methods for turning off
  the rays and arc that define the cone and arc of the
  angle.
* obj.Ray2VisibilityOff () - Special methods for turning off
  the rays and arc that define the cone and arc of the
  angle.
* obj.SetArcVisibility (int ) - Special methods for turning
  off the rays and arc that define the cone and arc of the
  angle.
* int = obj.GetArcVisibility () - Special methods for
  turning off the rays and arc that define the cone and arc
  of the angle.
* obj.ArcVisibilityOn () - Special methods for turning off
  the rays and arc that define the cone and arc of the
  angle.
* obj.ArcVisibilityOff () - Special methods for turning off
  the rays and arc that define the cone and arc of the
  angle.
* obj.BuildRepresentation () - These are methods that
  satisfy vtkWidgetRepresentation's API.
* int = obj.ComputeInteractionState (int X, int Y, int
  modify) - These are methods that satisfy
  vtkWidgetRepresentation's API.
* obj.StartWidgetInteraction (double e[2]) - These are
  methods that satisfy vtkWidgetRepresentation's API.
* obj.CenterWidgetInteraction (double e[2]) - These are
  methods that satisfy vtkWidgetRepresentation's API.
* obj.WidgetInteraction (double e[2]) - These are methods
  that satisfy vtkWidgetRepresentation's API.


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