CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
VolumeSide Class Reference

#include <VolumeSide.h>

Public Types

typedef
SurfaceOrientation::GlobalFace 
GlobalFace
 
typedef SurfaceOrientation::Side Side
 
typedef
ReferenceCountingPointer
< Surface
SurfacePointer
 

Public Member Functions

GlobalFace globalFace () const
 
SurfacemutableSurface () const
 
const Surfacesurface () const
 
Side surfaceSide () const
 
 VolumeSide (Surface *surf, GlobalFace gSide, Side sSide)
 
 VolumeSide (SurfacePointer surf, GlobalFace gSide, Side sSide)
 

Private Attributes

GlobalFace theGlobalFace
 
SurfacePointer theSurface
 
Side theSurfaceSide
 

Detailed Description

Class for delimiding surface of a volume. The additional information with respect to Surface that is needed to define the volume is
a) which side of the Surface the volume is (enumerator Surface::Side)
b) which face of the volume this surface represents (enumerator GlobalFace). Only 6 possible values for volume face are defined.

Definition at line 15 of file VolumeSide.h.

Member Typedef Documentation

Definition at line 17 of file VolumeSide.h.

Definition at line 18 of file VolumeSide.h.

Definition at line 20 of file VolumeSide.h.

Constructor & Destructor Documentation

VolumeSide::VolumeSide ( Surface surf,
GlobalFace  gSide,
Side  sSide 
)
inline

Definition at line 22 of file VolumeSide.h.

22  :
23  theSurface( surf), theGlobalFace( gSide), theSurfaceSide( sSide) {}
GlobalFace theGlobalFace
Definition: VolumeSide.h:40
SurfacePointer theSurface
Definition: VolumeSide.h:39
Side theSurfaceSide
Definition: VolumeSide.h:41
VolumeSide::VolumeSide ( SurfacePointer  surf,
GlobalFace  gSide,
Side  sSide 
)
inline

Definition at line 25 of file VolumeSide.h.

26  :
27  theSurface( surf), theGlobalFace( gSide), theSurfaceSide( sSide) {}
GlobalFace theGlobalFace
Definition: VolumeSide.h:40
SurfacePointer theSurface
Definition: VolumeSide.h:39
Side theSurfaceSide
Definition: VolumeSide.h:41

Member Function Documentation

GlobalFace VolumeSide::globalFace ( ) const
inline

Definition at line 33 of file VolumeSide.h.

References theGlobalFace.

33 { return theGlobalFace;}
GlobalFace theGlobalFace
Definition: VolumeSide.h:40
Surface& VolumeSide::mutableSurface ( ) const
inline

Definition at line 29 of file VolumeSide.h.

References theSurface.

29 {return *theSurface;}
SurfacePointer theSurface
Definition: VolumeSide.h:39
const Surface& VolumeSide::surface ( ) const
inline

Definition at line 31 of file VolumeSide.h.

References theSurface.

31 {return *theSurface;}
SurfacePointer theSurface
Definition: VolumeSide.h:39
Side VolumeSide::surfaceSide ( ) const
inline

Definition at line 35 of file VolumeSide.h.

References theSurfaceSide.

35 {return theSurfaceSide;}
Side theSurfaceSide
Definition: VolumeSide.h:41

Member Data Documentation

GlobalFace VolumeSide::theGlobalFace
private

Definition at line 40 of file VolumeSide.h.

Referenced by globalFace().

SurfacePointer VolumeSide::theSurface
private

Definition at line 39 of file VolumeSide.h.

Referenced by mutableSurface(), and surface().

Side VolumeSide::theSurfaceSide
private

Definition at line 41 of file VolumeSide.h.

Referenced by surfaceSide().