Blender V5.0
Freestyle::NodeLight Class Reference

#include <NodeLight.h>

Inherits Freestyle::Node.

Public Member Functions

 NodeLight ()
 NodeLight (NodeLight &iBrother)
virtual ~NodeLight ()
virtual void accept (SceneVisitor &v)
const floatambient () const
const floatdiffuse () const
const floatspecular () const
const floatposition () const
bool isOn () const
int number () const
Public Member Functions inherited from Freestyle::Node
 Node ()
 Node (const Node &iBrother)
virtual ~Node ()
virtual const BBox< Vec3r > & bbox () const
virtual void setBBox (const BBox< Vec3r > &iBox)
virtual void AddBBox (const BBox< Vec3r > &iBox)
virtual const BBox< Vec3r > & UpdateBBox ()
virtual void clearBBox ()
Public Member Functions inherited from Freestyle::BaseObject
 BaseObject ()
virtual ~BaseObject ()
virtual int destroy ()
int addRef ()
int release ()

Detailed Description

Definition at line 22 of file NodeLight.h.

Constructor & Destructor Documentation

◆ NodeLight() [1/2]

Freestyle::NodeLight::NodeLight ( )

Definition at line 16 of file NodeLight.cpp.

References i.

Referenced by NodeLight().

◆ NodeLight() [2/2]

Freestyle::NodeLight::NodeLight ( NodeLight & iBrother)

◆ ~NodeLight()

virtual Freestyle::NodeLight::~NodeLight ( )
inlinevirtual

Definition at line 27 of file NodeLight.h.

Member Function Documentation

◆ accept()

void Freestyle::NodeLight::accept ( SceneVisitor & v)
virtual

Accept the corresponding visitor

Reimplemented from Freestyle::Node.

Definition at line 60 of file NodeLight.cpp.

References v.

◆ ambient()

const float * Freestyle::NodeLight::ambient ( ) const
inline

Accessors for the light properties

Definition at line 33 of file NodeLight.h.

Referenced by NodeLight().

◆ diffuse()

const float * Freestyle::NodeLight::diffuse ( ) const
inline

Definition at line 38 of file NodeLight.h.

Referenced by NodeLight().

◆ isOn()

bool Freestyle::NodeLight::isOn ( ) const
inline

Definition at line 53 of file NodeLight.h.

Referenced by NodeLight().

◆ number()

int Freestyle::NodeLight::number ( ) const
inline

Definition at line 58 of file NodeLight.h.

◆ position()

const float * Freestyle::NodeLight::position ( ) const
inline

Definition at line 48 of file NodeLight.h.

Referenced by NodeLight().

◆ specular()

const float * Freestyle::NodeLight::specular ( ) const
inline

Definition at line 43 of file NodeLight.h.

Referenced by NodeLight().


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