#include <GradientRoundBorderStrategy.h>
Inherits BorderStrategy.
Inheritance diagram for GradientRoundBorderStrategy:
Public Member Functions | |
GradientRoundBorderStrategy (void) | |
~GradientRoundBorderStrategy (void) | |
unsigned int | getNumberSegements () |
void | setNumberSegments (unsigned int nSegs) |
Protected Member Functions | |
void | draw (const std::vector< unsigned long > &selectedIds) |
void | createDisplayList () |
Protected Attributes | |
unsigned int | nSegments |
unsigned int | dlBorderSelected |
float | dlScaleX |
float | dlScaleY |
GradientRoundBorderStrategy::GradientRoundBorderStrategy | ( | void | ) |
Constructs a gradient round border strategy.
GradientRoundBorderStrategy::~GradientRoundBorderStrategy | ( | void | ) |
Destroys this strategy.
unsigned int GradientRoundBorderStrategy::getNumberSegements | ( | ) | [inline] |
Returns the number of segments in which the border circle is divided.
void GradientRoundBorderStrategy::setNumberSegments | ( | unsigned int | nSegs | ) | [inline] |
Sets the number of segments in which the border circle is divided.
nSegs | the number of segments in which the border circle is divided. |
void GradientRoundBorderStrategy::draw | ( | const std::vector< unsigned long > & | selectedIds | ) | [protected, virtual] |
Defines the drawing strategy for the associated component.
enablePicking | if true, draw for selection mode (adding the component id). |
Reimplemented from BorderStrategy.
void GradientRoundBorderStrategy::createDisplayList | ( | ) | [protected, virtual] |
Creates the display list to draw this border.
Reimplemented from BorderStrategy.
unsigned int GradientRoundBorderStrategy::nSegments [protected] |
The number of segments the border circle is divided.
unsigned int GradientRoundBorderStrategy::dlBorderSelected [protected] |
The selected display list identifier.
float GradientRoundBorderStrategy::dlScaleX [protected] |
The scaleX value currently used by the display list.
float GradientRoundBorderStrategy::dlScaleY [protected] |
The scaleY value currently used by the display list.