From fabb251458f4a2d6d4f87dd36038fac2774b378c Mon Sep 17 00:00:00 2001 From: Marijn Tamis Date: Fri, 20 Oct 2017 14:30:56 +0200 Subject: NvCloth 1.1.3 Release. (23014067) --- NvCloth/docs/doxy/files/_solver_8h-source.html | 105 +++++++++++---------- NvCloth/docs/doxy/files/_solver_8h.html | 1 + .../doxy/files/classnv_1_1cloth_1_1_cloth.html | 2 +- .../files/classnv_1_1cloth_1_1_solver-members.html | 1 + .../doxy/files/classnv_1_1cloth_1_1_solver.html | 25 +++++ NvCloth/docs/doxy/files/functions.html | 2 + NvCloth/docs/doxy/files/functions_func.html | 2 + 7 files changed, 86 insertions(+), 52 deletions(-) (limited to 'NvCloth/docs/doxy') diff --git a/NvCloth/docs/doxy/files/_solver_8h-source.html b/NvCloth/docs/doxy/files/_solver_8h-source.html index 5f9fd48..bb3acb1 100644 --- a/NvCloth/docs/doxy/files/_solver_8h-source.html +++ b/NvCloth/docs/doxy/files/_solver_8h-source.html @@ -65,59 +65,62 @@ 00030 #pragma once 00031 00032 #include "NvCloth/Allocator.h" -00033 #include "PsArray.h" -00034 -00035 namespace nv -00036 { -00037 namespace cloth -00038 { -00039 -00040 class Cloth; -00041 -00042 // called during inter-collision, user0 and user1 are the user data from each cloth -00043 typedef bool (*InterCollisionFilter)(void* user0, void* user1); -00044 -00046 class Solver : public UserAllocated -00047 { -00048 protected: -00049 Solver() {} -00050 Solver(const Solver&); -00051 Solver& operator = (const Solver&); -00052 -00053 public: -00054 virtual ~Solver() {} -00055 -00057 virtual void addCloth(Cloth* cloth) = 0; -00058 -00060 virtual void removeCloth(Cloth* cloth) = 0; -00061 -00063 virtual int getNumCloths() const = 0; -00064 -00066 virtual Cloth * const * getClothList() const = 0; -00067 -00068 // functions executing the simulation work. -00074 virtual bool beginSimulation(float dt) = 0; -00075 -00081 virtual void simulateChunk(int idx) = 0; -00082 -00086 virtual void endSimulation() = 0; -00087 -00090 virtual int getSimulationChunkCount() const = 0; +00033 #include "NvCloth/Range.h" +00034 #include "PsArray.h" +00035 +00036 namespace nv +00037 { +00038 namespace cloth +00039 { +00040 +00041 class Cloth; +00042 +00043 // called during inter-collision, user0 and user1 are the user data from each cloth +00044 typedef bool (*InterCollisionFilter)(void* user0, void* user1); +00045 +00047 class Solver : public UserAllocated +00048 { +00049 protected: +00050 Solver() {} +00051 Solver(const Solver&); +00052 Solver& operator = (const Solver&); +00053 +00054 public: +00055 virtual ~Solver() {} +00056 +00058 virtual void addCloth(Cloth* cloth) = 0; +00059 +00061 virtual void addCloths(Range<Cloth*> cloths) = 0; +00062 +00064 virtual void removeCloth(Cloth* cloth) = 0; +00065 +00067 virtual int getNumCloths() const = 0; +00068 +00070 virtual Cloth * const * getClothList() const = 0; +00071 +00072 // functions executing the simulation work. +00078 virtual bool beginSimulation(float dt) = 0; +00079 +00085 virtual void simulateChunk(int idx) = 0; +00086 +00090 virtual void endSimulation() = 0; 00091 -00092 // inter-collision parameters -00093 virtual void setInterCollisionDistance(float distance) = 0; -00094 virtual float getInterCollisionDistance() const = 0; -00095 virtual void setInterCollisionStiffness(float stiffness) = 0; -00096 virtual float getInterCollisionStiffness() const = 0; -00097 virtual void setInterCollisionNbIterations(uint32_t nbIterations) = 0; -00098 virtual uint32_t getInterCollisionNbIterations() const = 0; -00099 virtual void setInterCollisionFilter(InterCollisionFilter filter) = 0; -00100 -00102 virtual bool hasError() const = 0; -00103 }; +00094 virtual int getSimulationChunkCount() const = 0; +00095 +00096 // inter-collision parameters +00097 virtual void setInterCollisionDistance(float distance) = 0; +00098 virtual float getInterCollisionDistance() const = 0; +00099 virtual void setInterCollisionStiffness(float stiffness) = 0; +00100 virtual float getInterCollisionStiffness() const = 0; +00101 virtual void setInterCollisionNbIterations(uint32_t nbIterations) = 0; +00102 virtual uint32_t getInterCollisionNbIterations() const = 0; +00103 virtual void setInterCollisionFilter(InterCollisionFilter filter) = 0; 00104 -00105 } // namespace cloth -00106 } // namespace nv +00106 virtual bool hasError() const = 0; +00107 }; +00108 +00109 } // namespace cloth +00110 } // namespace nv

