MCPcopy Create free account
hub / github.com/MITK/MITK / GetLookupTable

Method GetLookupTable

Modules/Annotation/src/mitkColorBarAnnotation.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104vtkSmartPointer<vtkLookupTable> mitk::ColorBarAnnotation::GetLookupTable() const
105{
106 mitk::LookupTable::Pointer lut = mitk::LookupTable::New();
107 lut = dynamic_cast<mitk::LookupTableProperty *>(GetPropertyList()->GetProperty("ColorBarAnnotation.LookupTable"))
108 ->GetLookupTable();
109 return lut->GetVtkLookupTable();
110}
111
112void mitk::ColorBarAnnotation::SetOrientation(int orientation)
113{

Calls 3

GetVtkLookupTableMethod · 0.80
NewFunction · 0.50
GetPropertyMethod · 0.45

Tested by 4

CreateOpacityActionMethod · 0.36
OnRenameLabelMethod · 0.36