bpp-phyl3  3.0.0
bpp::TreeDrawingNodeInfo Class Reference

#include <Bpp/Phyl/Graphics/AbstractTreeDrawing.h>

+ Collaboration diagram for bpp::TreeDrawingNodeInfo:

Public Member Functions

 TreeDrawingNodeInfo ()
 
virtual ~TreeDrawingNodeInfo ()
 
const Point2D< double > & getPosition () const
 
Point2D< double > & getPosition ()
 
void setPosition (const Point2D< double > &position)
 
double getX () const
 
double getY () const
 
void setX (double x)
 
void setY (double y)
 
void collapse (bool yn)
 
bool isCollapsed () const
 

Private Attributes

Point2D< double > pos_
 
bool collapsed_
 

Detailed Description

Definition at line 21 of file AbstractTreeDrawing.h.

Constructor & Destructor Documentation

◆ TreeDrawingNodeInfo()

bpp::TreeDrawingNodeInfo::TreeDrawingNodeInfo ( )
inline

Definition at line 28 of file AbstractTreeDrawing.h.

◆ ~TreeDrawingNodeInfo()

virtual bpp::TreeDrawingNodeInfo::~TreeDrawingNodeInfo ( )
inlinevirtual

Definition at line 29 of file AbstractTreeDrawing.h.

Member Function Documentation

◆ collapse()

void bpp::TreeDrawingNodeInfo::collapse ( bool  yn)
inline

Definition at line 39 of file AbstractTreeDrawing.h.

References collapsed_.

◆ getPosition() [1/2]

Point2D<double>& bpp::TreeDrawingNodeInfo::getPosition ( )
inline

Definition at line 33 of file AbstractTreeDrawing.h.

References pos_.

◆ getPosition() [2/2]

const Point2D<double>& bpp::TreeDrawingNodeInfo::getPosition ( ) const
inline

Definition at line 32 of file AbstractTreeDrawing.h.

References pos_.

◆ getX()

double bpp::TreeDrawingNodeInfo::getX ( ) const
inline

Definition at line 35 of file AbstractTreeDrawing.h.

References bpp::Point2D< class >::getX(), and pos_.

◆ getY()

double bpp::TreeDrawingNodeInfo::getY ( ) const
inline

Definition at line 36 of file AbstractTreeDrawing.h.

References bpp::Point2D< class >::getY(), and pos_.

◆ isCollapsed()

bool bpp::TreeDrawingNodeInfo::isCollapsed ( ) const
inline

Definition at line 40 of file AbstractTreeDrawing.h.

References collapsed_.

◆ setPosition()

void bpp::TreeDrawingNodeInfo::setPosition ( const Point2D< double > &  position)
inline

Definition at line 34 of file AbstractTreeDrawing.h.

References pos_.

◆ setX()

void bpp::TreeDrawingNodeInfo::setX ( double  x)
inline

Definition at line 37 of file AbstractTreeDrawing.h.

References pos_, and bpp::Point2D< class >::setX().

◆ setY()

void bpp::TreeDrawingNodeInfo::setY ( double  y)
inline

Definition at line 38 of file AbstractTreeDrawing.h.

References pos_, and bpp::Point2D< class >::setY().

Member Data Documentation

◆ collapsed_

bool bpp::TreeDrawingNodeInfo::collapsed_
private

Definition at line 25 of file AbstractTreeDrawing.h.

Referenced by collapse(), and isCollapsed().

◆ pos_

Point2D<double> bpp::TreeDrawingNodeInfo::pos_
private

Definition at line 24 of file AbstractTreeDrawing.h.

Referenced by getPosition(), getX(), getY(), setPosition(), setX(), and setY().


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