Geant4  10.01.p02
G4ModelingParameters Class Reference

#include <G4ModelingParameters.hh>

+ Collaboration diagram for G4ModelingParameters:

Classes

class  PVNameCopyNo
 
class  VisAttributesModifier
 

Public Types

enum  DrawingStyle { wf, hlr, hsr, hlhsr }
 
enum  VisAttributesSignifier {
  VASVisibility, VASDaughtersInvisible, VASColour, VASLineStyle,
  VASLineWidth, VASForceWireframe, VASForceSolid, VASForceAuxEdgeVisible,
  VASForceLineSegmentsPerCircle
}
 
typedef std::vector< PVNameCopyNoPVNameCopyNoPath
 
typedef
PVNameCopyNoPath::const_iterator 
PVNameCopyNoPathConstIterator
 

Public Member Functions

 G4ModelingParameters ()
 
 G4ModelingParameters (const G4VisAttributes *pDefaultVisAttributes, DrawingStyle drawingStyle, G4bool isCulling, G4bool isCullingInvisible, G4bool isDensityCulling, G4double visibleDensity, G4bool isCullingCovered, G4int noOfSides)
 
 ~G4ModelingParameters ()
 
G4bool operator!= (const G4ModelingParameters &) const
 
G4bool IsWarning () const
 
const G4VisAttributesGetDefaultVisAttributes () const
 
DrawingStyle GetDrawingStyle () const
 
G4bool IsCulling () const
 
G4bool IsCullingInvisible () const
 
G4bool IsDensityCulling () const
 
G4double GetVisibleDensity () const
 
G4bool IsCullingCovered () const
 
G4bool IsExplode () const
 
G4double GetExplodeFactor () const
 
const G4Point3DGetExplodeCentre () const
 
G4int GetNoOfSides () const
 
G4VSolidGetSectionSolid () const
 
G4VSolidGetCutawaySolid () const
 
const G4EventGetEvent () const
 
const std::vector
< VisAttributesModifier > & 
GetVisAttributesModifiers () const
 
void SetWarning (G4bool)
 
void SetDefaultVisAttributes (const G4VisAttributes *pDefaultVisAttributes)
 
void SetDrawingStyle (DrawingStyle)
 
void SetCulling (G4bool)
 
void SetCullingInvisible (G4bool)
 
void SetDensityCulling (G4bool)
 
void SetVisibleDensity (G4double)
 
void SetCullingCovered (G4bool)
 
void SetExplodeFactor (G4double explodeFactor)
 
void SetExplodeCentre (const G4Point3D &explodeCentre)
 
G4int SetNoOfSides (G4int)
 
void SetSectionSolid (G4VSolid *pSectionSolid)
 
void SetCutawaySolid (G4VSolid *pCutawaySolid)
 
void SetEvent (const G4Event *pEvent)
 
void SetVisAttributesModifiers (const std::vector< VisAttributesModifier > &)
 

Private Attributes

G4bool fWarning
 
const G4VisAttributesfpDefaultVisAttributes
 
DrawingStyle fDrawingStyle
 
G4bool fCulling
 
G4bool fCullInvisible
 
G4bool fDensityCulling
 
G4double fVisibleDensity
 
G4bool fCullCovered
 
G4double fExplodeFactor
 
G4Point3D fExplodeCentre
 
G4int fNoOfSides
 
G4VSolidfpSectionSolid
 
G4VSolidfpCutawaySolid
 
const G4EventfpEvent
 
std::vector
< VisAttributesModifier
fVisAttributesModifiers
 

Friends

std::ostream & operator<< (std::ostream &os, const G4ModelingParameters &)
 
std::ostream & operator<< (std::ostream &os, const PVNameCopyNoPath &)
 
std::ostream & operator<< (std::ostream &os, const std::vector< VisAttributesModifier > &)
 

Detailed Description

Definition at line 52 of file G4ModelingParameters.hh.

Member Typedef Documentation

Definition at line 90 of file G4ModelingParameters.hh.

typedef PVNameCopyNoPath::const_iterator G4ModelingParameters::PVNameCopyNoPathConstIterator

Definition at line 91 of file G4ModelingParameters.hh.

