Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
e5ee37f1
Commit
e5ee37f1
authored
Nov 08, 2002
by
Andy Cedilnik
Browse files
Clean header
parent
a1b213e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Hybrid/vtkSplineWidget.cxx
View file @
e5ee37f1
...
...
@@ -34,7 +34,7 @@
#include
"vtkSphereSource.h"
#include
"vtkTransform.h"
vtkCxxRevisionMacro
(
vtkSplineWidget
,
"1.
2
"
);
vtkCxxRevisionMacro
(
vtkSplineWidget
,
"1.
3
"
);
vtkStandardNewMacro
(
vtkSplineWidget
);
vtkSplineWidget
::
vtkSplineWidget
()
...
...
@@ -1209,6 +1209,11 @@ void vtkSplineWidget::SetResolution(int resolution)
this
->
LineActor
->
Modified
();
}
void
vtkSplineWidget
::
GetPolyData
(
vtkPolyData
*
pd
)
{
pd
->
ShallowCopy
(
this
->
LineData
);
}
void
vtkSplineWidget
::
SizeHandles
()
{
float
radius
=
this
->
vtk3DWidget
::
SizeHandles
(
1.0
);
...
...
Hybrid/vtkSplineWidget.h
View file @
e5ee37f1
...
...
@@ -79,7 +79,6 @@
#define __vtkSplineWidget_h
#include
"vtk3DWidget.h"
#include
"vtkPolyData.h"
class
vtkActor
;
class
vtkCardinalSpline
;
...
...
@@ -154,8 +153,7 @@ public:
// are guaranteed to be up-to-date when either the
// InteractionEvent or EndInteraction events are invoked. The user provides
// the vtkPolyData and the points and polyline are added to it.
void
GetPolyData
(
vtkPolyData
*
pd
)
{
pd
->
ShallowCopy
(
this
->
LineData
);
}
void
GetPolyData
(
vtkPolyData
*
pd
);
// Description:
// Get the handle properties (the little balls are the handles). The
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment