Class Ifc4::IfcSurfaceStyleShading¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcPresentationItem
(Class Ifc4::IfcPresentationItem)
Derived Type¶
public Ifc4::IfcSurfaceStyleRendering
(Class Ifc4::IfcSurfaceStyleRendering)
Class Documentation¶
-
class
Ifc4
::
IfcSurfaceStyleShading
: public Ifc4::IfcPresentationItem¶ Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics.
The entity IfcSurfaceStyleShading allows for colour information used for shading, whereas subtypes provide data for more sophisticated rendering techniques. The surface colour is used for colouring or simple shading of the assigned surfaces.
NOTE Corresponding ISO 10303 entity: surface_style_rendering. Please refer to ISO/IS 10303-46:1994 for the final definition of the formal standard. No rendering method is defined for each surface style (such as constant, colour, dot or normal shading), therefore the attribute rendering_method has been omitted.
HISTORY: New entity in IFC 2x.
Subclassed by Ifc4::IfcSurfaceStyleRendering
Public Types
-
typedef IfcTemplatedEntityList<IfcSurfaceStyleShading>
list
¶
Public Functions
-
::Ifc4::IfcColourRgb *
SurfaceColour
() const¶ The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue.
-
void
setSurfaceColour
(::Ifc4::IfcColourRgb *v)¶
-
bool
hasTransparency
() const¶ Whether the optional attribute Transparency is defined for this IfcSurfaceStyleShading.
-
double
Transparency
() const¶
-
void
setTransparency
(double v)¶
-
IfcSurfaceStyleShading
(IfcEntityInstanceData *e)¶
-
IfcSurfaceStyleShading
(::Ifc4::IfcColourRgb *v1_SurfaceColour, boost::optional<double> v2_Transparency)¶
-
typedef IfcTemplatedEntityList<IfcSurfaceStyleShading>