A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/tree__graphics__model_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/phylo_tree/tree_graphics_model.hpp Source File

1 #ifndef __GUI_WIDGETS_PHYLO_TREE___GRAPHICS_MODEL__HPP 2 #define __GUI_WIDGETS_PHYLO_TREE___GRAPHICS_MODEL__HPP 64  void Clear

() { m_BoundaryNodes.clear(); }

65

vector<size_t>&

GetNodes

() {

return

m_BoundaryNodes; }

99  void

CreateVbo(

size_t

numSements);

143  virtual void

SyncBuffers();

146  virtual void

ClearArrays();

150  void

EnableCircularLabelTrimming(

const CVect2<float>

& cladogram_center);

154  float

GetCurrentRotationAngle(

const CGlPane

& pane,

156  bool

& visible)

const

;

183  void

x_RenderNodes(

CGlPane

& pane,

185  void

x_RenderNodeLabelsPdf(

CGlPane

& pane,

188  void

x_RenderNodesPdf(

CGlPane

& pane,

198  void

x_CircularLabelTrim(

const CGlPane

& pane,

201  bool

truncate_labels);

203  void

x_CircularLabelMinRotate(

const CGlPane

& pane,

206  bool

truncate_labels);

208  float

x_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