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

Method SetLabelFormat

Rendering/Annotation/vtkCubeAxesActor2D.cxx:117–122  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

115
116//------------------------------------------------------------------------------
117void vtkCubeAxesActor2D::SetLabelFormat(const char* formatArg)
118{
119 std::string format = formatArg ? vtk::to_std_format(formatArg) : "";
120 const char* formatStr = format.c_str();
121 vtkSetStringBodyMacro(LabelFormat, formatStr);
122}
123
124//------------------------------------------------------------------------------
125// Shallow copy of an actor.

Callers 2

ShallowCopyMethod · 0.95
RenderOpaqueGeometryMethod · 0.45

Calls 2

to_std_formatFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected