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

Method ProcessTransformFeedback

Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx:123–131  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

121
122//------------------------------------------------------------------------------
123void vtkOpenGLGL2PSHelperImpl::ProcessTransformFeedback(
124 vtkTransformFeedback* tfc, vtkRenderer* ren, vtkActor* act)
125{
126 float col[4] = { static_cast<float>(act->GetProperty()->GetColor()[0]),
127 static_cast<float>(act->GetProperty()->GetColor()[1]),
128 static_cast<float>(act->GetProperty()->GetColor()[2]),
129 static_cast<float>(act->GetProperty()->GetOpacity()) };
130 this->ProcessTransformFeedback(tfc, ren, col);
131}
132
133//------------------------------------------------------------------------------
134void vtkOpenGLGL2PSHelperImpl::ProcessTransformFeedback(

Callers 1

PostDrawFunction · 0.80

Calls 15

gl2psAddPolyPrimitiveFunction · 0.85
GetNumberOfVerticesMethod · 0.80
GetViewportMethod · 0.80
GetBytesPerVertexMethod · 0.60
assertFunction · 0.50
copyFunction · 0.50
fillFunction · 0.50
GetColorMethod · 0.45
GetPropertyMethod · 0.45
GetOpacityMethod · 0.45
GetBufferSizeMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected