Skip to content

Commit

Permalink
Merge pull request #188 from Chaircrusher/DoubleConversionFixes
Browse files Browse the repository at this point in the history
BUG: Compile errors w/packages turned off by default.
  • Loading branch information
Kent Williams committed Feb 7, 2013
2 parents 6092be5 + 194efaa commit 4134c36
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ QuadEdgeMeshVectorDataVTKPolyDataWriter<TMesh>
CellType* cellPointer = it.Value();
if( cellPointer->GetType() != 1 )
{
outputFile << doubleToString(c_it.Value());
for(unsigned _i = 0; _i < c_it.Value().Size(); ++_i)
{
outputFile << doubleToString(c_it.Value()[_i]);
if(_i < 2) { outputFile << " "; }
}
if( k++ % 3 == 0 )
{
outputFile <<std::endl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ int main( int argc, char **argv )

csvfile << ", " << doubleToString(sulcalArea->GetValue(i));
csvfile << ", " << doubleToString(sulcalThickness->GetValue(i));
csvfile << ", " << doubleToString(sulcalCurvature->GetValue(i) << std::endl);
csvfile << ", " << doubleToString(sulcalCurvature->GetValue(i)) << std::endl;
}

csvfile.close();
Expand Down
4 changes: 2 additions & 2 deletions BRAINSSurfaceTools/BRAINSSurfaceGeneration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})

StandardBRAINSBuildMacro(NAME BRAINSApplySurfaceLabels TARGET_LIBRARIES ${ITK_LIBRARIES} ${VTK_LIBRARIES})

StandardBRAINSBuildMacro(NAME BRAINSMeasureSurface TARGET_LIBRARIES ${ITK_LIBRARIES} ${VTK_LIBRARIES} )
StandardBRAINSBuildMacro(NAME BRAINSMeasureSurface TARGET_LIBRARIES BRAINSCommonLib ${VTK_LIBRARIES} )

StandardBRAINSBuildMacro(NAME BRAINSSurfaceGeneration
ADDITIONAL_SRCS vtkITKArchetypeImageSeriesReader.cxx vtkITKArchetypeImageSeriesScalarReader.cxx
TARGET_LIBRARIES ${ITK_LIBRARIES} ${VTK_LIBRARIES} )
TARGET_LIBRARIES BRAINSCommonLib ${ITK_LIBRARIES} ${VTK_LIBRARIES} )

if (BUILD_TESTING)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StandardBRAINSBuildMacro(NAME MultiResolutionRegistration TARGET_LIBRARIES ${ITK_LIBRARIES})
StandardBRAINSBuildMacro(NAME MultiResolutionRegistration TARGET_LIBRARIES BRAINSCommonLib )

if (BUILD_TESTING)

Expand Down

0 comments on commit 4134c36

Please sign in to comment.