|
| Line (nap::Core &core) |
|
virtual bool | init (utility::ErrorState &errorState) override |
|
virtual bool | isClosed () const override |
|
| PolyLine (nap::Core &core) |
|
virtual MeshInstance & | getMeshInstance () override |
|
virtual const MeshInstance & | getMeshInstance () const override |
|
Vec3VertexAttribute & | getPositionAttr () |
|
const Vec3VertexAttribute & | getPositionAttr () const |
|
Vec4VertexAttribute & | getColorAttr () |
|
const Vec4VertexAttribute & | getColorAttr () const |
|
Vec3VertexAttribute & | getNormalAttr () |
|
const Vec3VertexAttribute & | getNormalAttr () const |
|
Vec3VertexAttribute & | getUvAttr () |
|
const Vec3VertexAttribute & | getUvAttr () const |
|
template<typename T > |
void | getValue (const VertexAttribute< T > &attr, float location, T &outValue) const |
|
template<typename T > |
void | getValue (const std::map< float, int > &distanceMap, const VertexAttribute< T > &attr, float location, T &outValue) const |
|
void | getNormal (const std::map< float, int > &distanceMap, const Vec3VertexAttribute &attr, float location, glm::vec3 &outValue) const |
|
float | getDistances (std::map< float, int > &outDistances) const |
|
| Resource () |
|
| Object () |
|
virtual | ~Object () |
|
virtual void | onDestroy () |
|
| Object (Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&)=delete |
|
Object & | operator= (Object &&)=delete |
|
Simple line from a to b. The uv coordinates are derived from start and end position of the line (x, y coordinates). The normals are perpendicular to the direction of the line, ie: cross({0,0,1}, normalize(End-Start)))