NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
IPhyloTreeRender::ProjectionElement Struct Reference

Search Toolkit Book for IPhyloTreeRender::ProjectionElement

A coord (in one of +x,-x,+y,-y) and pixel offset in the same direction. More...

#include <gui/widgets/phylo_tree/phylo_tree_render.hpp>

Public Member Functions

 ProjectionElement ()
 
 ProjectionElement (float p, float o)
 

Public Attributes

float m_NodeCoord
 Node x or y position depending on whether this extent is vert. or horiz. More...
 
float m_PixelOffset
 Pixel offset (direction +x,-x,+y,-y) relative to the x or y position above. More...
 
float m_ProjectionCood
 Given a particular visible area and viewport size, position to which this node projects inside the viewport. More...
 

Detailed Description

A coord (in one of +x,-x,+y,-y) and pixel offset in the same direction.

Definition at line 418 of file phylo_tree_render.hpp.

Constructor & Destructor Documentation

◆ ProjectionElement() [1/2]

IPhyloTreeRender::ProjectionElement::ProjectionElement ( )
inline

Definition at line 419 of file phylo_tree_render.hpp.

◆ ProjectionElement() [2/2]

IPhyloTreeRender::ProjectionElement::ProjectionElement ( float  p,
float  o 
)
inline

Definition at line 420 of file phylo_tree_render.hpp.

Member Data Documentation

◆ m_NodeCoord

float IPhyloTreeRender::ProjectionElement::m_NodeCoord

Node x or y position depending on whether this extent is vert. or horiz.

Definition at line 426 of file phylo_tree_render.hpp.

◆ m_PixelOffset

float IPhyloTreeRender::ProjectionElement::m_PixelOffset

Pixel offset (direction +x,-x,+y,-y) relative to the x or y position above.

The owning class tracks according to offset direction.

Definition at line 430 of file phylo_tree_render.hpp.

◆ m_ProjectionCood

float IPhyloTreeRender::ProjectionElement::m_ProjectionCood

Given a particular visible area and viewport size, position to which this node projects inside the viewport.

Definition at line 434 of file phylo_tree_render.hpp.


The documentation for this struct was generated from the following file:
Modified on Fri Sep 20 14:58:33 2024 by modify_doxy.py rev. 669887