K3dLine Class Reference

#include <K3dLine.h>

Inheritance diagram for K3dLine:

K3dRay K3dLineMove K3dLineObj List of all members.

Public Member Functions

 K3dLine ()
 ~K3dLine ()
K3dLineoperator= (K3dLine &_rkLine)
K3dColor3GetColor ()
 Get color.
void SetColor (K3dColor3 *_pColor)
 Set color.
GLfloat & GetWidth ()
 Set line width.

Private Attributes

K3dColor3m_pColor
 Line color.
GLfloat m_fWidth
 Line width.

Detailed Description

Definition at line 39 of file K3dLine.h.


Constructor & Destructor Documentation

K3dLine::K3dLine (  ) 

Definition at line 37 of file K3dLine.cpp.

References m_fWidth, and m_pColor.

K3dLine::~K3dLine (  ) 

Definition at line 43 of file K3dLine.cpp.


Member Function Documentation

K3dLine & K3dLine::operator= ( K3dLine _rkLine  ) 

Definition at line 47 of file K3dLine.cpp.

References GetColor(), K3dRay::GetDirection(), K3dRay::GetOrigin(), and GetWidth().

K3dColor3* K3dLine::GetColor (  )  [inline]

Get color.

Definition at line 51 of file K3dLine.h.

References m_pColor.

Referenced by K3dLineMove::operator=(), and operator=().

void K3dLine::SetColor ( K3dColor3 _pColor  )  [inline]

Set color.

Definition at line 57 of file K3dLine.h.

References m_pColor.

Referenced by K3dLineBuild::CreateNewLineObj().

GLfloat& K3dLine::GetWidth (  )  [inline]

Set line width.

Definition at line 63 of file K3dLine.h.

References m_fWidth.

Referenced by K3dLineMove::operator=(), and operator=().


Member Data Documentation

K3dColor3* K3dLine::m_pColor [private]

Line color.

Definition at line 41 of file K3dLine.h.

Referenced by GetColor(), K3dLine(), and SetColor().

GLfloat K3dLine::m_fWidth [private]

Line width.

Definition at line 42 of file K3dLine.h.

Referenced by GetWidth(), and K3dLine().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:32 2007 for K3dEngine by  doxygen 1.5.0