Member Enumeration Documentation

Enumerator
wf 
hlr 
hsr 
hlhsr 

Definition at line 57 of file G4ModelingParameters.hh.

Enumerator
VASVisibility 
VASDaughtersInvisible 
VASColour 
VASLineStyle 
VASLineWidth 
VASForceWireframe 
VASForceSolid 
VASForceAuxEdgeVisible 
VASForceLineSegmentsPerCircle 

Definition at line 66 of file G4ModelingParameters.hh.

Constructor & Destructor Documentation

G4ModelingParameters::G4ModelingParameters ( )

Definition at line 43 of file G4ModelingParameters.cc.

G4ModelingParameters::G4ModelingParameters ( const G4VisAttributes pDefaultVisAttributes,
G4ModelingParameters::DrawingStyle  drawingStyle,
G4bool  isCulling,
G4bool  isCullingInvisible,
G4bool  isDensityCulling,
G4double  visibleDensity,
G4bool  isCullingCovered,
G4int  noOfSides 
)

Definition at line 60 of file G4ModelingParameters.cc.

G4ModelingParameters::~G4ModelingParameters ( )

Definition at line 84 of file G4ModelingParameters.cc.

References fpCutawaySolid, and fpSectionSolid.

Member Function Documentation

G4VSolid* G4ModelingParameters::GetCutawaySolid ( ) const
const G4VisAttributes* G4ModelingParameters::GetDefaultVisAttributes ( ) const

Referenced by G4PhysicalVolumeModel::Validate().

+ Here is the caller graph for this function:

DrawingStyle G4ModelingParameters::GetDrawingStyle ( ) const
const G4Event* G4ModelingParameters::GetEvent ( ) const

Referenced by G4DigiModel::DescribeYourselfTo(), G4HitsModel::DescribeYourselfTo(), G4TrajectoriesModel::DescribeYourselfTo(), and G4VisCommandSceneAddEventID::EventID::operator()().

+ Here is the caller graph for this function:

const G4Point3D& G4ModelingParameters::GetExplodeCentre ( ) const
G4double G4ModelingParameters::GetExplodeFactor ( ) const
G4int G4ModelingParameters::GetNoOfSides ( ) const
G4VSolid* G4ModelingParameters::GetSectionSolid ( ) const
const std::vector<VisAttributesModifier>& G4ModelingParameters::GetVisAttributesModifiers ( ) const
G4double G4ModelingParameters::GetVisibleDensity ( ) const
G4bool G4ModelingParameters::IsCulling ( ) const
G4bool G4ModelingParameters::IsCullingCovered ( ) const
G4bool G4ModelingParameters::IsCullingInvisible ( ) const
G4bool G4ModelingParameters::IsDensityCulling ( ) const
G4bool G4ModelingParameters::IsExplode ( ) const
G4bool G4ModelingParameters::IsWarning ( ) const
G4bool G4ModelingParameters::operator!= ( const G4ModelingParameters mp) const

Definition at line 225 of file G4ModelingParameters.cc.

void G4ModelingParameters::SetCulling ( G4bool  )

Referenced by G4LogicalVolumeModel::DescribeYourselfTo().

+ Here is the caller graph for this function:

void G4ModelingParameters::SetCullingCovered ( G4bool  )
void G4ModelingParameters::SetCullingInvisible ( G4bool  )
void G4ModelingParameters::SetCutawaySolid ( G4VSolid pCutawaySolid)

Definition at line 147 of file G4ModelingParameters.cc.

Referenced by G4VSceneHandler::CreateModelingParameters().

+ Here is the caller graph for this function:

void G4ModelingParameters::SetDefaultVisAttributes ( const G4VisAttributes pDefaultVisAttributes)

Referenced by G4PhysicalVolumeModel::Validate().

+ Here is the caller graph for this function:

void G4ModelingParameters::SetDensityCulling ( G4bool  )
void G4ModelingParameters::SetDrawingStyle ( DrawingStyle  )
void G4ModelingParameters::SetEvent ( const G4Event pEvent)

Referenced by G4VSceneHandler::DrawEndOfRunModels(), and G4VSceneHandler::DrawEvent().

