Geant4  10.01.p03
G4VModel Class Referenceabstract

#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 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 53 of file G4VModel.hh.

Constructor & Destructor Documentation

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

Definition at line 38 of file G4VModel.cc.

G4VModel::~G4VModel ( )
virtual

Definition at line 47 of file G4VModel.cc.

G4VModel::G4VModel ( const G4VModel )
private

Member Function Documentation

virtual void G4VModel::DescribeYourselfTo ( G4VGraphicsScene )
pure virtual

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

Referenced by G4AxesModel::DescribeYourselfTo().

+ Here is the caller graph for this function:

G4String G4VModel::GetCurrentDescription ( ) const
virtual

Reimplemented in G4PhysicalVolumeModel.

Definition at line 54 of file G4VModel.cc.

References fGlobalDescription.

G4String G4VModel::GetCurrentTag ( ) const
virtual

Reimplemented in G4PhysicalVolumeModel.

Definition at line 49 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 G4Scene::AddRunDurationModel(), G4Scene::CalculateExtent(), and G4VisCommandSceneAddScale::SetNewValue().

+ Here is the caller graph for this function:

const G4String& G4VModel::GetGlobalTag ( ) const
const G4ModelingParameters* G4VModel::GetModelingParameters ( ) const

Referenced by G4ASCIITreeSceneHandler::EndModeling(), and G4VisCommandSceneAddEventID::EventID::operator()().

+ 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 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::SetModelingParameters ( const G4ModelingParameters )

Referenced by G4LogicalVolumeModel::DescribeYourselfTo(), G4ASCIITreeSceneHandler::EndModeling(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4PhysicalVolumeModel::Validate().

+ 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 59 of file G4VModel.cc.

Friends And Related Function Documentation

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

Definition at line 63 of file G4VModel.cc.

Member Data Documentation

G4VisExtent G4VModel::fExtent
protected

Definition at line 111 of file G4VModel.hh.

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

G4Transform3D G4VModel::fTransform
protected

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