AnimaL |
Tutorial |
Documentation |
#include <fastoctreedeformableconstrained.h>
Definition at line 243 of file fastoctreedeformableconstrained.h.
Public Member Functions | |
Data & | operator * () |
Data * | operator-> () |
const Data & | operator * () const |
const Data * | operator-> () const |
void | setData (const Data d) |
Data & | getData () |
void | subdivide (const S &defaultData=S()) |
void | simplify () |
Cell * | locate (const U &p) |
bool | isLeaf () const |
Vertex * | vertex (unsigned short i) const |
Cell * | father () const |
unsigned short | fatherPos () const |
Cell * | child (unsigned short i) const |
Vertex | center () const |
Vertex | diagonal () const |
FloatingPointType | size (unsigned short i) const |
Face | face (unsigned short pos) const |
Cell * | cellSharingFace (unsigned short i) const |
template<class O> O | copyChildrenTouchingFace (unsigned short face, O output) const |
template<class O> O | copyCellsTouchingFace (unsigned short face, O output) const |
Cell * | cellSharingEdge (unsigned short i) const |
bool | hasUncleSharingFace (unsigned short i) const |
bool | hasUncleSharingEdge (unsigned short edge) const |
Cell * | uncleSharingFace (unsigned short i) const |
bool | edgeOnRootFace (unsigned short edge) const |
bool | edgeOnRootEdge (unsigned short edge) const |
bool | faceOnRootFace (unsigned short face) const |
bool | contains (const U &p) const |
int | memorySize () const |
bool | isRoot () const |
Cell * | getNeighbour (const unsigned int f) const |
Get the neighbour connected on face f . | |
void | printPos (std::ostream &out) const |
Public Attributes | |
Data | data_ |
Cell * | children_ [8] |
Cell * | father_ |
unsigned short | pos_ |
VertexPtr | vertices_ [8] |
std::deque< VertexPtr > | toDelete_ |
Static Public Attributes | |
const unsigned short | connectedVertices [8][3] |
Protected Member Functions | |
Cell (Cell &f, unsigned short p, VertexPtr vertices[27], const S &defaultData) | |
Cell (const U &min, const FloatingPointType &size, const S &defaultData=S()) | |
Cell (const U &min, const FloatingPointType &,const FloatingPointType &,const FloatingPointType &, const S &defaultData=S()) | |
~Cell () | |
VertexPtr | createRootVertex (const FloatingPointType x, const FloatingPointType y, const FloatingPointType z) |
VertexPtr | createFreeVertex (const U &v) |
VertexPtr | createFreeVertex (const FloatingPointType x, const FloatingPointType y, const FloatingPointType z) |
VertexPtr | createFreeVertex (VertexPtr v1, VertexPtr v2) |
VertexPtr | createFreeVertex (VertexPtr v1, VertexPtr v2, VertexPtr v3, VertexPtr v4) |
VertexPtr | createFreeVertex (VertexPtr v1, VertexPtr v2, VertexPtr v3, VertexPtr v4, VertexPtr v5, VertexPtr v6, VertexPtr v7, VertexPtr v8) |
VertexPtr | createLinkedVertex (VertexPtr v1, VertexPtr v2) |
VertexPtr | createLinkedVertex (VertexPtr v1, VertexPtr v2, VertexPtr v3, VertexPtr v4) |
VertexPtr & | vertexPtrAtCenterOfFace (unsigned short face) |
VertexPtr & | vertexPtrAtCenterOfEdge (unsigned short edge) |
void | removeVertex (VertexPtr vp) |
Protected Attributes | |
Cell * | _faceNeighbours [6] |
The 6 face neighbours. | |
Static Protected Attributes | |
const unsigned short | faceAlongEdge [12][2] |
Friends | |
class | FastOctree< T, S, U > |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 273 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Data, and animal::octree::FastOctree< T, S, U >::Cell::data_. |
|
Get the neighbour connected on face
Definition at line 325 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Cell::_faceNeighbours, and Require. |
|
|
|
|
|
|
|
Definition at line 316 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Cell::father_. |
|
|
|
|
|
Definition at line 260 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Data, and animal::octree::FastOctree< T, S, U >::Cell::data_. |
|
Use this public member to store any data at each cell of the octree. One should also use the Definition at line 252 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Data, and animal::octree::FastOctree< T, S, U >::Cell::data_. |
|
Definition at line 264 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Data, and animal::octree::FastOctree< T, S, U >::Cell::data_. |
|
Definition at line 256 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Data, and animal::octree::FastOctree< T, S, U >::Cell::data_. |
|
|
|
|
|
Definition at line 269 of file fastoctreedeformableconstrained.h. References animal::octree::FastOctree< T, S, U >::Data, and animal::octree::FastOctree< T, S, U >::Cell::data_. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 334 of file fastoctreedeformableconstrained.h. |
|
The 6 face neighbours.
Definition at line 339 of file fastoctreedeformableconstrained.h. Referenced by animal::octree::FastOctree< T, S, U >::Cell::getNeighbour(). |
|
Definition at line 369 of file fastoctreedeformableconstrained.h. |
|
Definition at line 376 of file fastoctreedeformableconstrained.h. |
|
|
Definition at line 363 of file fastoctreedeformableconstrained.h. |
|
Definition at line 370 of file fastoctreedeformableconstrained.h. Referenced by animal::octree::FastOctree< T, S, U >::Cell::isRoot(). |
|
Definition at line 371 of file fastoctreedeformableconstrained.h. |
|
Definition at line 373 of file fastoctreedeformableconstrained.h. |
|
Definition at line 372 of file fastoctreedeformableconstrained.h. |