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

Method Draw3DPath

Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx:454–462  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

452
453//------------------------------------------------------------------------------
454void vtkOpenGLGL2PSHelperImpl::Draw3DPath(vtkPath* path, vtkMatrix4x4* actorMatrix,
455 double rasterPos[3], unsigned char actorColor[4], vtkRenderer* ren, const char* label)
456{
457 double translation[2] = { 0.0, 0.0 };
458 vtkNew<vtkPath> projPath;
459 projPath->DeepCopy(path);
460 vtkOpenGLGL2PSHelperImpl::ProjectPoints(projPath->GetPoints(), ren, actorMatrix);
461 this->DrawPath(projPath, rasterPos, translation, actorColor, nullptr, 0.0, -1.f, label);
462}
463
464//------------------------------------------------------------------------------
465void vtkOpenGLGL2PSHelperImpl::DrawImage(vtkImageData* input, double pos[3])

Callers 1

RenderGL2PSMethod · 0.80

Calls 4

DrawPathMethod · 0.95
ProjectPointsClass · 0.85
DeepCopyMethod · 0.45
GetPointsMethod · 0.45

Tested by

no test coverage detected