|
Oolite
|
Include dependency graph for OOMeshToOctreeConverter.m:Go to the source code of this file.
Macros | |
| #define | DECL_GEOMETRY(NAME, CAP) GeometryData NAME; InitGeometryData(&NAME, CAP); |
Typedefs | |
| typedef struct OOMeshToOctreeConverterInternalData | GeometryData |
Functions | |
| OOINLINE void | InitGeometryData (GeometryData *data, uint_fast32_t capacity) |
| OOINLINE void | DestroyGeometryData (GeometryData *data) |
| OOINLINE void | AddTriangle (GeometryData *data, Triangle tri) |
| static NO_INLINE_FUNC void | AddTriangle_slow (GeometryData *data, Triangle tri) |
| static OOScalar | MaxDimensionFromOrigin (GeometryData *data) |
| void | BuildSubOctree (GeometryData *data, OOOctreeBuilder *builder, OOScalar halfWidth, NSUInteger depth) |
| static void | SplitGeometryX (GeometryData *data, GeometryData *dPlus, GeometryData *dMinus, OOScalar x) |
| static void | SplitGeometryY (GeometryData *data, GeometryData *dPlus, GeometryData *dMinus, OOScalar y) |
| static void | SplitGeometryZ (GeometryData *data, GeometryData *dPlus, GeometryData *dMinus, OOScalar z) |
| static void | TranslateGeometryX (GeometryData *data, OOScalar offset) |
| static void | TranslateGeometryY (GeometryData *data, OOScalar offset) |
| static void | TranslateGeometryZ (GeometryData *data, OOScalar offset) |
| #define DECL_GEOMETRY | ( | NAME, | |
| CAP | |||
| ) | GeometryData NAME; InitGeometryData(&NAME, CAP); |
| typedef struct OOMeshToOctreeConverterInternalData GeometryData |
Definition at line 111 of file OOMeshToOctreeConverter.m.
| OOINLINE void AddTriangle | ( | GeometryData * | data, |
| Triangle | tri | ||
| ) |
Definition at line 217 of file OOMeshToOctreeConverter.m.
References AddTriangle_slow().
Referenced by SplitGeometryX(), SplitGeometryY(), and SplitGeometryZ().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 903 of file OOMeshToOctreeConverter.m.
Referenced by AddTriangle().
Here is the caller graph for this function:| void BuildSubOctree | ( | GeometryData * | data, |
| OOOctreeBuilder * | builder, | ||
| OOScalar | halfWidth, | ||
| NSUInteger | depth | ||
| ) |
Definition at line 308 of file OOMeshToOctreeConverter.m.
References OOOctreeBuilder::beginInnerNode, BuildSubOctree(), DECL_GEOMETRY, DestroyGeometryData(), OOOctreeBuilder::endInnerNode, OCTREE_MIN_HALF_WIDTH, SplitGeometryX(), SplitGeometryY(), SplitGeometryZ(), OOOctreeBuilder::writeEmpty, and OOOctreeBuilder::writeSolid.
Referenced by BuildSubOctree().
Here is the call graph for this function:
Here is the caller graph for this function:| OOINLINE void DestroyGeometryData | ( | GeometryData * | data | ) |
Definition at line 196 of file OOMeshToOctreeConverter.m.
References kOOMeshToOctreeConverterSmallDataCapacity.
Referenced by BuildSubOctree().
Here is the caller graph for this function:| void InitGeometryData | ( | GeometryData * | data, |
| uint_fast32_t | capacity | ||
| ) |
Definition at line 185 of file OOMeshToOctreeConverter.m.
References kOOMeshToOctreeConverterSmallDataCapacity.
|
static |
Definition at line 290 of file OOMeshToOctreeConverter.m.
|
static |
Definition at line 489 of file OOMeshToOctreeConverter.m.
References AddTriangle(), count, TranslateGeometryX(), and x.
Referenced by BuildSubOctree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 621 of file OOMeshToOctreeConverter.m.
References AddTriangle(), count, TranslateGeometryY(), and y.
Referenced by BuildSubOctree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 754 of file OOMeshToOctreeConverter.m.
References AddTriangle(), count, and TranslateGeometryZ().
Referenced by BuildSubOctree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 441 of file OOMeshToOctreeConverter.m.
References count.
Referenced by SplitGeometryX().
Here is the caller graph for this function:
|
static |
Definition at line 457 of file OOMeshToOctreeConverter.m.
References count.
Referenced by SplitGeometryY().
Here is the caller graph for this function:
|
static |
Definition at line 473 of file OOMeshToOctreeConverter.m.
References count.
Referenced by SplitGeometryZ().
Here is the caller graph for this function: