#if check for vtk >= 6
parent
add2f2decb
commit
5b2f5352eb
|
@ -721,7 +721,7 @@ void Operator::DumpPEC2File(string filename , unsigned int *range)
|
|||
filename += ".vtp";
|
||||
writer->SetFileName(filename.c_str());
|
||||
|
||||
#if VTK_MAJOR_VERSION==6
|
||||
#if VTK_MAJOR_VERSION>=6
|
||||
writer->SetInputData(polydata);
|
||||
#else
|
||||
writer->SetInput(polydata);
|
||||
|
|
|
@ -285,7 +285,7 @@ bool VTK_File_Writer::WriteASCII()
|
|||
}
|
||||
|
||||
writer->SetHeader(m_header.c_str());
|
||||
#if VTK_MAJOR_VERSION==6
|
||||
#if VTK_MAJOR_VERSION>=6
|
||||
writer->SetInputData(m_GridData);
|
||||
#else
|
||||
writer->SetInput(m_GridData);
|
||||
|
@ -316,7 +316,7 @@ bool VTK_File_Writer::WriteXML()
|
|||
return false;
|
||||
}
|
||||
|
||||
#if VTK_MAJOR_VERSION==6
|
||||
#if VTK_MAJOR_VERSION>=6
|
||||
writer->SetInputData(m_GridData);
|
||||
#else
|
||||
writer->SetInput(m_GridData);
|
||||
|
|
Loading…
Reference in New Issue