|
Open CASCADE Technology 6.5.2
|
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.
#include <Vrml_PointLight.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Vrml_PointLight () | |
| Vrml_PointLight (const Standard_Boolean aOnOff, const Standard_Real aIntensity, const Quantity_Color &aColor, const gp_Vec &aLocation) | |
| void | SetOnOff (const Standard_Boolean aOnOff) |
| Standard_Boolean | OnOff () const |
| void | SetIntensity (const Standard_Real aIntensity) |
| Standard_Real | Intensity () const |
| void | SetColor (const Quantity_Color &aColor) |
| Quantity_Color | Color () const |
| void | SetLocation (const gp_Vec &aLocation) |
| gp_Vec | Location () const |
| Standard_OStream & | Print (Standard_OStream &anOStream) const |
| Vrml_PointLight::Vrml_PointLight | ( | ) |
| Vrml_PointLight::Vrml_PointLight | ( | const Standard_Boolean | aOnOff, |
| const Standard_Real | aIntensity, | ||
| const Quantity_Color & | aColor, | ||
| const gp_Vec & | aLocation | ||
| ) |
| Quantity_Color Vrml_PointLight::Color | ( | ) | const |
| Standard_Real Vrml_PointLight::Intensity | ( | ) | const |
| gp_Vec Vrml_PointLight::Location | ( | ) | const |
| Standard_Boolean Vrml_PointLight::OnOff | ( | ) | const |
| void Vrml_PointLight::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Vrml_PointLight::operator new | ( | size_t | size | ) | [inline] |
| void* Vrml_PointLight::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| Standard_OStream& Vrml_PointLight::Print | ( | Standard_OStream & | anOStream | ) | const |
| void Vrml_PointLight::SetColor | ( | const Quantity_Color & | aColor | ) |
| void Vrml_PointLight::SetIntensity | ( | const Standard_Real | aIntensity | ) |
| void Vrml_PointLight::SetLocation | ( | const gp_Vec & | aLocation | ) |
| void Vrml_PointLight::SetOnOff | ( | const Standard_Boolean | aOnOff | ) |
1.7.4