nvcloth/1.1.6

NvCloth is a library that provides low level access to a cloth solver designed for realtime interactive applications.
Recipe info
Nvidia Source Code License (1-Way Commercial)
2024-03-21

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
nvcloth/1.1.6

Using nvcloth

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
nvcloth/1.1.6
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("nvcloth/1.1.6")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): nvcloth
  • CMake target name(s): nvcloth::nvcloth
  • pkg-config file name(s): nvcloth.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(nvcloth REQUIRED)
# ...
target_link_libraries(YOUR_TARGET nvcloth::nvcloth)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the nvcloth homepage listed above:

#include "NvCloth/Allocator.h"
#include "NvCloth/Callbacks.h"
#include "NvCloth/Cloth.h"
#include "NvCloth/DxContextManagerCallback.h"
#include "NvCloth/Fabric.h"
#include "NvCloth/Factory.h"
#include "NvCloth/PhaseConfig.h"
#include "NvCloth/Range.h"
#include "NvCloth/Solver.h"
#include "NvCloth/ps/Ps.h"
#include "NvCloth/ps/PsAlignedMalloc.h"
#include "NvCloth/ps/PsAllocator.h"
#include "NvCloth/ps/PsArray.h"
#include "NvCloth/ps/PsAtomic.h"
#include "NvCloth/ps/PsBasicTemplates.h"
#include "NvCloth/ps/PsBitUtils.h"
#include "NvCloth/ps/PsHash.h"
#include "NvCloth/ps/PsHashInternals.h"
#include "NvCloth/ps/PsHashMap.h"
#include "NvCloth/ps/PsIntrinsics.h"
#include "NvCloth/ps/PsMathUtils.h"
#include "NvCloth/ps/PsUserAllocated.h"
#include "NvCloth/ps/unix/PsUnixIntrinsics.h"
#include "NvCloth/ps/windows/PsWindowsIntrinsics.h"
#include "NvClothExt/ClothFabricCooker.h"
#include "NvClothExt/ClothMeshDesc.h"
#include "NvClothExt/ClothMeshQuadifier.h"
#include "NvClothExt/ClothTetherCooker.h"
#include "foundation/Px.h"
#include "foundation/PxAllocatorCallback.h"
#include "foundation/PxBitAndData.h"
#include "foundation/PxBounds3.h"
#include "foundation/PxErrorCallback.h"
#include "foundation/PxErrors.h"
#include "foundation/PxFlags.h"
#include "foundation/PxIO.h"
#include "foundation/PxIntrinsics.h"
#include "foundation/PxMat33.h"
#include "foundation/PxMat44.h"
#include "foundation/PxMath.h"
#include "foundation/PxMemory.h"
#include "foundation/PxPlane.h"
#include "foundation/PxPreprocessor.h"
#include "foundation/PxProfiler.h"
#include "foundation/PxQuat.h"
#include "foundation/PxSharedAssert.h"
#include "foundation/PxSimpleTypes.h"
#include "foundation/PxStrideIterator.h"
#include "foundation/PxTransform.h"
#include "foundation/PxUnionCast.h"
#include "foundation/PxVec2.h"
#include "foundation/PxVec3.h"
#include "foundation/PxVec4.h"
#include "foundation/unix/PxUnixIntrinsics.h"
#include "foundation/windows/PxWindowsIntrinsics.h"