GeoModel - GeoModelCore
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
GeoVolumeAction Class Reference

This type of action sees and traverses a simpler tree of positioned volumes. It does not descend into transformations or other properties, but simply accumulates their effect into an internal state that can be accessed during traversal. That state includes, for example, the position relative to the parent. More...

#include <GeoVolumeAction.h>

Inheritance diagram for GeoVolumeAction:
GeoCutVolAction TemplateVolAction

Public Types

enum  Type { TOP_DOWN, BOTTOM_UP }
 

Public Member Functions

 GeoVolumeAction (Type type=TOP_DOWN)
 
virtual void handleVPhysVol (const GeoVPhysVol *)
 
void terminate ()
 
bool shouldTerminate () const
 
const GeoTraversalState * getState () const
 
GeoTraversalState * getState ()
 
GeoVolumeAction::Type getType () const
 

Private Member Functions

 GeoVolumeAction (const GeoVolumeAction &right)
 
GeoVolumeAction & operator= (const GeoVolumeAction &right)
 

Private Attributes

Type m_type
 
bool m_terminate
 
GeoTraversalState m_traversalState
 

Detailed Description

This type of action sees and traverses a simpler tree of positioned volumes. It does not descend into transformations or other properties, but simply accumulates their effect into an internal state that can be accessed during traversal. That state includes, for example, the position relative to the parent.

Definition at line 21 of file GeoVolumeAction.h.


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