MeVisLab Toolbox Reference
EndpointDecorator Class Reference

#include <EndpointDecorator.h>

Public Member Functions

 EndpointDecorator (MLfloat pixelSize, int decorationType)
 
void draw (const SbVec2f &origin, const SbVec2f &target)
 

Protected Member Functions

void drawArrowHead (const SbVec2f &origin, const SbVec2f &target)
 
void drawPerpendicularEnd (const SbVec2f &origin, const SbVec2f &target)
 

Protected Attributes

MLfloat _pixelSize
 
int _decorationType
 

Detailed Description

Definition at line 35 of file EndpointDecorator.h.

Constructor & Destructor Documentation

◆ EndpointDecorator()

EndpointDecorator::EndpointDecorator ( MLfloat pixelSize,
int decorationType )

Member Function Documentation

◆ draw()

void EndpointDecorator::draw ( const SbVec2f & origin,
const SbVec2f & target )

◆ drawArrowHead()

void EndpointDecorator::drawArrowHead ( const SbVec2f & origin,
const SbVec2f & target )
protected

◆ drawPerpendicularEnd()

void EndpointDecorator::drawPerpendicularEnd ( const SbVec2f & origin,
const SbVec2f & target )
protected

Member Data Documentation

◆ _decorationType

int EndpointDecorator::_decorationType
protected

Definition at line 47 of file EndpointDecorator.h.

◆ _pixelSize

MLfloat EndpointDecorator::_pixelSize
protected

Definition at line 46 of file EndpointDecorator.h.


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