MeshGui::MeshRenderer Class Reference
#include <SoFCIndexedFaceSet.h>
Classes | |
class | Private |
Public Member Functions | |
bool | canRenderGLArray (SoGLRenderAction *action) const |
void | generateGLArrays (SoGLRenderAction *, SoMaterialBindingElement::Binding binding, std::vector< float > &vertex, std::vector< int32_t > &index) |
bool | matchMaterial (SoState *) const |
MeshRenderer () | |
bool | needUpdate (SoGLRenderAction *action) |
void | renderCoordsGLArray (SoGLRenderAction *action) |
void | renderFacesGLArray (SoGLRenderAction *action) |
void | update () |
~MeshRenderer () | |
Static Public Member Functions | |
static bool | shouldRenderDirectly (bool) |
Constructor & Destructor Documentation
◆ MeshRenderer()
MeshRenderer::MeshRenderer | ( | ) |
◆ ~MeshRenderer()
MeshRenderer::~MeshRenderer | ( | ) |
Member Function Documentation
◆ canRenderGLArray()
bool MeshRenderer::canRenderGLArray | ( | SoGLRenderAction * | action | ) | const |
Referenced by MeshGui::SoFCIndexedFaceSet::drawFaces(), and MeshGui::SoFCIndexedFaceSet::GLRender().
◆ generateGLArrays()
void MeshRenderer::generateGLArrays | ( | SoGLRenderAction * | action, |
SoMaterialBindingElement::Binding | binding, | ||
std::vector< float > & | vertex, | ||
std::vector< int32_t > & | index | ||
) |
◆ matchMaterial()
bool MeshRenderer::matchMaterial | ( | SoState * | state | ) | const |
Referenced by MeshGui::SoFCIndexedFaceSet::GLRender().
◆ needUpdate()
bool MeshRenderer::needUpdate | ( | SoGLRenderAction * | action | ) |
Referenced by MeshGui::SoFCIndexedFaceSet::GLRender().
◆ renderCoordsGLArray()
void MeshRenderer::renderCoordsGLArray | ( | SoGLRenderAction * | action | ) |
Referenced by MeshGui::SoFCIndexedFaceSet::drawFaces().
◆ renderFacesGLArray()
void MeshRenderer::renderFacesGLArray | ( | SoGLRenderAction * | action | ) |
Referenced by MeshGui::SoFCIndexedFaceSet::drawFaces(), and MeshGui::SoFCIndexedFaceSet::GLRender().
◆ shouldRenderDirectly()
Referenced by MeshGui::ViewProviderMeshFaceSet::updateData().
◆ update()
void MeshRenderer::update | ( | ) |
The documentation for this class was generated from the following files:
- src/Mod/Mesh/Gui/SoFCIndexedFaceSet.h
- src/Mod/Mesh/Gui/SoFCIndexedFaceSet.cpp