Skip to content
GitLab
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
a4c8e855
Commit
a4c8e855
authored
Feb 20, 2014
by
Berk Geveci
Committed by
George Zagaris
May 21, 2014
Browse files
Fixed compiler warnings.
Change-Id: I80d4dbda38c7a6d83d6ba3fadeb81cce1154a1b1
parent
bc4dbe82
Changes
5
Hide whitespace changes
Inline
Side-by-side
Filters/FlowPaths/vtkParticleTracerBase.cxx
View file @
a4c8e855
...
...
@@ -456,7 +456,7 @@ int vtkParticleTracerBase::InitializeInterpolator()
inp
->
ComputeBounds
();
inp
->
GetBounds
(
&
bbox
.
b
[
0
]);
this
->
CachedBounds
[
T
].
push_back
(
bbox
);
bool
static_dataset
=
this
->
StaticMesh
=
=
0
?
false
:
true
;
bool
static_dataset
=
(
this
->
StaticMesh
!
=
0
)
;
this
->
AllFixedGeometry
=
this
->
AllFixedGeometry
&&
static_dataset
;
// add the dataset to the interpolator
this
->
Interpolator
->
SetDataSetAtTime
(
index
++
,
T
,
this
->
GetCacheDataTime
(
T
),
inp
,
static_dataset
);
...
...
Filters/FlowPaths/vtkTemporalStreamTracer.cxx
View file @
a4c8e855
...
...
@@ -406,7 +406,7 @@ int vtkTemporalStreamTracer::InitializeInterpolator()
inp
->
ComputeBounds
();
inp
->
GetBounds
(
&
bbox
.
b
[
0
]);
this
->
CachedBounds
[
T
].
push_back
(
bbox
);
bool
static_dataset
=
this
->
StaticMesh
=
=
0
?
false
:
true
;
bool
static_dataset
=
(
this
->
StaticMesh
!
=
0
)
;
this
->
AllFixedGeometry
=
this
->
AllFixedGeometry
&&
static_dataset
;
// add the dataset to the interpolator
this
->
Interpolator
->
SetDataSetAtTime
(
index
++
,
T
,
this
->
CurrentTimeSteps
[
T
],
inp
,
static_dataset
);
...
...
Filters/Parallel/vtkTransmitStructuredDataPiece.cxx
View file @
a4c8e855
...
...
@@ -101,7 +101,6 @@ int vtkTransmitStructuredDataPiece::RequestData(
procId
=
this
->
Controller
->
GetLocalProcessId
();
if
(
procId
==
0
)
{
vtkInformation
*
inInfo
=
inputVector
[
0
]
->
GetInformationObject
(
0
);
vtkDataSet
*
input
=
vtkDataSet
::
GetData
(
inputVector
[
0
]);
this
->
RootExecute
(
input
,
output
,
outInfo
);
}
...
...
IO/Parallel/vtkPDataSetWriter.cxx
View file @
a4c8e855
...
...
@@ -333,7 +333,6 @@ int vtkPDataSetWriter::WriteUnstructuredMetaData(vtkDataSet *input,
int
vtkPDataSetWriter
::
WriteImageMetaData
(
vtkImageData
*
input
,
char
*
root
,
char
*
str
,
ostream
*
fptr
)
{
int
i
;
int
*
pi
;
double
*
pf
;
vtkInformation
*
inInfo
=
this
->
GetInputInformation
();
...
...
@@ -433,7 +432,7 @@ int vtkPDataSetWriter::WriteImageMetaData(vtkImageData * input,
delete
[]
sendBuffer
;
}
for
(
i
=
0
;
i
<
this
->
NumberOfPieces
;
++
i
)
for
(
int
i
=
0
;
i
<
this
->
NumberOfPieces
;
++
i
)
{
pi
=
&
this
->
Extents
[
i
][
0
];
sprintf
(
str
,
this
->
FilePattern
,
root
,
i
);
...
...
Rendering/Core/vtkGlyph3DMapper.cxx
View file @
a4c8e855
...
...
@@ -386,12 +386,11 @@ void vtkGlyph3DMapper::PrintSelf(ostream& os, vtkIndent indent)
int
vtkGlyph3DMapper
::
RequestUpdateExtent
(
vtkInformation
*
vtkNotUsed
(
request
),
vtkInformationVector
**
inputVector
,
vtkInformationVector
*
outputVector
)
vtkInformationVector
*
)
{
// get the info objects
vtkInformation
*
inInfo
=
inputVector
[
0
]
->
GetInformationObject
(
0
);
vtkInformation
*
sourceInfo
=
inputVector
[
1
]
->
GetInformationObject
(
0
);
vtkInformation
*
outInfo
=
outputVector
->
GetInformationObject
(
0
);
if
(
sourceInfo
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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