ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VModel Class Referenceabstract

#include <geant4/tree/geant4-10.6-release/source/visualization/modeling/include/G4VModel.hh>

+ Inheritance diagram for G4VModel:
+ Collaboration diagram for G4VModel:

Public Member Functions

 G4VModel (const G4Transform3D &modelTransformation=G4Transform3D(), const G4ModelingParameters *=0)
 
virtual ~G4VModel ()
 
virtual void DescribeYourselfTo (G4VGraphicsScene &)=0
 
const G4ModelingParametersGetModelingParameters () const
 
const G4StringGetType () const
 
virtual G4String GetCurrentDescription () const
 
virtual G4String GetCurrentTag () const
 
const G4VisExtentGetExtent () const
 
const G4VisExtentGetTransformedExtent () const
 
const G4StringGetGlobalDescription () const
 
const G4StringGetGlobalTag () const
 
const G4Transform3DGetTransformation () const
 
void SetModelingParameters (const G4ModelingParameters *)
 
void SetExtent (const G4VisExtent &)
 
void SetType (const G4String &)
 
void SetGlobalDescription (const G4String &)
 
void SetGlobalTag (const G4String &)
 
void SetTransformation (const G4Transform3D &)
 
virtual G4bool Validate (G4bool warn=true)
 

Protected Attributes

G4String fType
 
G4String fGlobalTag
 
G4String fGlobalDescription
 
G4VisExtent fExtent
 
G4Transform3D fTransform
 
const G4ModelingParametersfpMP
 

Private Member Functions

 G4VModel (const G4VModel &)
 
G4VModeloperator= (const G4VModel &)
 

Friends

std::ostream & operator<< (std::ostream &os, const G4VModel &)
 

Detailed Description

Definition at line 52 of file G4VModel.hh.

View newest version in sPHENIX GitHub at line 52 of file G4VModel.hh

Constructor & Destructor Documentation

G4VModel::G4VModel ( const G4Transform3D modelTransformation = G4Transform3D(),
const G4ModelingParameters pMP = 0 
)

Definition at line 37 of file G4VModel.cc.

View newest version in sPHENIX GitHub at line 37 of file G4VModel.cc

G4VModel::~G4VModel ( )
virtual

Definition at line 46 of file G4VModel.cc.

View newest version in sPHENIX GitHub at line 46 of file G4VModel.cc

G4VModel::G4VModel ( const G4VModel )
private

Member Function Documentation

virtual void G4VModel::DescribeYourselfTo ( G4VGraphicsScene )
pure virtual

Implemented in G4PhysicalVolumeModel, CexmcScenePrimitives, G4LogicalVolumeModel, G4VFieldModel, G4CallbackModel< F >, G4AxesModel, G4TrajectoriesModel, G4ArrowModel, G4DigiModel, G4GPSModel, G4HitsModel, G4ScaleModel, G4TextModel, G4PSHitsModel, and G4NullModel.

Referenced by G4AxesModel::DescribeYourselfTo().

+ Here is the caller graph for this function:

G4String G4VModel::GetCurrentDescription ( ) const
virtual

Reimplemented in G4PhysicalVolumeModel, and G4GPSModel.

Definition at line 53 of file G4VModel.cc.

View newest version in sPHENIX GitHub at line 53 of file G4VModel.cc

References fGlobalDescription.

G4String G4VModel::GetCurrentTag ( ) const
virtual

Reimplemented in G4PhysicalVolumeModel, and G4GPSModel.

Definition at line 48 of file G4VModel.cc.

View newest version in sPHENIX GitHub at line 48 of file G4VModel.cc

References fGlobalTag.

const G4VisExtent& G4VModel::GetExtent ( ) const

Referenced by G4PhysicalVolumeModel::CalculateExtent(), and G4VisCommandSceneAddLogicalVolume::SetNewValue().

+ Here is the caller graph for this function:

const G4String& G4VModel::GetGlobalDescription ( ) const

Referenced by G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

const G4String& G4VModel::GetGlobalTag ( ) const

Referenced by G4Scene::AddRunDurationModel().

+ Here is the caller graph for this function:

const G4ModelingParameters* G4VModel::GetModelingParameters ( ) const

Referenced by G4ASCIITreeSceneHandler::EndModeling().

+ Here is the caller graph for this function:

const G4Transform3D& G4VModel::GetTransformation ( ) const

Referenced by G4VSceneHandler::AddPrimitive().

+ Here is the caller graph for this function:

const G4VisExtent & G4VModel::GetTransformedExtent ( ) const

Definition at line 58 of file G4VModel.cc.

View newest version in sPHENIX GitHub at line 58 of file G4VModel.cc

References fExtent, fTransform, and G4VisExtent::Transform().

+ Here is the call graph for this function:

const G4String& G4VModel::GetType ( ) const
G4VModel& G4VModel::operator= ( const G4VModel )
private
void G4VModel::SetExtent ( const G4VisExtent )

Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

void G4VModel::SetTransformation ( const G4Transform3D )

Referenced by G4VisCommandSceneAddLogo::SetNewValue(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

G4bool G4VModel::Validate ( G4bool  warn = true)
virtual

Reimplemented in G4PhysicalVolumeModel, and G4LogicalVolumeModel.

Definition at line 65 of file G4VModel.cc.

View newest version in sPHENIX GitHub at line 65 of file G4VModel.cc

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4VModel model 
)
friend

Definition at line 69 of file G4VModel.cc.

View newest version in sPHENIX GitHub at line 69 of file G4VModel.cc

Member Data Documentation

G4VisExtent G4VModel::fExtent
protected

Definition at line 113 of file G4VModel.hh.

View newest version in sPHENIX GitHub at line 113 of file G4VModel.hh

Referenced by G4PhysicalVolumeModel::CalculateExtent(), GetTransformedExtent(), and operator<<().

G4Transform3D G4VModel::fTransform
protected

Definition at line 114 of file G4VModel.hh.

View newest version in sPHENIX GitHub at line 114 of file G4VModel.hh

Referenced by G4PhysicalVolumeModel::CalculateExtent(), G4CallbackModel< F >::DescribeYourselfTo(), GetTransformedExtent(), and operator<<().


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