CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.

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

Definition at line 25 of file VolumeSide.h.

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

Member Function Documentation

GlobalFace VolumeSide::globalFace ( ) const
inline

Definition at line 32 of file VolumeSide.h.

References theGlobalFace.

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

Definition at line 28 of file VolumeSide.h.

References theSurface.

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

Definition at line 30 of file VolumeSide.h.

References theSurface.

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

Definition at line 34 of file VolumeSide.h.

References theSurfaceSide.

34 { return theSurfaceSide; }
Side theSurfaceSide
Definition: VolumeSide.h:39

Member Data Documentation

GlobalFace VolumeSide::theGlobalFace
private

Definition at line 38 of file VolumeSide.h.

Referenced by globalFace().

SurfacePointer VolumeSide::theSurface
private

Definition at line 37 of file VolumeSide.h.

Referenced by mutableSurface(), and surface().

Side VolumeSide::theSurfaceSide
private

Definition at line 39 of file VolumeSide.h.

Referenced by surfaceSide().