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

Method SetTitleAlignLocation

Rendering/Annotation/vtkAxisActor.cxx:1442–1464  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1440
1441//-----------------------------------------------------------------------------**
1442void vtkAxisActor::SetTitleAlignLocation(int location)
1443{
1444 if (location != this->TitleAlignLocation)
1445 {
1446 switch (location)
1447 {
1448 case VTK_ALIGN_TOP:
1449 case VTK_ALIGN_BOTTOM:
1450 case VTK_ALIGN_POINT1:
1451 case VTK_ALIGN_POINT2:
1452 {
1453 this->TitleAlignLocation = location;
1454 this->TitleTextTime.Modified();
1455 this->Modified();
1456 break;
1457 }
1458 default:
1459 {
1460 break;
1461 }
1462 }
1463 }
1464}
1465
1466//-----------------------------------------------------------------------------**
1467void vtkAxisActor::SetExponent(const std::string& exponent)

Callers 4

BuildAxesMethod · 0.80
InitializeYAxisFunction · 0.80
InitializeZAxisFunction · 0.80

Calls 1

ModifiedMethod · 0.45

Tested by 2

InitializeYAxisFunction · 0.64
InitializeZAxisFunction · 0.64