+ Here is the caller graph for this function:

void G4ModelingParameters::SetExplodeCentre ( const G4Point3D explodeCentre)

Referenced by G4VSceneHandler::CreateModelingParameters().

+ Here is the caller graph for this function:

void G4ModelingParameters::SetExplodeFactor ( G4double  explodeFactor)

Referenced by G4VSceneHandler::CreateModelingParameters().

+ Here is the caller graph for this function:

G4int G4ModelingParameters::SetNoOfSides ( G4int  nSides)

Definition at line 127 of file G4ModelingParameters.cc.

References fNoOfSides, fpDefaultVisAttributes, fWarning, G4cout, G4endl, and G4VisAttributes::GetMinLineSegmentsPerCircle().

+ Here is the call graph for this function:

void G4ModelingParameters::SetSectionSolid ( G4VSolid pSectionSolid)

Definition at line 141 of file G4ModelingParameters.cc.

Referenced by G4VSceneHandler::CreateModelingParameters().

+ Here is the caller graph for this function:

void G4ModelingParameters::SetVisAttributesModifiers ( const std::vector< VisAttributesModifier > &  )

Referenced by G4VSceneHandler::CreateModelingParameters().

+ Here is the caller graph for this function:

void G4ModelingParameters::SetVisibleDensity ( G4double  visibleDensity)

Definition at line 110 of file G4ModelingParameters.cc.

References cm3, fVisibleDensity, fWarning, g, G4cout, and G4endl.

void G4ModelingParameters::SetWarning ( G4bool  )

Referenced by G4VSceneHandler::CreateModelingParameters().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4ModelingParameters mp 
)
friend

Definition at line 152 of file G4ModelingParameters.cc.

std::ostream& operator<< ( std::ostream &  os,
const PVNameCopyNoPath path 
)
friend

Definition at line 312 of file G4ModelingParameters.cc.

std::ostream& operator<< ( std::ostream &  os,
const std::vector< VisAttributesModifier > &  vams 
)
friend

Definition at line 326 of file G4ModelingParameters.cc.

Member Data Documentation

G4bool G4ModelingParameters::fCullCovered
private

Definition at line 192 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4bool G4ModelingParameters::fCulling
private

Definition at line 188 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4bool G4ModelingParameters::fCullInvisible
private

Definition at line 189 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4bool G4ModelingParameters::fDensityCulling
private

Definition at line 190 of file G4ModelingParameters.hh.

Referenced by operator<<().

DrawingStyle G4ModelingParameters::fDrawingStyle
private

Definition at line 187 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4Point3D G4ModelingParameters::fExplodeCentre
private

Definition at line 194 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4double G4ModelingParameters::fExplodeFactor
private

Definition at line 193 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4int G4ModelingParameters::fNoOfSides
private

Definition at line 195 of file G4ModelingParameters.hh.

Referenced by operator<<(), and SetNoOfSides().

G4VSolid* G4ModelingParameters::fpCutawaySolid
private

Definition at line 197 of file G4ModelingParameters.hh.

Referenced by operator<<(), and ~G4ModelingParameters().

const G4VisAttributes* G4ModelingParameters::fpDefaultVisAttributes
private

Definition at line 186 of file G4ModelingParameters.hh.

Referenced by operator<<(), and SetNoOfSides().

const G4Event* G4ModelingParameters::fpEvent
private

Definition at line 198 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4VSolid* G4ModelingParameters::fpSectionSolid
private

Definition at line 196 of file G4ModelingParameters.hh.

Referenced by operator<<(), and ~G4ModelingParameters().

std::vector<VisAttributesModifier> G4ModelingParameters::fVisAttributesModifiers
private

Definition at line 199 of file G4ModelingParameters.hh.

Referenced by operator<<().

G4double G4ModelingParameters::fVisibleDensity
private

Definition at line 191 of file G4ModelingParameters.hh.

Referenced by operator<<(), and SetVisibleDensity().

G4bool G4ModelingParameters::fWarning
private

Definition at line 185 of file G4ModelingParameters.hh.

Referenced by operator<<(), SetNoOfSides(), and SetVisibleDensity().


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