#include <CylinderGridTopology.h>


Public Member Functions | |
| CylinderGridTopology (int nx, int ny, int nz) | |
| CylinderGridTopology () | |
| unsigned | getIndex (int i, int j, int k) const |
| one-dimensional index of a grid point | |
| Vector3 | getPoint (int i) const |
| Vector3 | getPoint (int x, int y, int z) const |
| bool | hasPos () const |
| double | getPX (int i) const |
| double | getPY (int i) const |
| double | getPZ (int i) const |
Protected Attributes | |
| Data< Vector3 > | center |
| Data< Vector3 > | axis |
| Data< SReal > | radius |
| Data< SReal > | length |
Definition at line 42 of file CylinderGridTopology.h.
Definition at line 49 of file CylinderGridTopology.cpp.
| sofa::component::topology::CylinderGridTopology::CylinderGridTopology | ( | ) |
Definition at line 58 of file CylinderGridTopology.cpp.
one-dimensional index of a grid point
Definition at line 66 of file CylinderGridTopology.cpp.
References sofa::component::topology::GridTopology::n.
Definition at line 79 of file CylinderGridTopology.cpp.
References axis, center, cross(), sofa::component::topology::GridTopology::getNx(), sofa::component::topology::GridTopology::getNy(), sofa::component::topology::GridTopology::getNz(), sofa::core::objectmodel::Data< T >::getValue(), length, sofa::defaulttype::Vec< N, real >::norm(), norm(), sofa::defaulttype::Vec< N, real >::normalize(), sofa::helper::rabs(), radius, and sofa::helper::rmax().
Definition at line 71 of file CylinderGridTopology.cpp.
References sofa::component::topology::GridTopology::n.
| double sofa::component::topology::CylinderGridTopology::getPX | ( | int | i | ) | const [inline, virtual] |
Reimplemented from sofa::component::topology::MeshTopology.
Definition at line 53 of file CylinderGridTopology.h.
References getPoint().
| double sofa::component::topology::CylinderGridTopology::getPY | ( | int | i | ) | const [inline, virtual] |
Reimplemented from sofa::component::topology::MeshTopology.
Definition at line 54 of file CylinderGridTopology.h.
References getPoint().
| double sofa::component::topology::CylinderGridTopology::getPZ | ( | int | i | ) | const [inline, virtual] |
Reimplemented from sofa::component::topology::MeshTopology.
Definition at line 55 of file CylinderGridTopology.h.
References getPoint().
| bool sofa::component::topology::CylinderGridTopology::hasPos | ( | ) | const [inline, virtual] |
Reimplemented from sofa::component::topology::MeshTopology.
Definition at line 52 of file CylinderGridTopology.h.
Data< Vector3 > sofa::component::topology::CylinderGridTopology::axis [protected] |
Data< Vector3 > sofa::component::topology::CylinderGridTopology::center [protected] |
Data< SReal > sofa::component::topology::CylinderGridTopology::length [protected] |
Data< SReal > sofa::component::topology::CylinderGridTopology::radius [protected] |
1.5.7.1