PLaSK library
|
#include <plask/geometry/leaf.hpp>
Public Member Functions | |
virtual shared_ptr< Material > | getMaterial (const GeometryObjectLeaf< dim > &thisObj, const DVec &p) const =0 |
virtual shared_ptr< Material > | singleMaterial () const =0 |
Get material only if it this provider represents solid material (if getMaterial returns value independent from arguments). | |
virtual MaterialProvider * | clone () const =0 |
virtual shared_ptr< Material > | getRepresentativeMaterial () const =0 |
Get representative material of this provider (typically material which is returned in center of object). | |
virtual XMLWriter::Element & | writeXML (XMLWriter::Element &dest_xml_object, const AxisNames &axes) const =0 |
virtual bool | isUniform (Primitive< 3 >::Direction direction) const =0 |
virtual | ~MaterialProvider () |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Get representative material of this provider (typically material which is returned in center of object).
Implemented in plask::GeometryObjectLeaf< dim >::SolidMaterial, and plask::GeometryObjectLeaf< dim >::GradientMaterial.
|
pure virtual |
|
pure virtual |
Get material only if it this provider represents solid material (if getMaterial returns value independent from arguments).
Implemented in plask::GeometryObjectLeaf< dim >::SolidMaterial, and plask::GeometryObjectLeaf< dim >::GradientMaterial.
|
pure virtual |