@@ -157,6 +157,8 @@ vtkTrihedron::vtkTrihedron ( )
157157 SetAbscissaColor (xColor [0 ], xColor [1 ], xColor [2 ]);
158158 SetOrdinateColor (yColor [0 ], yColor [1 ], yColor [2 ]);
159159 SetElevationColor (zColor [0 ], zColor [1 ], zColor [2 ]);
160+
161+ LightingOff ( ); // v 5.14.0
160162} // vtkTrihedron::vtkTrihedron
161163
162164
@@ -470,6 +472,45 @@ void vtkTrihedron::SetElevationColor (double r, double g, double b)
470472} // vtkTrihedron::SetElevationColor
471473
472474
475+ void vtkTrihedron::LightingOn ( )
476+ {
477+ if (0 != GetXAxisArrowActor ( ).GetProperty ( ))
478+ GetXAxisArrowActor ( ).GetProperty ( )->LightingOn ( );
479+ if (0 != GetYAxisArrowActor ( ).GetProperty ( ))
480+ GetYAxisArrowActor ( ).GetProperty ( )->LightingOn ( );
481+ if (0 != GetZAxisArrowActor ( ).GetProperty ( ))
482+ GetZAxisArrowActor ( ).GetProperty ( )->LightingOn ( );
483+ } // vtkTrihedron::LightingOn
484+
485+
486+ void vtkTrihedron::LightingOff ( )
487+ {
488+ if (0 != GetXAxisArrowActor ( ).GetProperty ( ))
489+ GetXAxisArrowActor ( ).GetProperty ( )->LightingOff ( );
490+ if (0 != GetYAxisArrowActor ( ).GetProperty ( ))
491+ GetYAxisArrowActor ( ).GetProperty ( )->LightingOff ( );
492+ if (0 != GetZAxisArrowActor ( ).GetProperty ( ))
493+ GetZAxisArrowActor ( ).GetProperty ( )->LightingOff ( );
494+ } // vtkTrihedron::LightingOff
495+
496+
497+ void vtkTrihedron::SetLighting (int onOff)
498+ {
499+ if (0 != GetXAxisArrowActor ( ).GetProperty ( ))
500+ GetXAxisArrowActor ( ).GetProperty ( )->SetLighting (onOff);
501+ if (0 != GetYAxisArrowActor ( ).GetProperty ( ))
502+ GetYAxisArrowActor ( ).GetProperty ( )->SetLighting (onOff);
503+ if (0 != GetZAxisArrowActor ( ).GetProperty ( ))
504+ GetZAxisArrowActor ( ).GetProperty ( )->SetLighting (onOff);
505+ } // vtkTrihedron::SetLighting
506+
507+
508+ int vtkTrihedron::GetLighting ( )
509+ {
510+ return 0 == GetXAxisArrowActor ( ).GetProperty ( ) ? 0 : GetXAxisArrowActor ( ).GetProperty ( )->GetLighting ( );
511+ } // vtkTrihedron::GetLighting
512+
513+
473514void vtkTrihedron::SetLabel2D (bool on)
474515{
475516 if (true == on)
0 commit comments