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

#include <SUMA_define.h>


Data Fields

int N_el
SUMA_BooleanisHit
float * t
float * u
float * v
int ifacemin
int ifacemax
int N_hits
int N_poshits
float P [3]
float d
int inodemin
int inodeminlocal

Detailed Description

structure containing results of intersection of a ray with triangles

Definition at line 1530 of file SUMA_define.h.


Field Documentation

float SUMA_MT_INTERSECT_TRIANGLE::d
 

Distance from the closest node in ifacemin to P

Definition at line 1541 of file SUMA_define.h.

Referenced by SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

int SUMA_MT_INTERSECT_TRIANGLE::ifacemax
 

index of the faceset farthest (NOT SIGNED, abs(t)) from the ray's origin

Definition at line 1537 of file SUMA_define.h.

Referenced by SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

int SUMA_MT_INTERSECT_TRIANGLE::ifacemin
 

index of the faceset closest (NOT SIGNED, abs(t)) to the ray's origin

Definition at line 1536 of file SUMA_define.h.

Referenced by main(), SUMA_BrushStrokeToNodeStroke(), SUMA_GetM2M_NN(), SUMA_inNodeNeighb(), SUMA_MapSurface(), SUMA_MarkLineSurfaceIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

int SUMA_MT_INTERSECT_TRIANGLE::inodemin
 

node index (into NodeList)that is closest to P

Definition at line 1542 of file SUMA_define.h.

Referenced by SUMA_BrushStrokeToNodeStroke(), SUMA_GetM2M_NN(), SUMA_MarkLineSurfaceIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

int SUMA_MT_INTERSECT_TRIANGLE::inodeminlocal
 

node in FaceSet[ifacemin] that is closest to P , inodemin = FaceSet[ifacemin][inodeminlocal]

Definition at line 1543 of file SUMA_define.h.

Referenced by SUMA_GetM2M_NN(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

SUMA_Boolean* SUMA_MT_INTERSECT_TRIANGLE::isHit
 

Is the triangle hit ?

Definition at line 1532 of file SUMA_define.h.

Referenced by main(), SUMA_Free_MT_intersect_triangle(), SUMA_GetM2M_NN(), SUMA_isSelfIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

int SUMA_MT_INTERSECT_TRIANGLE::N_el
 

Number of elements in each vector

Definition at line 1531 of file SUMA_define.h.

Referenced by main(), SUMA_GetM2M_NN(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

int SUMA_MT_INTERSECT_TRIANGLE::N_hits
 

Number of intersections between ray and surface

Definition at line 1538 of file SUMA_define.h.

Referenced by main(), SUMA_BrushStrokeToNodeStroke(), SUMA_GetM2M_NN(), SUMA_inNodeNeighb(), SUMA_MapSurface(), SUMA_MarkLineSurfaceIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

int SUMA_MT_INTERSECT_TRIANGLE::N_poshits
 

Number of intersections such that t is positive

Definition at line 1539 of file SUMA_define.h.

Referenced by SUMA_FindVoxelsInSurface_SLOW(), SUMA_MT_intersect_triangle(), SUMA_Show_MT_intersect_triangle(), and SUMA_SurfGridIntersect().

float SUMA_MT_INTERSECT_TRIANGLE::P[3]
 

XYZ of intersection with ifacemin

Definition at line 1540 of file SUMA_define.h.

Referenced by main(), SUMA_GetM2M_NN(), SUMA_inNodeNeighb(), SUMA_MapSurface(), SUMA_MarkLineSurfaceIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

float* SUMA_MT_INTERSECT_TRIANGLE::t
 

SIGNED Distance from ray source to triangle

Definition at line 1533 of file SUMA_define.h.

Referenced by main(), SUMA_Free_MT_intersect_triangle(), SUMA_GetM2M_NN(), SUMA_MarkLineSurfaceIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

float* SUMA_MT_INTERSECT_TRIANGLE::u
 

location of intersection in triangle in Barycentric coordinates, V0P = u V0V1 + vV0V2

Definition at line 1534 of file SUMA_define.h.

Referenced by main(), SUMA_Free_MT_intersect_triangle(), SUMA_GetM2M_NN(), SUMA_isSelfIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().

float* SUMA_MT_INTERSECT_TRIANGLE::v
 

location of intersection in triangle

Definition at line 1535 of file SUMA_define.h.

Referenced by main(), SUMA_Free_MT_intersect_triangle(), SUMA_GetM2M_NN(), SUMA_isSelfIntersect(), SUMA_MT_intersect_triangle(), and SUMA_Show_MT_intersect_triangle().


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

Powered by Plone

This site conforms to the following standards: