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

Method SetPointSize

Rendering/ContextOpenGL2/vtkOpenGLContextDevice2D.cxx:1935–1943  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1933
1934//------------------------------------------------------------------------------
1935void vtkOpenGLContextDevice2D::SetPointSize(float size)
1936{
1937 vtkOpenGLGL2PSHelper* gl2ps = vtkOpenGLGL2PSHelper::GetInstance();
1938 if (gl2ps && gl2ps->GetActiveState() == vtkOpenGLGL2PSHelper::Capture)
1939 {
1940 gl2ps->SetPointSize(size);
1941 }
1942 this->RenderWindow->GetState()->vtkglPointSize(size);
1943}
1944
1945//------------------------------------------------------------------------------
1946void vtkOpenGLContextDevice2D::SetLineWidth(float width)

Callers 15

DrawPointsMethod · 0.95
DrawPointSpritesMethod · 0.95
TestVBOPointsLinesFunction · 0.45
TestSphereVertexFunction · 0.45
TestSpherePointsFunction · 0.45
TestCoincidentFunction · 0.45
SelectMethod · 0.45
TestLabeledDataMappersFunction · 0.45
TestFlagpoleLabelFunction · 0.45
TestBillboardTextActor3DFunction · 0.45
TestTextActor3DFunction · 0.45

Calls 2

vtkglPointSizeMethod · 0.80
GetStateMethod · 0.45

Tested by 15

TestVBOPointsLinesFunction · 0.36
TestSphereVertexFunction · 0.36
TestSpherePointsFunction · 0.36
TestCoincidentFunction · 0.36
SelectMethod · 0.36
TestLabeledDataMappersFunction · 0.36
TestFlagpoleLabelFunction · 0.36
TestBillboardTextActor3DFunction · 0.36
TestTextActor3DFunction · 0.36
TestTextMapperFunction · 0.36
TestTextActorTileScalingFunction · 0.36
TestTextActorFunction · 0.36