Class Ifc4x1::IfcSurfaceStyleShading

Nested Relationships

This class is a nested type of Struct Ifc4x1.

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class Ifc4x1::IfcSurfaceStyleShading : public Ifc4x1::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 Ifc4x1::IfcSurfaceStyleRendering

Public Functions

::Ifc4x1::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(::Ifc4x1::IfcColourRgb *v)
bool hasTransparency() const

Whether the optional attribute Transparency is defined for this IfcSurfaceStyleShading.

double Transparency() const
void setTransparency(double v)
const IfcParse::entity &declaration() const
IfcSurfaceStyleShading(IfcEntityInstanceData *e)
IfcSurfaceStyleShading(::Ifc4x1::IfcColourRgb *v1_SurfaceColour, boost::optional<double> v2_Transparency)

Public Static Functions

const IfcParse::entity &Class()