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
932e62af
Commit
932e62af
authored
May 16, 2003
by
Berk Geveci
Browse files
Now naming the normals
parent
251d5129
Changes
1
Hide whitespace changes
Inline
Side-by-side
Graphics/vtkTubeFilter.cxx
View file @
932e62af
...
...
@@ -26,7 +26,7 @@
#include
"vtkPolyData.h"
#include
"vtkPolyLine.h"
vtkCxxRevisionMacro
(
vtkTubeFilter
,
"1.7
1
"
);
vtkCxxRevisionMacro
(
vtkTubeFilter
,
"1.7
2
"
);
vtkStandardNewMacro
(
vtkTubeFilter
);
// Construct object with radius 0.5, radius variation turned off, the number
...
...
@@ -97,6 +97,7 @@ void vtkTubeFilter::Execute()
newPts
=
vtkPoints
::
New
();
newPts
->
Allocate
(
numNewPts
);
newNormals
=
vtkFloatArray
::
New
();
newNormals
->
SetName
(
"TubeNormals"
);
newNormals
->
SetNumberOfComponents
(
3
);
newNormals
->
Allocate
(
3
*
numNewPts
);
newStrips
=
vtkCellArray
::
New
();
...
...
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