Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Scott Wittenburg
VTK
Commits
68789da3
Commit
68789da3
authored
May 19, 2005
by
Mathieu Malaterre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: Fix warnings on VS6
parent
e5422d9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
IO/vtkFacetWriter.cxx
IO/vtkFacetWriter.cxx
+9
-9
No files found.
IO/vtkFacetWriter.cxx
View file @
68789da3
...
...
@@ -34,7 +34,7 @@
#include <vtkstd/string>
#include <vtkstd/vector>
vtkCxxRevisionMacro
(
vtkFacetWriter
,
"1.
3
"
);
vtkCxxRevisionMacro
(
vtkFacetWriter
,
"1.
4
"
);
vtkStandardNewMacro
(
vtkFacetWriter
);
//----------------------------------------------------------------------------
...
...
@@ -160,8 +160,8 @@ int vtkFacetWriter::WriteDataToStream(ostream* ost, vtkPolyData* data)
}
ca
=
data
->
GetVerts
();
numCells
=
ca
->
GetNumberOfCells
();
vtkIdType
numPts
;
vtkIdType
*
pts
;
vtkIdType
numPts
=
0
;
vtkIdType
*
pts
=
NULL
;
ca
->
InitTraversal
();
while
(
ca
->
GetNextCell
(
numPts
,
pts
)
)
{
...
...
@@ -194,8 +194,8 @@ int vtkFacetWriter::WriteDataToStream(ostream* ost, vtkPolyData* data)
}
ca
=
data
->
GetLines
();
numCells
=
ca
->
GetNumberOfCells
();
vtkIdType
numPts
;
vtkIdType
*
pts
;
vtkIdType
numPts
=
0
;
vtkIdType
*
pts
=
NULL
;
ca
->
InitTraversal
();
while
(
ca
->
GetNextCell
(
numPts
,
pts
)
)
{
...
...
@@ -228,8 +228,8 @@ int vtkFacetWriter::WriteDataToStream(ostream* ost, vtkPolyData* data)
}
ca
=
data
->
GetPolys
();
numCells
=
ca
->
GetNumberOfCells
();
vtkIdType
numPts
;
vtkIdType
*
pts
;
vtkIdType
numPts
=
0
;
vtkIdType
*
pts
=
NULL
;
ca
->
InitTraversal
();
ca
->
GetNextCell
(
numPts
,
pts
);
totalCells
++
;
...
...
@@ -269,8 +269,8 @@ int vtkFacetWriter::WriteDataToStream(ostream* ost, vtkPolyData* data)
}
ca
=
data
->
GetStrips
();
numCells
=
ca
->
GetNumberOfCells
();
vtkIdType
numPts
;
vtkIdType
*
pts
;
vtkIdType
numPts
=
0
;
vtkIdType
*
pts
=
NULL
;
ca
->
InitTraversal
();
while
(
ca
->
GetNextCell
(
numPts
,
pts
)
)
{
...
...
Write
Preview
Markdown
is supported
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