#include <G4VisAttributes.hh>
Definition at line 65 of file G4VisAttributes.hh.
 
      
        
          | G4VisAttributes::G4VisAttributes  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 37 of file G4VisAttributes.cc.
   39 fDaughtersInvisible  (
false),
 
   43 fForceDrawingStyle   (
false),
 
   45 fForceAuxEdgeVisible (
false),
 
   46 fForcedAuxEdgeVisible(
false),
 
   47 fForcedLineSegmentsPerCircle (0),  
 
 
 
 
      
        
          | G4VisAttributes::G4VisAttributes  | 
          ( | 
          G4bool  | 
          visibility | ) | 
           | 
        
      
 
Definition at line 54 of file G4VisAttributes.cc.
   55 fVisible             (visibility),
 
   56 fDaughtersInvisible  (
false),
 
   60 fForceDrawingStyle   (
false),
 
   62 fForceAuxEdgeVisible (
false),
 
   63 fForcedAuxEdgeVisible(
false),
 
   64 fForcedLineSegmentsPerCircle (0),  
 
 
 
 
      
        
          | G4VisAttributes::G4VisAttributes  | 
          ( | 
          const G4Colour &  | 
          colour | ) | 
           | 
        
      
 
Definition at line 71 of file G4VisAttributes.cc.
   73 fDaughtersInvisible  (
false),
 
   77 fForceDrawingStyle   (
false),
 
   79 fForceAuxEdgeVisible (
false),
 
   80 fForcedAuxEdgeVisible(
false),
 
   81 fForcedLineSegmentsPerCircle (0),  
 
 
 
 
      
        
          | G4VisAttributes::G4VisAttributes  | 
          ( | 
          G4bool  | 
          visibility,  | 
        
        
           | 
           | 
          const G4Colour &  | 
          colour  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 88 of file G4VisAttributes.cc.
   90 fVisible             (visibility),
 
   91 fDaughtersInvisible  (
false),
 
   95 fForceDrawingStyle   (
false),
 
   97 fForceAuxEdgeVisible (
false),
 
   98 fForcedAuxEdgeVisible(
false),
 
   99 fForcedLineSegmentsPerCircle (0),  
 
 
 
 
Definition at line 106 of file G4VisAttributes.cc.
  107 fVisible             (va.fVisible),
 
  108 fDaughtersInvisible  (va.fDaughtersInvisible),
 
  109 fColour              (va.fColour),
 
  110 fLineStyle           (va.fLineStyle),
 
  111 fLineWidth           (va.fLineWidth),
 
  112 fForceDrawingStyle   (va.fForceDrawingStyle),
 
  113 fForcedStyle         (va.fForcedStyle),
 
  114 fForceAuxEdgeVisible (va.fForceAuxEdgeVisible),
 
  115 fForcedAuxEdgeVisible(va.fForcedAuxEdgeVisible),
 
  116 fForcedLineSegmentsPerCircle (va.fForcedLineSegmentsPerCircle),
 
  117 fStartTime           (va.fStartTime),
 
  118 fEndTime             (va.fEndTime),
 
  122 fAttValues           (va.fAttValues),
 
  125 fAttDefs             (va.fAttDefs)
 
 
 
 
      
        
          | G4VisAttributes::~G4VisAttributes  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | const std::vector< G4AttValue > * G4VisAttributes::CreateAttValues  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | const G4Color& G4VisAttributes::GetColor  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | const G4Colour& G4VisAttributes::GetColour  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4double G4VisAttributes::GetEndTime  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4int G4VisAttributes::GetForcedLineSegmentsPerCircle  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | LineStyle G4VisAttributes::GetLineStyle  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4double G4VisAttributes::GetLineWidth  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
  
  
      
        
          | static G4int G4VisAttributes::GetMinLineSegmentsPerCircle  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
      
        
          | G4double G4VisAttributes::GetStartTime  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4bool G4VisAttributes::IsDaughtersInvisible  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4bool G4VisAttributes::IsForceAuxEdgeVisible  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4bool G4VisAttributes::IsForcedAuxEdgeVisible  | 
          ( | 
           | ) | 
           const | 
        
      
 
Definition at line 193 of file G4VisAttributes.cc.
  194   if (fForceAuxEdgeVisible) 
return fForcedAuxEdgeVisible;
 
 
 
 
      
        
          | G4bool G4VisAttributes::IsForceDrawingStyle  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4bool G4VisAttributes::IsForceLineSegmentsPerCircle  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | G4bool G4VisAttributes::IsVisible  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
Definition at line 277 of file G4VisAttributes.cc.
  280       (fVisible            != a.fVisible)            ||
 
  281       (fDaughtersInvisible != a.fDaughtersInvisible) ||
 
  282       (fColour             != a.fColour)             ||
 
  283       (fLineStyle          != a.fLineStyle)          ||
 
  284       (fLineWidth          != a.fLineWidth)          ||
 
  285       (fForceDrawingStyle  != a.fForceDrawingStyle)  ||
 
  286       (fForceAuxEdgeVisible!= a.fForceAuxEdgeVisible)   ||
 
  287       (fForcedLineSegmentsPerCircle != a.fForcedLineSegmentsPerCircle) ||
 
  288       (fStartTime          != a.fStartTime)          ||
 
  289       (fEndTime            != a.fEndTime)            ||
 
  290       (fAttValues          != a.fAttValues)          ||
 
  291       (fAttDefs            != a.fAttDefs)
 
  295   if (fForceDrawingStyle) {
 
  296     if (fForcedStyle != a.fForcedStyle) 
return true;
 
  299   if (fForceAuxEdgeVisible) {
 
  300     if (fForcedAuxEdgeVisible != a.fForcedAuxEdgeVisible) 
return true;
 
 
 
 
Definition at line 131 of file G4VisAttributes.cc.
  133   if (&rhs == 
this) 
return *
this;
 
  134   fVisible              = rhs.fVisible;
 
  135   fDaughtersInvisible   = rhs.fDaughtersInvisible;
 
  136   fColour               = rhs.fColour;
 
  137   fLineStyle            = rhs.fLineStyle;
 
  138   fLineWidth            = rhs.fLineWidth;
 
  139   fForceDrawingStyle    = rhs.fForceDrawingStyle;
 
  140   fForcedStyle          = rhs.fForcedStyle;
 
  141   fForceAuxEdgeVisible  = rhs.fForceAuxEdgeVisible;
 
  142   fForcedAuxEdgeVisible = rhs.fForcedAuxEdgeVisible;
 
  143   fForcedLineSegmentsPerCircle = rhs.fForcedLineSegmentsPerCircle;
 
  144   fStartTime           = rhs.fStartTime;
 
  145   fEndTime             = rhs.fEndTime;
 
  149   fAttValues           = rhs.fAttValues;
 
  152   fAttDefs             = rhs.fAttDefs;
 
 
 
 
      
        
          | void G4VisAttributes::SetAttValues  | 
          ( | 
          const std::vector< G4AttValue > *  | 
           | ) | 
           | 
        
      
 
 
      
        
          | void G4VisAttributes::SetDaughtersInvisible  | 
          ( | 
          G4bool  | 
           = true | ) | 
           | 
        
      
 
 
      
        
          | void G4VisAttributes::SetForceAuxEdgeVisible  | 
          ( | 
          G4bool  | 
          visibility = true | ) | 
           | 
        
      
 
Definition at line 182 of file G4VisAttributes.cc.
  183   fForceAuxEdgeVisible = 
true;
 
  184   fForcedAuxEdgeVisible = visibility;
 
 
 
 
      
        
          | void G4VisAttributes::SetForceLineSegmentsPerCircle  | 
          ( | 
          G4int  | 
          nSegments | ) | 
           | 
        
      
 
Definition at line 203 of file G4VisAttributes.cc.
  205   if (nSegments > 0 && nSegments < nSegmentsMin) {
 
  206     nSegments = nSegmentsMin;
 
  208       "G4VisAttributes::SetForcedLineSegmentsPerCircle: attempt to set the" 
  209       "\nnumber of line segements per circle < " << nSegmentsMin
 
  210          << 
"; forced to " << nSegments << 
G4endl;
 
  212   fForcedLineSegmentsPerCircle = nSegments;
 
G4GLOB_DLL std::ostream G4cout
 
 
 
 
      
        
          | void G4VisAttributes::SetForceSolid  | 
          ( | 
          G4bool  | 
          force = true | ) | 
           | 
        
      
 
Definition at line 173 of file G4VisAttributes.cc.
  175     fForceDrawingStyle = 
true;
 
  178     fForceDrawingStyle = 
false;
 
 
 
 
      
        
          | void G4VisAttributes::SetForceWireframe  | 
          ( | 
          G4bool  | 
          force = true | ) | 
           | 
        
      
 
Definition at line 164 of file G4VisAttributes.cc.
  166     fForceDrawingStyle = 
true;
 
  169     fForceDrawingStyle = 
false;
 
 
 
 
      
        
          | void G4VisAttributes::SetVisibility  | 
          ( | 
          G4bool  | 
           = true | ) | 
           | 
        
      
 
 
Definition at line 215 of file G4VisAttributes.cc.
  217   os << 
"G4VisAttributes: ";
 
  218   if (!a.fVisible) os << 
"in";
 
  219   os << 
"visible, daughters ";
 
  220   if (a.fDaughtersInvisible) os << 
"in";
 
  221   os << 
"visible, colour: " << a.fColour;
 
  222   os << 
"\n  linestyle: ";
 
  223   switch (a.fLineStyle) {
 
  225       os << 
"solid"; 
break;
 
  227       os << 
"dashed"; 
break;
 
  229     default: os << 
"unrecognised"; 
break;
 
  231   os << 
", line width: " << a.fLineWidth;
 
  233   os << 
"\n  drawing style: ";
 
  234   if (a.fForceDrawingStyle) {
 
  236     switch (a.fForcedStyle) {
 
  238         os << 
"wireframe"; 
break;
 
  240         os << 
"solid"; 
break;
 
  241       default: os << 
"unrecognised"; 
break;
 
  247   os << 
", auxiliary edge visibility: ";
 
  248   if (a.fForceAuxEdgeVisible) {
 
  250     if (!a.fForcedAuxEdgeVisible) {
 
  257   os << 
"\n  line segments per circle: ";
 
  258   if (a.fForcedLineSegmentsPerCircle > 0) {
 
  259     os << 
"forced to " << a.fForcedLineSegmentsPerCircle;
 
  263   os << 
"\n  time range: (" << a.fStartTime << 
',' << a.fEndTime << 
')';
 
  264   os << 
"\n  G4AttValue pointer is ";
 
  269   os << 
", G4AttDef pointer is ";
 
static G4int GetMinLineSegmentsPerCircle()
 
 
 
 
The documentation for this class was generated from the following files: