OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Vrml_PointLight Class Reference

    defines a point light node of VRML specifying properties of lights. This node defines a point light source at a fixed 3D location A point source illuminates equally in all directions; that is omni-directional. Color is written as an RGB triple. Light intensity must be in the range 0.0 to 1.0, inclusive. More...

    #include <Vrml_PointLight.hxx>

    Public Member Functions

     Vrml_PointLight ()
     Vrml_PointLight (const bool aOnOff, const double aIntensity, const Quantity_Color &aColor, const gp_Vec &aLocation)
    void SetOnOff (const bool aOnOff)
    bool OnOff () const
    void SetIntensity (const double aIntensity)
    double Intensity () const
    void SetColor (const Quantity_Color &aColor)
    Quantity_Color Color () const
    void SetLocation (const gp_Vec &aLocation)
    gp_Vec Location () const
    Standard_OStreamPrint (Standard_OStream &anOStream) const

    Detailed Description

    defines a point light node of VRML specifying properties of lights. This node defines a point light source at a fixed 3D location A point source illuminates equally in all directions; that is omni-directional. Color is written as an RGB triple. Light intensity must be in the range 0.0 to 1.0, inclusive.

    Constructor & Destructor Documentation

    ◆ Vrml_PointLight() [1/2]

    Vrml_PointLight::Vrml_PointLight ( )

    ◆ Vrml_PointLight() [2/2]

    Vrml_PointLight::Vrml_PointLight ( const bool aOnOff,
    const double aIntensity,
    const Quantity_Color & aColor,
    const gp_Vec & aLocation )

    Member Function Documentation

    ◆ Color()

    Quantity_Color Vrml_PointLight::Color ( ) const

    ◆ Intensity()

    double Vrml_PointLight::Intensity ( ) const

    ◆ Location()

    gp_Vec Vrml_PointLight::Location ( ) const

    ◆ OnOff()

    bool Vrml_PointLight::OnOff ( ) const

    ◆ Print()

    Standard_OStream & Vrml_PointLight::Print ( Standard_OStream & anOStream) const

    ◆ SetColor()

    void Vrml_PointLight::SetColor ( const Quantity_Color & aColor)

    ◆ SetIntensity()

    void Vrml_PointLight::SetIntensity ( const double aIntensity)

    ◆ SetLocation()

    void Vrml_PointLight::SetLocation ( const gp_Vec & aLocation)

    ◆ SetOnOff()

    void Vrml_PointLight::SetOnOff ( const bool aOnOff)

    The documentation for this class was generated from the following file: