|
Last change
on this file since 260 was 233, checked in by barrand, 19 years ago |
|
|
-
Property svn:eol-style
set to
native
|
|
File size:
722 bytes
|
| Line | |
|---|
| 1 | #ifndef G4Lab_SoVisitedVolume_h
|
|---|
| 2 | #define G4Lab_SoVisitedVolume_h
|
|---|
| 3 |
|
|---|
| 4 | // Inheritance :
|
|---|
| 5 | #include <G4Lab/GeometryVisitor.h>
|
|---|
| 6 |
|
|---|
| 7 | class SoGroup;
|
|---|
| 8 | class SoGC;
|
|---|
| 9 |
|
|---|
| 10 | namespace G4Lab {
|
|---|
| 11 |
|
|---|
| 12 | class SoVisitedVolume : public virtual IVisitedVolume {
|
|---|
| 13 | public:
|
|---|
| 14 | SoVisitedVolume(SoGC&,SoGroup*,G4VPhysicalVolume*,int = 0);
|
|---|
| 15 | virtual ~SoVisitedVolume();
|
|---|
| 16 | virtual bool beginVolume(G4VPhysicalVolume*,G4VSolid*,G4Material*,
|
|---|
| 17 | const G4Transform3D&,int);
|
|---|
| 18 | virtual void endVolume(G4VPhysicalVolume*);
|
|---|
| 19 | virtual void beginDaughters(G4VPhysicalVolume*,int);
|
|---|
| 20 | virtual void endDaughters(G4VPhysicalVolume*,int);
|
|---|
| 21 | private:
|
|---|
| 22 | SoGC& fGC;
|
|---|
| 23 | SoGroup* fParent;
|
|---|
| 24 | G4VPhysicalVolume* fPhysicalVolume;
|
|---|
| 25 | int fDepth;
|
|---|
| 26 | int fIndex;
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | #endif
|
|---|
| 32 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.