Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VisCommandGeometrySetVisibilityFunction Class Reference

#include <G4VisCommandsGeometrySet.hh>

+ Inheritance diagram for G4VisCommandGeometrySetVisibilityFunction:

Public Member Functions

virtual ~G4VisCommandGeometrySetVisibilityFunction ()
 
 G4VisCommandGeometrySetVisibilityFunction (G4bool visibility)
 
void operator() (G4VisAttributes *visAtts) const
 
- Public Member Functions inherited from G4VVisCommandGeometrySetFunction
virtual ~G4VVisCommandGeometrySetFunction ()
 
virtual void operator() (G4VisAttributes *) const =0
 

Detailed Description

Definition at line 173 of file G4VisCommandsGeometrySet.hh.

Constructor & Destructor Documentation

◆ ~G4VisCommandGeometrySetVisibilityFunction()

virtual G4VisCommandGeometrySetVisibilityFunction::~G4VisCommandGeometrySetVisibilityFunction ( )
inlinevirtual

Definition at line 176 of file G4VisCommandsGeometrySet.hh.

176{}

◆ G4VisCommandGeometrySetVisibilityFunction()

G4VisCommandGeometrySetVisibilityFunction::G4VisCommandGeometrySetVisibilityFunction ( G4bool  visibility)
inline

Definition at line 177 of file G4VisCommandsGeometrySet.hh.

178 :
179 fVisibility(visibility) {}

Member Function Documentation

◆ operator()()

void G4VisCommandGeometrySetVisibilityFunction::operator() ( G4VisAttributes visAtts) const
inlinevirtual

Implements G4VVisCommandGeometrySetFunction.

Definition at line 180 of file G4VisCommandsGeometrySet.hh.

182 {visAtts->SetVisibility(fVisibility);}
void SetVisibility(G4bool=true)

The documentation for this class was generated from the following file: