#include <ImFusion/Seg/ReferenceShape.h>
Class defining a reference shape for which the conversion between local and world coordinates is a linear map (matrix multiplication + vector)
More...
Class defining a reference shape for which the conversion between local and world coordinates is a linear map (matrix multiplication + vector)
|
| vec3 | worldToLocal (vec3 p) const override |
| |
| vec3 | localToWorld (vec3 p) const override |
| |
|
void | addMargin (double margin, int axis=0) |
| |
|
double | lowerBound (int axis) const |
| |
|
double | upperBound (int axis) const |
| |
|
std::pair< double, double > | range (int axis) const |
| |
|
bool | isOk () const |
| |
|
virtual bool | is2D () const |
| |
|
|
void | setWorldToLocalMatrix (const mat4 &mat) |
| |
|
void | setLocalToWorldMatrix (const mat4 &mat) |
| |
|
void | computeBounds (const std::vector< vec2 > &points) |
| |
|
|
vec3 | m_origin = {0, 0, 0} |
| |
|
mat4 | m_worldToLocalMatrix = mat4::Identity() |
| |
|
mat4 | m_localToWorldMatrix = mat4::Identity() |
| |
|
vec3 | m_lowerBounds = {0, 0, 0} |
| |
|
vec3 | m_upperBounds = {0, 0, 0} |
| |
|
bool | m_isOk = true |
| |
◆ worldToLocal()
| vec3 worldToLocal |
( |
vec3 | p | ) |
const |
|
overridevirtual |
◆ localToWorld()
| vec3 localToWorld |
( |
vec3 | p | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file:
- ImFusion/Seg/ReferenceShape.h