CMS 3D CMS Logo

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

#include <CocoaSolidShapeBox.h>

Inheritance diagram for CocoaSolidShapeBox:
CocoaSolidShape

Public Member Functions

 CocoaSolidShapeBox (ALIstring type, ALIfloat xdim, ALIfloat ydim, ALIfloat zdim)
 
ALIfloat getXHalfLength () const
 
ALIfloat getYHalfLength () const
 
ALIfloat getZHalfLength () const
 
 ~CocoaSolidShapeBox () override
 
- Public Member Functions inherited from CocoaSolidShape
 CocoaSolidShape (ALIstring type)
 
ALIstring getType () const
 
virtual ~CocoaSolidShape ()
 

Private Attributes

ALIfloat theXHalfLength
 
ALIfloat theYHalfLength
 
ALIfloat theZHalfLength
 

Detailed Description

Definition at line 13 of file CocoaSolidShapeBox.h.

Constructor & Destructor Documentation

CocoaSolidShapeBox::CocoaSolidShapeBox ( ALIstring  type,
ALIfloat  xdim,
ALIfloat  ydim,
ALIfloat  zdim 
)

Definition at line 12 of file CocoaSolidShapeBox.cc.

References theXHalfLength, theYHalfLength, and theZHalfLength.

14  theXHalfLength = xdim;
15  theYHalfLength = ydim;
16  theZHalfLength = zdim;
17 }
CocoaSolidShape(ALIstring type)
CocoaSolidShapeBox::~CocoaSolidShapeBox ( )
inlineoverride

Definition at line 17 of file CocoaSolidShapeBox.h.

17 {};

Member Function Documentation

ALIfloat CocoaSolidShapeBox::getXHalfLength ( ) const
inline

Definition at line 19 of file CocoaSolidShapeBox.h.

References theXHalfLength.

Referenced by CocoaToDDLMgr::so().

19 { return theXHalfLength; }
ALIfloat CocoaSolidShapeBox::getYHalfLength ( ) const
inline

Definition at line 20 of file CocoaSolidShapeBox.h.

References theYHalfLength.

Referenced by CocoaToDDLMgr::so().

20 { return theYHalfLength; }
ALIfloat CocoaSolidShapeBox::getZHalfLength ( ) const
inline

Definition at line 21 of file CocoaSolidShapeBox.h.

References theZHalfLength.

Referenced by CocoaToDDLMgr::so().

21 { return theZHalfLength; }

Member Data Documentation

ALIfloat CocoaSolidShapeBox::theXHalfLength
private

Definition at line 24 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getXHalfLength().

ALIfloat CocoaSolidShapeBox::theYHalfLength
private

Definition at line 25 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getYHalfLength().

ALIfloat CocoaSolidShapeBox::theZHalfLength
private

Definition at line 26 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getZHalfLength().