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

Method BuildPolarAxisLabelsArcsLog

Rendering/Annotation/vtkPolarAxesActor.cxx:1845–1878  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1843
1844//------------------------------------------------------------------------------
1845void vtkPolarAxesActor::BuildPolarAxisLabelsArcsLog()
1846{
1847 this->BuildPolarArcsLog();
1848
1849 this->BuildLabelsLog();
1850
1851 // Update axis title follower
1852 vtkAxisFollower* follower = this->PolarAxis->GetTitleActor();
1853 follower->SetAxis(this->PolarAxis);
1854 follower->SetEnableDistanceLOD(this->EnableDistanceLOD);
1855 follower->SetDistanceLODThreshold(this->DistanceLODThreshold);
1856 follower->SetEnableViewAngleLOD(this->EnableViewAngleLOD);
1857 follower->SetViewAngleLODThreshold(this->ViewAngleLODThreshold);
1858
1859 // Update axis title follower
1860 vtkAxisFollower* expFollower = this->PolarAxis->GetExponentActor();
1861 expFollower->SetAxis(this->PolarAxis);
1862 expFollower->SetEnableDistanceLOD(this->EnableDistanceLOD);
1863 expFollower->SetDistanceLODThreshold(this->DistanceLODThreshold);
1864 expFollower->SetEnableViewAngleLOD(this->EnableViewAngleLOD);
1865 expFollower->SetViewAngleLODThreshold(this->ViewAngleLODThreshold);
1866
1867 // Update axis label followers
1868 int labelCount = this->PolarAxis->GetNumberOfLabelsBuilt();
1869 for (int i = 0; i < labelCount; ++i)
1870 {
1871 vtkAxisFollower* labelActor = this->PolarAxis->GetLabelFollower(i);
1872 labelActor->SetAxis(this->PolarAxis);
1873 labelActor->SetEnableDistanceLOD(this->EnableDistanceLOD);
1874 labelActor->SetDistanceLODThreshold(this->DistanceLODThreshold);
1875 labelActor->SetEnableViewAngleLOD(this->EnableViewAngleLOD);
1876 labelActor->SetViewAngleLODThreshold(this->ViewAngleLODThreshold);
1877 }
1878}
1879
1880//------------------------------------------------------------------------------
1881std::string vtkPolarAxesActor::FindExponentAndAdjustValues(std::list<double>& valuesList)

Callers

nothing calls this directly

Calls 4

GetTitleActorMethod · 0.80
GetExponentActorMethod · 0.80
GetLabelFollowerMethod · 0.80
SetAxisMethod · 0.45

Tested by

no test coverage detected