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