Commit 0f0368de authored by Yumin Yuan's avatar Yumin Yuan
Browse files

Fix compile errors and warnings on Linux

Change-Id: I058d12c2bf7cd7e82ab06815c46609d543b1f728
parent 260d7067
......@@ -115,9 +115,12 @@ void vtkSMMultiSliceViewProxy::InitDefaultSlices(
ySlices.push_back(center[1]);
zSlices.push_back(center[2]);
vtkSMPropertyHelper(this, "XSlicesValues").Set(&xSlices[0], xSlices.size());
vtkSMPropertyHelper(this, "YSlicesValues").Set(&ySlices[0], ySlices.size());
vtkSMPropertyHelper(this, "ZSlicesValues").Set(&zSlices[0], ySlices.size());
vtkSMPropertyHelper(this, "XSlicesValues").Set(&xSlices[0],
static_cast<unsigned int>(xSlices.size()));
vtkSMPropertyHelper(this, "YSlicesValues").Set(&ySlices[0],
static_cast<unsigned int>(ySlices.size()));
vtkSMPropertyHelper(this, "ZSlicesValues").Set(&zSlices[0],
static_cast<unsigned int>(ySlices.size()));
}
}
}
......
......@@ -23,6 +23,8 @@
#include "vtkPVServerManagerRenderingModule.h" //needed for exports
#include "vtkSMRenderViewProxy.h"
class vtkSMSourceProxy;
class VTKPVSERVERMANAGERRENDERING_EXPORT vtkSMMultiSliceViewProxy : public vtkSMRenderViewProxy
{
public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment