Represent an optical finish of a surface.
More...
#include <GeoOpticalSurface.h>
|
|
| GeoOpticalSurface ()=default |
| | empty constructor for ROOT
|
| |
| | GeoOpticalSurface (const std::string &name, int model, int finish, int type, double value) |
| | real constructor
|
| |
| void | setName (const std::string &name) |
| | set name of the optical surface
|
| |
| void | setModel (int model) |
| | set model for the surface
|
| |
| void | setFinish (int finish) |
| | set finish of the surface
|
| |
| void | setType (int type) |
| | set type of the surface
|
| |
| void | setValue (double value) |
| | set value for the surface condition
|
| |
| void | addProperty (const GeoMaterialProperty &property) |
| | add a property to the material
|
| |
| const std::string & | getName () const |
| | get name of the optical surface
|
| |
| int | getModel () const |
| | get model for the surface
|
| |
| int | getFinish () const |
| | get finish of the surface
|
| |
| int | getType () const |
| | get type of the surface
|
| |
| double | getValue () const |
| | get value for the surface condition
|
| |
| const std::vector< GeoMaterialProperty > & | getProperties () const |
| | get all properties
|
| |
| bool | hasProperties () const |
| | check if the material has at least one property
|
| |
Represent an optical finish of a surface.
Definition at line 21 of file GeoOpticalSurface.h.
◆ GeoOpticalSurface()
| GeoOpticalSurface |
( |
const std::string & | name, |
|
|
int | model, |
|
|
int | finish, |
|
|
int | type, |
|
|
double | value ) |
|
inline |
real constructor
Definition at line 26 of file GeoOpticalSurface.h.
26 : TObject(), m_name(name), m_model(model),
27 m_finish(finish), m_type(type), m_value(value) {}
◆ addProperty()
add a property to the material
Definition at line 39 of file GeoOpticalSurface.h.
39{ m_properties.emplace_back(property); }
◆ getFinish()
◆ getModel()
◆ getName()
| const std::string & getName |
( |
| ) |
const |
|
inline |
◆ getProperties()
◆ getType()
◆ getValue()
| double getValue |
( |
| ) |
const |
|
inline |
◆ hasProperties()
| bool hasProperties |
( |
| ) |
const |
|
inline |
check if the material has at least one property
- Returns
- true if there is at least one property
Definition at line 54 of file GeoOpticalSurface.h.
54{ return m_properties.size() > 0; }
◆ setFinish()
| void setFinish |
( |
int | finish | ) |
|
|
inline |
◆ setModel()
| void setModel |
( |
int | model | ) |
|
|
inline |
◆ setName()
| void setName |
( |
const std::string & | name | ) |
|
|
inline |
◆ setType()
◆ setValue()
| void setValue |
( |
double | value | ) |
|
|
inline |
◆ m_finish
◆ m_model
◆ m_name
◆ m_properties
◆ m_type
◆ m_value
The documentation for this class was generated from the following file: