add vcglib
This commit is contained in:
1 parent
6f6c0c8eb7
commit
af8100f851
1537 files changed
+634197
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#include <simplex\vertex\with\a.h>
|
||||
#include <simplex\tetrahedron\with\avq.h>
|
||||
#include <simplex\face\with\fa.h>
|
||||
#include <complex\tetramesh\base.h>
|
||||
#include <complex\tetramesh\update\topology.h>
|
||||
#include <complex\tetramesh\update\allocate.h>
|
||||
#include<vector>
|
||||
#include<complex\tetramesh\update\triconvert.h>
|
||||
#include<complex\trimesh\base.h>
|
||||
using namespace vcg;
|
||||
using namespace tetra;
|
||||
using namespace tri;
|
||||
#include<apps\test\tetramesh\test\myclasses.h>
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
MyMesh tm=MyMesh();
|
||||
UpdateTopology<vector<MyVertex>,vector<MyTetrahedron> > ut= UpdateTopology<vector<MyVertex>,vector<MyTetrahedron> >();
|
||||
Allocator<MyMesh> All= Allocator<MyMesh>();
|
||||
vector<MyVertex **> local_var=vector<MyVertex **>();
|
||||
char* filename="sphere.ts";
|
||||
tm.LoadTs(filename,1);
|
||||
ut.TTTopology(tm.vert,tm.tetra);
|
||||
ut.TestTTTopology(tm.vert,tm.tetra);
|
||||
ut.VTTopology(tm.vert,tm.tetra);
|
||||
All.AddVertices(tm,10,local_var);
|
||||
All.AddVertices(tm,10);
|
||||
ut.TestTTTopology(tm.vert,tm.tetra);
|
||||
MyTriMesh mesh;
|
||||
TriConverter <MyMesh,MyTriMesh>tric=TriConverter<MyMesh,MyTriMesh>();
|
||||
tric.Convert(tm,mesh);
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 7.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test.vcproj", "{27987C13-6147-48FE-AA21-B2175451AA13}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
ConfigName.0 = Debug
|
||||
ConfigName.1 = Release
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectDependencies) = postSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{27987C13-6147-48FE-AA21-B2175451AA13}.Debug.ActiveCfg = Debug|Win32
|
||||
{27987C13-6147-48FE-AA21-B2175451AA13}.Debug.Build.0 = Debug|Win32
|
||||
{27987C13-6147-48FE-AA21-B2175451AA13}.Release.ActiveCfg = Release|Win32
|
||||
{27987C13-6147-48FE-AA21-B2175451AA13}.Release.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityAddIns) = postSolution
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Binary file not shown.
@@ -0,0 +1,142 @@
|
||||
<?xml version="1.0" encoding = "Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.00"
|
||||
Name="test"
|
||||
ProjectGUID="{27987C13-6147-48FE-AA21-B2175451AA13}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="d:\sf\vcg\;d:\sf;d:\sf\vcg\simplex;"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="4"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="$(OutDir)/test.exe"
|
||||
LinkIncremental="2"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
OmitFramePointers="TRUE"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="4"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="$(OutDir)/test.exe"
|
||||
LinkIncremental="1"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
||||
<File
|
||||
RelativePath="test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc">
|
||||
<File
|
||||
RelativePath="..\..\..\..\vcg\complex\tetramesh\update\allocate.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\..\vcg\simplex\tetrahedron\base.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\..\vcg\complex\tetramesh\base.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="myclasses.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\..\vcg\space\tetra4.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\..\vcg\complex\tetramesh\update\topology.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\..\vcg\complex\tetramesh\update\triconvert.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
Reference in new issue
Block a user