() { m_BoundaryNodes.clear(); }
65vector<size_t>&
GetNodes() {
returnm_BoundaryNodes; }
99 voidCreateVbo(
size_tnumSements);
143 virtual voidSyncBuffers();
146 virtual voidClearArrays();
150 voidEnableCircularLabelTrimming(
const CVect2<float>& cladogram_center);
154 floatGetCurrentRotationAngle(
const CGlPane& pane,
156 bool& visible)
const;
183 voidx_RenderNodes(
CGlPane& pane,
185 voidx_RenderNodeLabelsPdf(
CGlPane& pane,
188 voidx_RenderNodesPdf(
CGlPane& pane,
198 voidx_CircularLabelTrim(
const CGlPane& pane,
201 booltruncate_labels);
203 voidx_CircularLabelMinRotate(
const CGlPane& pane,
206 booltruncate_labels);
208 floatx_CircularLabelMinAngle(
const CGlPane& pane,
211 bool& visible)
const;
CGlModel2D Base class for a model set up for rendering purposes.
CGlRenderNode A unit of renderable geometry and the associated state information needed for rendering...
CGlVboNode A rendering node that holds a vertex buffer object.
Tree subclass also has functions and data needed for rendering and selection.
CRgbaGradColorTable Provides a storage for colors (to eliminate color creation overhead) and Function...
void SetPane(const CGlPane &p)
CTreeBoundaryNode(CPhyloTree *t)
vector< size_t > m_BoundaryNodes
Vector of all nodes that have a boundary defined.
CRef< CPhyloTreeScheme > m_SL
virtual ~CTreeBoundaryNode()
void SetIncludeLabels(bool b)
vector< size_t > & GetNodes()
void SetScheme(CPhyloTreeScheme &sl)
class CTreeCollisionModel2D This is a subclass of the spatial collision detection datastructure speci...
class CTreeGraphicsModel Model for rendering tree graphics data.
vector< size_t > & GetNodeIndices()
Get all the nodes (indicies point to nodes in phylo tree)
CRef< CPhyloTreeScheme > m_SL
CTreeTriFanNode * GetTriFanNode()
CRef< CRgbaGradColorTable > m_ColorTable
CTreeBoundaryNode * GetBoundaryNode()
CRgbaGradColorTable * GetColorTable()
Get color table used a 1D texture map for edges and nodes.
CIRef< I3DTexture > m_CollapseTexture
void SetRenderTooltips(bool b)
CTreeBoundaryNode * m_BoundaryNode
CPhyloTree * GetTree()
Get the tree (to which the node indices belong)
void SetRotateLabels(bool b)
CTreeCollisionModel2D & GetCollisionData()
void x_RenderBoundariesPdf(CGlPane &pane, CRef< CPdf > &pdf, const CVect3< float > &scale)
bool GetRotateLabels() const
CTreeCollisionModel2D m_CollisionData
bool m_EnableCircularLabelTrimming
These are specialized for rendering circular cladograms.
CTreeTriFanNode * m_TriFanNode
bool GetRenderTooltips() const
float m_BoundaryRenderTime
CVect2< float > m_CladogramCenter
const CTreeCollisionModel2D & GetCollisionData() const
vector< size_t > m_NodeIndices
virtual ~CTreeTriFanNode()
Delete all buffers.
void SetLabelVisibility(bool b)
Set default label visibility (if false, no labels rendered, if true, labels which are turned on and v...
bool GetLabelVisibility() const
bool m_LabelVis
If false, no labels are rendered, if true, designated labels rendered.
virtual void Render()
Set state and call x_Render() to render geometry.
virtual void x_Render()
Does actual rendering work.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_PHYLO_TREE_EXPORT
Defines to provide correct exporting from DLLs in Windows.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4