Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
topviewfuncs.h File Reference
#include "smyrnadefs.h"
Include dependency graph for topviewfuncs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pick_object_xyz (Agraph_t *g, topview *t, float x, float y, float z)
 
void initSmGraph (Agraph_t *g, topview *rv)
 
void updateSmGraph (Agraph_t *g, topview *t)
 
void renderSmGraph (topview *t)
 
void cacheSelectedEdges (Agraph_t *g, topview *t)
 
void cacheSelectedNodes (Agraph_t *g, topview *t)
 

Function Documentation

◆ cacheSelectedEdges()

void cacheSelectedEdges ( Agraph_t g,
topview t 
)
extern

Definition at line 774 of file topviewfuncs.c.

References topview::cache, renderSelectedEdges(), and topviewcache::seledge_id.

Referenced by deselect_all(), pick_object_xyz(), pick_objects_rect(), and updateSmGraph().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cacheSelectedNodes()

void cacheSelectedNodes ( Agraph_t g,
topview t 
)
extern

Definition at line 785 of file topviewfuncs.c.

References topview::cache, renderSelectedNodes(), and topviewcache::selnode_id.

Referenced by deselect_all(), pick_object_xyz(), pick_objects_rect(), select_polygon(), and updateSmGraph().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initSmGraph()

void initSmGraph ( Agraph_t g,
topview rv 
)
extern

Definition at line 860 of file topviewfuncs.c.

References topview::active, _ViewInfo::activeGraph, topview::attributes, topview::cache, topviewcache::edge_id, topview::fisheyeParams, _ViewInfo::g, topview::h, load_attr_list(), topviewcache::node_id, NULL, topview::sel, _selection::selectEdges, _selection::selectNodes, topviewcache::seledge_id, topviewcache::selnode_id, updateSmGraph(), and view.

Referenced by refreshViewport().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pick_object_xyz()

void pick_object_xyz ( Agraph_t g,
topview t,
float  x,
float  y,
float  z 
)

Definition at line 152 of file selectionfuncs.c.

References AGEDGE, AGNODE, agobjkind(), cacheSelectedEdges(), cacheSelectedNodes(), ND_printLabel, pick_object(), select_edge(), select_node(), glCompPoint::x, glCompPoint::y, glCompPoint::z, and z.

Referenced by apply_actions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ renderSmGraph()

void renderSmGraph ( topview t)
extern

◆ updateSmGraph()

void updateSmGraph ( Agraph_t g,
topview t 
)
extern

Definition at line 813 of file topviewfuncs.c.

References AGEDGE, agfstnode(), agfstout(), aginit(), AGNODE, agnxtnode(), agnxtout(), cacheEdgeLabels(), cacheEdges(), cacheNodeLabels(), cacheNodes(), cacheSelectedEdges(), cacheSelectedNodes(), glCompPoly::cnt, getEdgeLength(), topview::global_z, topview::maxedgelen, topview::minedgelen, topview::Nodecount, NULL, glCompPoly::pts, renderNodes(), topview::sel, _selection::selPoly, set_boundaries(), _ViewInfo::Topview, and view.

Referenced by initSmGraph(), on_settingsApplyBtn_clicked(), tv_hide_all(), and tv_show_all().

Here is the call graph for this function:
Here is the caller graph for this function: