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_SURF_PLANE_INTERSECT Struct Reference

Structure defining the intersection of a surface with a plane. More...

#include <SUMA_define.h>


Data Fields

int N_IntersEdges
int * IntersEdges
SUMA_BooleanisEdgeInters
float * IntersNodes
int * IntersTri
int N_IntersTri
SUMA_BooleanisNodeInMesh
int N_NodesInMesh
SUMA_BooleanisTriHit

Detailed Description

Structure defining the intersection of a surface with a plane.

Definition at line 1890 of file SUMA_define.h.


Field Documentation

int* SUMA_SURF_PLANE_INTERSECT::IntersEdges
 

Vector containing indices of edges intersected by the plane. The indices are into SO->EL->EL matrix. The space allocate for this vector is SO->EL->N_EL But that is way more than ususally needed. For this vector and others in this structure, reallocation is not done to save time. Useful values for IntersEdges are between IntersEdges[0] and IntersEdges[N_IntersEdges-1]

Definition at line 1892 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_AssignTriBranch(), SUMA_free_SPI(), SUMA_Show_SPI(), SUMA_Surf_Plane_Intersect(), and SUMA_Surf_Plane_Intersect_ROI().

float* SUMA_SURF_PLANE_INTERSECT::IntersNodes
 

Vector containing XYZ coordinates of the intersection point on each intersected segment. Allocated space is for 3*SO->EL->N_EL, meaningful values are for intersected segments only. Intersection point of edge SO->EL->EL[k][:] has X = IntersNodes[3*k], Y = IntersNodes[3*k+1] and Z = IntersNodes[3*k+2]

Definition at line 1906 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_free_SPI(), SUMA_FromIntEdgeToIntEdge(), SUMA_Show_SPI(), and SUMA_Surf_Plane_Intersect().

int* SUMA_SURF_PLANE_INTERSECT::IntersTri
 

Vector containing indices of triangles intersected by the plane (i.e. containing and edge that was intersected. Allocation is done for SO->N_FaceSet. But meaningful values are between IntersETri[0] and IntersTri[N_IntersTri-1].

Definition at line 1911 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_free_SPI(), SUMA_Show_SPI(), SUMA_Surf_Plane_Intersect(), and SUMA_Surf_Plane_Intersect_ROI().

SUMA_Boolean* SUMA_SURF_PLANE_INTERSECT::isEdgeInters
 

Vector specifying if an edge i (index into SO->EL->EL) was intersected.

Definition at line 1897 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_free_SPI(), SUMA_FromIntEdgeToIntEdge(), SUMA_IntersectionStrip(), SUMA_Show_SPI(), and SUMA_Surf_Plane_Intersect().

SUMA_Boolean* SUMA_SURF_PLANE_INTERSECT::isNodeInMesh
 

Vector of SO->N_Node elements indicating whether a certain node belongs to an intersected seqment or not

Definition at line 1915 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_free_SPI(), SUMA_Surf_Plane_Intersect(), and SUMA_Surf_Plane_Intersect_ROI().

SUMA_Boolean* SUMA_SURF_PLANE_INTERSECT::isTriHit
 

Vector of SO->N_FaceSet elements indicating whether a triangle was intersected by the plane. if isTriHit[j] then triangle SO->FaceSetList[3*j], [3*j+1], [3*j+2] was intersected. You should have a total of N_IntersTri YUP values in this vector

Definition at line 1919 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_free_SPI(), SUMA_FromIntEdgeToIntEdge(), SUMA_IntersectionStrip(), SUMA_NodePath_to_TriPath_Inters(), and SUMA_Surf_Plane_Intersect().

int SUMA_SURF_PLANE_INTERSECT::N_IntersEdges
 

Number of edges intersected by the plane

Definition at line 1891 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_AssignTriBranch(), SUMA_Show_SPI(), SUMA_Surf_Plane_Intersect(), and SUMA_Surf_Plane_Intersect_ROI().

int SUMA_SURF_PLANE_INTERSECT::N_IntersTri
 

Number of intersected triangles.

Definition at line 1914 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_AssignTriBranch(), SUMA_Show_SPI(), SUMA_Surf_Plane_Intersect(), and SUMA_Surf_Plane_Intersect_ROI().

int SUMA_SURF_PLANE_INTERSECT::N_NodesInMesh
 

Total number of nodes belonging to intersected segments

Definition at line 1917 of file SUMA_define.h.

Referenced by SUMA_Allocate_SPI(), SUMA_Surf_Plane_Intersect(), and SUMA_Surf_Plane_Intersect_ROI().


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

Powered by Plone

This site conforms to the following standards: