Commit 43da9783 by Kai Westerkamp

pnts

parent d5562282
Pipeline #236 passed with stage
in 19 seconds
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile> <ClCompile>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
......
...@@ -162,8 +162,8 @@ void writePointCloud() { ...@@ -162,8 +162,8 @@ void writePointCloud() {
myfile.open("example.pnts", std::ios::out | std::ios::binary); myfile.open("example.pnts", std::ios::out | std::ios::binary);
myfile.write((char*)&header, 28); myfile.write((char*)&header, 28);
myfile << json; myfile << json;
myfile.write((char*)&points, 28); myfile.write((char*)&points, points.size()*4);
myfile.write((char*)&colors, 28); myfile.write((char*)&colors, colors.size()*4);
//myfile << //myfile <<
......
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