|
| SLPolyline (SLAssetManager *assetMgr, const SLstring &name="Polyline") |
|
| SLPolyline (SLAssetManager *assetMgr, const SLVVec3f &points, SLbool closed=false, const SLstring &name="Polyline", SLMaterial *material=nullptr) |
| ctor for polyline with a vector of points More...
|
|
void | buildMesh (const SLVVec3f &points, SLbool closed=false, SLMaterial *material=nullptr) |
|
| SLMesh (SLAssetManager *assetMgr, const SLstring &name="Mesh") |
|
| ~SLMesh () override |
| The destructor deletes everything by calling deleteData. More...
|
|
virtual void | init (SLNode *node) |
| SLMesh::shapeInit sets the transparency flag of the AABB. More...
|
|
virtual void | draw (SLSceneView *sv, SLNode *node) |
|
void | drawIntoDepthBuffer (SLSceneView *sv, SLNode *node, SLMaterial *depthMat) |
| Simplified drawing method for shadow map creation. More...
|
|
void | addStats (SLNodeStats &stats) |
|
virtual void | buildAABB (SLAABBox &aabb, const SLMat4f &wmNode) |
|
void | updateAccelStruct () |
|
SLbool | hit (SLRay *ray, SLNode *node) |
|
virtual void | preShade (SLRay *ray) |
|
virtual void | deleteData () |
| SLMesh::deleteData deletes all mesh data and vbo's. More...
|
|
virtual void | deleteDataGpu () |
|
void | deleteSelected (SLNode *node) |
| Deletes the rectangle selected vertices and the dependent triangles. More...
|
|
void | deleteUnused () |
| Deletes unused vertices (= vertices that are not indexed in I16 or I32) More...
|
|
virtual void | calcMinMax () |
|
virtual void | calcNormals () |
| SLMesh::calcNormals recalculates vertex normals for triangle meshes. More...
|
|
void | calcCenterRad (SLVec3f ¢er, SLfloat &radius) |
|
SLbool | hitTriangleOS (SLRay *ray, SLNode *node, SLuint iT) |
|
virtual void | generateVAO (SLGLVertexArray &vao) |
| Generate the Vertex Array Object for a specific shader program. More...
|
|
void | computeHardEdgesIndices (float angleRAD, float epsilon) |
| computes the hard edges and stores the vertex indexes separately More...
|
|
void | transformSkin (const std::function< void(SLMesh *)> &cbInformNodes) |
| Transforms the vertex positions and normals with by joint weights. More...
|
|
void | deselectPartialSelection () |
|
SLMaterial * | mat () const |
|
SLMaterial * | matOut () const |
|
SLGLPrimitiveType | primitive () const |
|
const SLAnimSkeleton * | skeleton () const |
|
SLuint | numI () const |
|
SLGLVertexArray & | vao () |
|
SLbool | isSelected () const |
|
SLfloat | edgeAngleDEG () const |
|
SLfloat | edgeWidth () const |
|
SLCol4f | edgeColor () const |
|
SLVec3f | finalP (SLuint i) |
|
SLVec3f | finalN (SLuint i) |
|
SLbool | accelStructIsOutOfDate () |
|
void | mat (SLMaterial *m) |
|
void | matOut (SLMaterial *m) |
|
void | primitive (SLGLPrimitiveType pt) |
|
void | skeleton (SLAnimSkeleton *skel) |
|
void | isSelected (bool isSelected) |
|
void | edgeWidth (SLfloat ew) |
|
void | edgeAngleDEG (SLfloat ea) |
|
void | edgeColor (const SLCol4f &ec) |
|
void | vertexPosEpsilon (SLfloat eps) |
|
| SLObject (const SLstring &Name="", const SLstring &url="") |
|
virtual | ~SLObject () |
|
void | name (const SLstring &Name) |
|
void | url (const SLstring &url) |
|
const SLstring & | name () const |
|
const SLstring & | url () const |
|
SLPolyline creates a polyline object.
The SLPolyline node draws a polyline object