![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <Particle.h>

Public Member Functions | |
| Particle () | |
| Particle (Vec3 posVec, double time_step) | |
| void | timeStep () |
| bool | isMovable () const |
| void | addForce (const Vec3 &f) |
| void | resetAcceleration () |
| void | offsetPos (const Vec3 v) |
| void | makeUnmovable () |
| void | satisfyConstraintSelf (int constraintTimes) |
Public Attributes | |
| bool | isVisited |
| int | pos_x |
| int | pos_y |
| int | c_pos |
| Vec3 | pos |
| Vec3 | old_pos |
| std::vector< Particle * > | neighborsList |
| std::vector< int > | correspondingLidarPointList |
| std::size_t | nearestPointIndex |
| double | nearestPointHeight |
| double | tmpDist |
Definition at line 19 of file Particle.h.
|
inline |
Definition at line 58 of file Particle.h.
|
inline |
Definition at line 78 of file Particle.h.
|
inline |
Definition at line 90 of file Particle.h.
|
inline |
Definition at line 88 of file Particle.h.
Referenced by Cloth::findUnmovablePoint(), Cloth::movableFilter(), and satisfyConstraintSelf().
|
inline |
Definition at line 98 of file Particle.h.
Referenced by Cloth::findUnmovablePoint(), and Cloth::terrainCollision().
|
inline |
Definition at line 94 of file Particle.h.
References pos.
Referenced by satisfyConstraintSelf(), and Cloth::terrainCollision().
|
inline |
Definition at line 92 of file Particle.h.
| void Particle::satisfyConstraintSelf | ( | int | constraintTimes | ) |
Definition at line 39 of file Particle.cpp.
References doubleMove1, isMovable(), neighborsList, offsetPos(), pos, singleMove1, and Vec3::y.
| void Particle::timeStep | ( | ) |
Definition at line 13 of file Particle.cpp.
| int Particle::c_pos |
Definition at line 37 of file Particle.h.
| std::vector<int> Particle::correspondingLidarPointList |
Definition at line 48 of file Particle.h.
Referenced by Rasterization::RasterTerrain().
| bool Particle::isVisited |
Definition at line 33 of file Particle.h.
Referenced by Rasterization::findHeightValByNeighbor(), and Cloth::movableFilter().
| double Particle::nearestPointHeight |
Definition at line 52 of file Particle.h.
Referenced by Rasterization::findHeightValByNeighbor(), Rasterization::findHeightValByScanline(), and Rasterization::RasterTerrain().
| std::size_t Particle::nearestPointIndex |
Definition at line 50 of file Particle.h.
Referenced by Rasterization::RasterTerrain().
| std::vector<Particle*> Particle::neighborsList |
Definition at line 44 of file Particle.h.
Referenced by Rasterization::findHeightValByNeighbor(), and satisfyConstraintSelf().
| Vec3 Particle::old_pos |
Definition at line 39 of file Particle.h.
Referenced by Particle(), and timeStep().
| Vec3 Particle::pos |
Definition at line 38 of file Particle.h.
Referenced by Cloud2CloudDist::Compute(), Cloth::findUnmovablePoint(), offsetPos(), Particle(), Rasterization::RasterTerrain(), satisfyConstraintSelf(), Cloth::terrainCollision(), timeStep(), and Cloth::toMesh().
| int Particle::pos_x |
Definition at line 35 of file Particle.h.
Referenced by Rasterization::findHeightValByScanline().
| int Particle::pos_y |
Definition at line 36 of file Particle.h.
Referenced by Rasterization::findHeightValByScanline().
| double Particle::tmpDist |
Definition at line 54 of file Particle.h.
Referenced by Rasterization::RasterTerrain().