wavelength 1.0.0
Loading...
Searching...
No Matches
RndLine::Point Class Reference

One point and what drawing derives from it. More...

#include <rndline.h>

Public Member Functions

 Point ()
 Construct a white point at the origin.
const Vector3 & GetCamPoint () const
Vector3 & GetCamPoint ()
void SetCamPoint (const Vector3 &point)
const Color & GetColor () const
Color & GetColor ()
void SetColor (const Color &color)
const Vector2 & GetDir () const
Vector2 & GetDir ()
void SetDir (const Vector2 &dir)
const Vector2 & GetOffset () const
Vector2 & GetOffset ()
void SetOffset (const Vector2 &offset)
const Vector3 & GetPoint () const
Vector3 & GetPoint ()
void SetPoint (const Vector3 &point)
const Vector2 & GetScreen () const
Vector2 & GetScreen ()

Detailed Description

One point and what drawing derives from it.

The RTTI includes the nested class name.

Constructor & Destructor Documentation

◆ Point()

RndLine::Point::Point ( )
inline

Construct a white point at the origin.

Member Function Documentation

◆ GetCamPoint() [1/2]

const Vector3 & RndLine::Point::GetCamPoint ( ) const
inline
Returns
The position in camera space.

◆ GetCamPoint() [2/2]

Vector3 & RndLine::Point::GetCamPoint ( )
inline
Returns
The position in camera space, for writing.

◆ SetCamPoint()

void RndLine::Point::SetCamPoint ( const Vector3 & point)
inline
Parameters
pointThe position in camera space.

◆ GetColor() [1/2]

const Color & RndLine::Point::GetColor ( ) const
inline
Returns
The colour.

◆ GetColor() [2/2]

Color & RndLine::Point::GetColor ( )
inline
Returns
The colour, for writing.

◆ SetColor()

void RndLine::Point::SetColor ( const Color & color)
inline
Parameters
colorThe colour.

◆ GetDir() [1/2]

const Vector2 & RndLine::Point::GetDir ( ) const
inline
Returns
The screen direction to the next point.

◆ GetDir() [2/2]

Vector2 & RndLine::Point::GetDir ( )
inline
Returns
The screen direction to the next point, for writing.

◆ SetDir()

void RndLine::Point::SetDir ( const Vector2 & dir)
inline
Parameters
dirThe screen direction to the next point.

◆ GetOffset() [1/2]

const Vector2 & RndLine::Point::GetOffset ( ) const
inline
Returns
The screen offset of the ribbon's edges from the point.

◆ GetOffset() [2/2]

Vector2 & RndLine::Point::GetOffset ( )
inline
Returns
The screen offset of the ribbon's edges from the point, for writing.

◆ SetOffset()

void RndLine::Point::SetOffset ( const Vector2 & offset)
inline
Parameters
offsetThe screen offset of the ribbon's edges from the point.

◆ GetPoint() [1/2]

const Vector3 & RndLine::Point::GetPoint ( ) const
inline
Returns
The position.

◆ GetPoint() [2/2]

Vector3 & RndLine::Point::GetPoint ( )
inline
Returns
The position, for writing.

◆ SetPoint()

void RndLine::Point::SetPoint ( const Vector3 & point)
inline
Parameters
pointThe position.

◆ GetScreen() [1/2]

const Vector2 & RndLine::Point::GetScreen ( ) const
inline
Returns
The position projected onto the screen.

◆ GetScreen() [2/2]

Vector2 & RndLine::Point::GetScreen ( )
inline
Returns
The position projected onto the screen, for writing.

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