Graphviz 13.0.0~dev.20241220.2304
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 773 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 784 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 858 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 153 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 812 of file topviewfuncs.c.

References AGEDGE, agfstnode(), agfstout(), aginit(), AGNODE, agnxtnode(), agnxtout(), cacheEdgeLabels(), cacheEdges(), cacheNodeLabels(), cacheNodes(), cacheSelectedEdges(), cacheSelectedNodes(), getEdgeLength(), topview::global_z, topview::maxedgelen, topview::minedgelen, topview::Nodecount, 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: