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

Method SetAxisTitleTextProperty

Rendering/Annotation/vtkXYPlotActor.cxx:3098–3107  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3096
3097//------------------------------------------------------------------------------
3098void vtkXYPlotActor::SetAxisTitleTextProperty(vtkTextProperty* p)
3099{
3100 // NB: Perform shallow copy here since each individual axis can be
3101 // accessed through the class API ( i.e. each individual axis text prop
3102 // can be changed ). Therefore, we can not just assign pointers otherwise
3103 // each individual axis text prop would point to the same text prop.
3104 this->AxisTitleTextProperty->ShallowCopy(p);
3105 this->YTitleActor->GetTextProperty()->ShallowCopy(p);
3106 this->Modified();
3107}
3108
3109//------------------------------------------------------------------------------
3110void vtkXYPlotActor::SetAxisLabelColor(double r, double g, double b)

Callers 9

TestSplineWidgetFunction · 0.80
TestPolyPlaneFunction · 0.80
ShallowCopyMethod · 0.80
~vtkCubeAxesActor2DMethod · 0.80
xyPlot2.pyFile · 0.80
cubeAxes.pyFile · 0.80
xyPlot3.pyFile · 0.80
xyPlot.pyFile · 0.80
xyPlot4.pyFile · 0.80

Calls 3

ShallowCopyMethod · 0.45
GetTextPropertyMethod · 0.45
ModifiedMethod · 0.45

Tested by 2

TestSplineWidgetFunction · 0.64
TestPolyPlaneFunction · 0.64