Abstract mesh. More...
Inherited by coat::scripto::MeshX< T >.
Public Types | |
enum | Mode { Add = 0, Subtract = 1, Intersect = 2 } |
typedef comms::cMeshContainer | raw_t |
Public Member Functions | |
mRaw (raw) | |
AMesh (const AAbout &d) | |
const AAbout & | aabout () const |
bool | operator== (const AMesh &b) const |
Comparison. More... | |
T & | details (const float &d) |
Setter for details level. | |
float | details () const |
Getter for details level. | |
T & | position (const Vec3 &p) |
Setter for position. | |
Vec3 | position () const |
Getter for position. | |
T & | rotation (const Angles &a) |
Setter for rotation. | |
Angles | rotation () const |
Getter for rotation. | |
T & | transform (const Mat4 &m) |
Setter for transform. | |
Mat4 | transform () const |
Getter for transform. | |
T & | add (const T &b) |
Fusion a mesh b to this mesh. More... | |
T & | add (const T &, const Bevel &) |
Fusion a mesh b to this mesh with bevel. More... | |
Mesh | addCopy (const T &b) const |
Mesh | addCopy (const T &, const Bevel &) const |
Mesh | operator| (const T &) const |
Fusion two meshes to one mesh. Logical OR . More... | |
T & | subtruct (const T &b) |
Fusion a mesh b to this mesh. More... | |
T & | subtruct (const T &, const Bevel &) |
Fusion a mesh b to this mesh with bevel. More... | |
Mesh | subtructCopy (const T &b) const |
Mesh | subtructCopy (const T &, const Bevel &) const |
Mesh | operator- (const T &) const |
Subtract mesh b from this mesh. More... | |
T & | intersect (const T &b) |
Fusion a mesh b to this mesh. More... | |
T & | intersect (const T &, const Bevel &) |
Fusion a mesh b to this mesh with bevel. More... | |
Mesh | intersectCopy (const T &b) const |
Mesh | intersectCopy (const T &, const Bevel &) const |
Mesh | operator& (const T &) const |
Intersects mesh b and this mesh. Logical AND . More... | |
const raw_t & | raw () const |
raw_t & | raw () |
Protected Member Functions | |
T & | castThis () |
Protected Attributes | |
AAbout | mAAbout |
raw_t | mRaw |
|
strong |
Operations with meshes.
|
inline |
Comparison.
|
inline |
T & coat::scripto::AMesh< T >::add | ( | const T & | b, |
const Bevel & | o | ||
) |
Fusion a mesh b
to this mesh with bevel.
Mesh coat::scripto::AMesh< T >::addCopy | ( | const T & | b | ) | const |
Mesh coat::scripto::AMesh< T >::addCopy | ( | const T & | b, |
const Bevel & | o | ||
) | const |
Mesh coat::scripto::AMesh< T >::operator| | ( | const T & | b | ) | const |
|
inline |
T & coat::scripto::AMesh< T >::subtruct | ( | const T & | b, |
const Bevel & | o | ||
) |
Mesh coat::scripto::AMesh< T >::subtructCopy | ( | const T & | b | ) | const |
Mesh coat::scripto::AMesh< T >::subtructCopy | ( | const T & | b, |
const Bevel & | o | ||
) | const |
Mesh coat::scripto::AMesh< T >::operator- | ( | const T & | b | ) | const |
|
inline |
T & coat::scripto::AMesh< T >::intersect | ( | const T & | b, |
const Bevel & | o | ||
) |
Mesh coat::scripto::AMesh< T >::intersectCopy | ( | const T & | b | ) | const |
Mesh coat::scripto::AMesh< T >::intersectCopy | ( | const T & | b, |
const Bevel & | o | ||
) | const |
Mesh coat::scripto::AMesh< T >::operator& | ( | const T & | b | ) | const |