MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
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 33 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 45 of file EndpointDecorator.h.

◆ _pixelSize

MLfloat EndpointDecorator::_pixelSize
protected

Definition at line 44 of file EndpointDecorator.h.


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