Solver.h File Reference

#include "NvCloth/Allocator.h"
+#include "NvCloth/Range.h"
#include "PsArray.h"

diff --git a/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_cloth.html b/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_cloth.html index 0e30c3f..87245b7 100644 --- a/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_cloth.html +++ b/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_cloth.html @@ -2626,7 +2626,7 @@ This applies a force to make the cloth behave as if it was moved through space.

Set triangles for collision.

-Each triangle in the list is defined by of 3 vertices. The values currently in range [first, last[ will be replaced with the content of convexMasks. +Each triangle in the list is defined by of 3 vertices. The values currently in range [first, last[ will be replaced with the content of triangles.

diff --git a/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver-members.html b/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver-members.html index ae29791..4bd802e 100644 --- a/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver-members.html +++ b/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver-members.html @@ -40,6 +40,7 @@

nv::cloth::Solver Member List

This is the complete list of members for nv::cloth::Solver, including all inherited members.

+ diff --git a/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver.html b/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver.html index b2262bf..245cda9 100644 --- a/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver.html +++ b/NvCloth/docs/doxy/files/classnv_1_1cloth_1_1_solver.html @@ -53,6 +53,9 @@ + + + @@ -182,6 +185,28 @@ base class for solvers

Constructor & Destructor Documentation

Adds cloth object.

+ +

+ +

+
+
addCloth(Cloth *cloth)=0nv::cloth::Solver [pure virtual]
addCloths(Range< Cloth * > cloths)=0nv::cloth::Solver [pure virtual]
beginSimulation(float dt)=0nv::cloth::Solver [pure virtual]
endSimulation()=0nv::cloth::Solver [pure virtual]
getClothList() const =0nv::cloth::Solver [pure virtual]
virtual void addCloth (Cloth *cloth)=0
 Adds cloth object.
virtual void addCloths (Range< Cloth * > cloths)=0
 Adds an array of cloth objects.
virtual bool beginSimulation (float dt)=0
 Begins a simulation frame.
+ + + + + + + + +
virtual void nv::cloth::Solver::addCloths (Range< Cloth * >  cloths  )  [pure virtual]
+

+
+ +

+Adds an array of cloth objects. +

+

diff --git a/NvCloth/docs/doxy/files/functions.html b/NvCloth/docs/doxy/files/functions.html index 9bae6da..7c5ccc7 100644 --- a/NvCloth/docs/doxy/files/functions.html +++ b/NvCloth/docs/doxy/files/functions.html @@ -80,6 +80,8 @@ Here is a list of all class members with links to the classes they belong to: : nv::cloth::DxContextManagerCallback

  • addCloth() : nv::cloth::Solver +
  • addCloths() +: nv::cloth::Solver
  • at() : nv::cloth::StridedData diff --git a/NvCloth/docs/doxy/files/functions_func.html b/NvCloth/docs/doxy/files/functions_func.html index c30ffb0..764eea6 100644 --- a/NvCloth/docs/doxy/files/functions_func.html +++ b/NvCloth/docs/doxy/files/functions_func.html @@ -80,6 +80,8 @@ : nv::cloth::DxContextManagerCallback
  • addCloth() : nv::cloth::Solver +
  • addCloths() +: nv::cloth::Solver
  • at() : nv::cloth::StridedData -- cgit v1.2.3