Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

SUMA_EDGE_LIST Struct Reference

#include <SUMA_define.h>


Data Fields

int LinkedPtrType
int N_links
char owner_id [SUMA_IDCODE_LENGTH]
char * idcode_str
int ** EL
int ** ELps
int * ELloc
int N_EL
int N_Distinct_Edges
int max_N_Hosts
int min_N_Hosts
int ** Tri_limb
float * Le

Detailed Description

structure containing the edges that make up a triangular faceset list

Definition at line 712 of file SUMA_define.h.


Field Documentation

int** SUMA_EDGE_LIST::EL
 

pointer to where the Edge List ( N_EL x 2 ) will be placed each row is an edge, i1 i2 where i1 is always <= i2 EL is sorted by row

Definition at line 719 of file SUMA_define.h.

Referenced by SUMA_AssignTriBranch(), SUMA_Build_FirstNeighb(), SUMA_Draw_SO_ROI(), SUMA_FindEdge(), SUMA_FindEdgeInTri(), SUMA_free_Edge_List(), SUMA_FromIntEdgeToIntEdge(), SUMA_Get_Incident(), SUMA_GetContour(), SUMA_IntersectionStrip(), SUMA_isSameEdge(), SUMA_isSelfIntersect(), SUMA_Make_Edge_List_eng(), SUMA_MakeConsistent(), SUMA_Mark_Tri(), SUMA_Show_Edge_List(), SUMA_Show_SPI(), SUMA_Surf_Plane_Intersect(), SUMA_SurfaceObject_Info(), and SumaToGts().

int* SUMA_EDGE_LIST::ELloc
 

k x 1 vector that stores where each node's listing begins. ELloc is used to quickly find a certain edge in EL to find the edge formed by nodes na-nb find the minimum of na and nb (say it's nb) the first reference of an edge containing nb starts at EL(ELloc(nb),:) NOTE: ELloc contains an entry for each node in FaceSetList, except the largest node index since that's never in the first column of EL

Definition at line 730 of file SUMA_define.h.

Referenced by SUMA_FindEdge(), SUMA_FindEdgeInTri(), SUMA_free_Edge_List(), SUMA_Get_Incident(), SUMA_IntersectionStrip(), and SUMA_Make_Edge_List_eng().

int** SUMA_EDGE_LIST::ELps
 

pointer to where the Edge List Property matrix ( N_EL x 2 )will be placed 1st column, row i = 1 means edge i: i1,i2 was encountered as i2->i1 in the triangle J (so it was flipped when stored in EL) = -1 means edge i: i1,i2 was encountered as i1->i2 in the triangle J (so no flipping was done to store it in EL) 2nd column, row i = J is the triangle ( FL[J] ) that the segment belongs to. 3rd column, row i = Numer of triangles that contain this edge. This number is positive for the first occurence of the edge in EL, it is -1 afterwards. A decent edge has 2 hosting triangles, an edge edge has 1 hosting triangle. Bad edges come in all other colors

Definition at line 722 of file SUMA_define.h.

Referenced by SUMA_AssignTriBranch(), SUMA_Find_Edge_Nhost(), SUMA_FindEdgeInTri(), SUMA_free_Edge_List(), SUMA_Get_Incident(), SUMA_GetContour(), SUMA_IntersectionStrip(), SUMA_isSelfIntersect(), SUMA_Make_Edge_List_eng(), SUMA_MakeConsistent(), SUMA_Mark_Tri(), SUMA_NodePath_to_TriPath_Inters(), SUMA_Show_Edge_List(), SUMA_Surf_Plane_Intersect(), SUMA_SurfaceObject_Info(), and SumaToGts().

char* SUMA_EDGE_LIST::idcode_str
 

ID of this particular edge list

Definition at line 718 of file SUMA_define.h.

Referenced by SUMA_free_Edge_List(), SUMA_Make_Edge_List_eng(), SUMA_Show_Edge_List(), and SUMA_SO2nimlSO().

float* SUMA_EDGE_LIST::Le
 

Vector N_EL elements long containing the length of each edge in EL

Definition at line 745 of file SUMA_define.h.

Referenced by SUMA_getoffsets(), and SUMA_Make_Edge_List_eng().

int SUMA_EDGE_LIST::LinkedPtrType
 

Indicates the type of linked pointer

Definition at line 713 of file SUMA_define.h.

Referenced by SUMA_Make_Edge_List_eng().

int SUMA_EDGE_LIST::max_N_Hosts
 

Maximum number of triangle hosts any one edge has (max ( ELps(:,2) != -1 ) )

Definition at line 741 of file SUMA_define.h.

Referenced by SUMA_Make_Edge_List_eng(), SUMA_Pattie_Volume(), and SUMA_SurfaceObject_Info().

int SUMA_EDGE_LIST::min_N_Hosts
 

Minimum version of max_N_Hosts

Definition at line 742 of file SUMA_define.h.

Referenced by SUMA_Make_Edge_List_eng(), SUMA_Pattie_Volume(), and SUMA_SurfaceObject_Info().

int SUMA_EDGE_LIST::N_Distinct_Edges
 

Definition at line 740 of file SUMA_define.h.

Referenced by SUMA_Make_Edge_List_eng(), SUMA_Mesh_Resample(), SUMA_SurfaceObject_Info(), and SumaToGts().

int SUMA_EDGE_LIST::N_EL
 

Number of segments = 3 * N_Facesets

Definition at line 739 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_AssignTriBranch(), SUMA_Build_FirstNeighb(), SUMA_FindEdge(), SUMA_FindEdgeInTri(), SUMA_free_Edge_List(), SUMA_Get_Incident(), SUMA_GetContour(), SUMA_isSelfIntersect(), SUMA_Make_Edge_List_eng(), SUMA_MakeConsistent(), SUMA_Show_Edge_List(), SUMA_Show_SPI(), SUMA_Surf_Plane_Intersect(), SUMA_SurfaceObject_Info(), and SumaToGts().

int SUMA_EDGE_LIST::N_links
 

Number of links to this pointer

Definition at line 714 of file SUMA_define.h.

Referenced by SUMA_free_Edge_List(), and SUMA_Make_Edge_List_eng().

char SUMA_EDGE_LIST::owner_id[SUMA_IDCODE_LENGTH]
 

The id of whoever created that pointer. Might never get used....

Definition at line 715 of file SUMA_define.h.

Referenced by SUMA_Make_Edge_List_eng().

int** SUMA_EDGE_LIST::Tri_limb
 

each row j of Tri_limb contains the indices into EL (and ELps) of the edges that make it up

Definition at line 744 of file SUMA_define.h.

Referenced by SUMA_free_Edge_List(), SUMA_FromIntEdgeToIntEdge(), SUMA_IntersectionStrip(), SUMA_Make_Edge_List_eng(), SUMA_MakeConsistent(), SUMA_Mark_Tri(), SUMA_Show_Edge_List(), and SUMA_SurfaceObject_Info().


The documentation for this struct was generated from the following file:
 

Powered by Plone

This site conforms to the following standards: