MCPcopy Create free account
hub / github.com/Kitware/VTK / SetMatrices

Method SetMatrices

Rendering/ContextOpenGL2/vtkOpenGLContextDevice2D.cxx:450–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450void vtkOpenGLContextDevice2D::SetMatrices(vtkShaderProgram* prog)
451{
452 prog->SetUniformMatrix("WCDCMatrix", this->ProjectionMatrix->GetMatrix());
453 prog->SetUniformMatrix("MCWCMatrix", this->ModelMatrix->GetMatrix());
454}
455
456void vtkOpenGLContextDevice2D::BuildVBO(
457 vtkOpenGLHelper* cellBO, float* f, int nv, unsigned char* colors, int nc, float* tcoords)

Callers 7

DrawPolyMethod · 0.95
DrawLinesMethod · 0.95
DrawPointsMethod · 0.95
DrawPointSpritesMethod · 0.95
CoreDrawTrianglesMethod · 0.95
DrawStringMethod · 0.95
DrawImageMethod · 0.95

Calls 2

SetUniformMatrixMethod · 0.45
GetMatrixMethod · 0.45

Tested by

no test coverage detected