#include <Shape.hpp>
Definition at line 49 of file Shape.hpp.
◆ Visitor1Func
Visitor1 method.
- Parameters
-
- Returns
- true to signal operation complete and to stop traversal, otherwise false
Definition at line 56 of file Shape.hpp.
◆ Visitor2Func
Visitor2 method.
- Parameters
-
- Returns
- true to signal operation complete and to stop traversal, otherwise false
Definition at line 64 of file Shape.hpp.
◆ MoveEventCallback
Shape
move listener
- Parameters
-
s | the moved shape |
origin | original position, relative object coordinates to the associated Shape |
dest | new position, relative object coordinates to the associated Shape |
e | original Newt MouseEvent |
Definition at line 73 of file Shape.hpp.
◆ PointerEventCallback
◆ ShapeEventCallback
◆ Shape()
gamp::graph::ui::Shape::Shape |
( |
| ) |
|
|
inline |
◆ asContainer()
virtual Container * gamp::graph::ui::Shape::asContainer |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ position() [1/2]
const Vec3f & gamp::graph::ui::Shape::position |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ position() [2/2]
Vec3f & gamp::graph::ui::Shape::position |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ zOffset() [1/2]
const float & gamp::graph::ui::Shape::zOffset |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ zOffset() [2/2]
float & gamp::graph::ui::Shape::zOffset |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ rotation() [1/2]
const Quat4f & gamp::graph::ui::Shape::rotation |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ rotation() [2/2]
Quat4f & gamp::graph::ui::Shape::rotation |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ rotationPivot() [1/2]
const Vec3f & gamp::graph::ui::Shape::rotationPivot |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ rotationPivot() [2/2]
Vec3f & gamp::graph::ui::Shape::rotationPivot |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ scale() [1/2]
const Vec3f & gamp::graph::ui::Shape::scale |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ scale() [2/2]
Vec3f & gamp::graph::ui::Shape::scale |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ outlines() [1/2]
const OutlineShape & gamp::graph::ui::Shape::outlines |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ outlines() [2/2]
◆ color()
const Vec4f & gamp::graph::ui::Shape::color |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ setColor()
void gamp::graph::ui::Shape::setColor |
( |
const Vec4f & | c | ) |
|
|
inlineconstexprnoexcept |
◆ applyMatToMv()
void gamp::graph::ui::Shape::applyMatToMv |
( |
PMVMat4f & | pmvMat | ) |
|
|
inlinenoexcept |
Applies the internal Matrix4f
to the given modelview matrix
, i.e.
pmv.mulMv( getMat() )
.
Calls updateMat()
if dirty.
In case isMatIdentity()
is true
, implementation is a no-operation.
- Parameters
-
- See also
- #isMatIdentity()
-
updateMat()
-
#getMat()
-
PMVMatrix4f#mulMv(Matrix4f)
Definition at line 161 of file Shape.hpp.
The documentation for this class was generated from the following file: