|
Doxygen Source Code Documentation
Plane_Equation.m File Reference
Go to the source code of this file.
|
Functions |
is for the three | points (0 0 0) |
is for the three | and (1 1 1).%If the three points are colinear |
i, 4 | Info: (1 XYZ) |
| Triplets (2).XYZ |
| Triplets (3).XYZ |
| if (nargin==1) |
end | if (isrow(Triplets)==-1) |
allocate | for (i=1:1:Nplanes) |
| Eq (i, 1) |
| Eq (i, 2) |
| Eq (i, 3) |
| Eq (i, 4) |
| if (verbose) |
| if (~rem(i, 200)) |
| fprintf (1,'[%g/%g]\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b', i, Nplanes) |
Variables |
| function [err, Eq] |
is for the three | Eq |
is for the three default is
Output | Parameters |
view(3)%%Author initailize
return variables | err = Plane_Equation (Triplets) ShowPlane (Eq) 1 |
| verbose = 1 |
| return |
end | Triplets = Triplets(:) |
| Nplanes = size(Triplets,1) |
allocate Form the equation
of the plane | x1 = Triplets(i).XYZ(1,1) |
| y1 = Triplets(i).XYZ(1,2) |
| z1 = Triplets(i).XYZ(1,3) |
| x2 = Triplets(i).XYZ(2,1) |
| y2 = Triplets(i).XYZ(2,2) |
| z2 = Triplets(i).XYZ(2,3) |
| x3 = Triplets(i).XYZ(3,1) |
| y3 = Triplets(i).XYZ(3,2) |
| z3 = Triplets(i).XYZ(3,3) |
Function Documentation
is for the three and |
( |
1 1 |
1 |
) |
|
|
end if |
( |
isrow(Triplets) |
= = -1 |
) |
|
|
i,4 Info: |
( |
1 |
XYZ |
) |
[static, virtual] |
|
is for the three points |
( |
0 0 |
0 |
) |
|
|
|
Referenced by draw_image_line(), main(), qh_copypoints(), qh_detjoggle(), qh_detsimplex(), qh_detvnorm(), qh_facetcenter(), qh_init_B(), qh_initialvertices(), qh_initqhull_globals(), qh_maxmin(), qh_maxsimplex(), qh_new_qhull(), qh_partitionall(), qh_printextremes(), qh_printfacet3geom_points(), qh_printfacet3geom_simplicial(), qh_printfacet3math(), qh_printpoints(), qh_printpoints_out(), qh_projectpoints(), qh_readpoints(), qh_rotatepoints(), qh_scalelast(), qh_scalepoints(), qh_setdelaunay(), and qh_voronoi_center(). |
Variable Documentation
end end end err = Plane_Equation (Triplets) ShowPlane (Eq) 1 |
|
end Triplets = Triplets(:) |
|
|
Definition at line 57 of file Plane_Equation.m.
Referenced by AFNI_3d_linefill(), bandv_(), bisect_(), calculate_results(), calcWithOffsets(), ClassifyRawVolume(), clip_line_to_rect(), clip_memplot(), ComputeBDiffDCTs(), ComputeDiffDCTs(), ComputeOctreeMask(), dct8(), draw_image_line(), draw_marker(), DRAW_ttatlas_CB(), draw_xseg(), drawBox(), drawtriangle(), EDIT_opts(), ExtractClassifiedVolume(), ExtractRawVolume(), fd_line(), fdct8(), flip_memplot(), GenerateGrafFunc(), GenMBType(), get_linear_trend(), get_quadratic_trend(), getdimen(), idct8(), ifdct8(), ISQ_cropper(), line_(), linear_interp(), load_rect_str(), main(), MAKER_4D_to_typed_fbuc(), MAKER_4D_to_typed_fim(), MAKER_4D_to_typed_fith(), memplot_to_postscript(), memplot_to_RGB_sef(), memplot_to_X11_sef(), Mhead_GenSequenceHeader(), mp_rle_huff_block(), mp_rle_huff_pblock(), mpeg2_slice(), Mpost_RLEHuffIBlock(), Mpost_RLEHuffPBlock(), mri_drawline(), phdot_(), phline_(), plotcirc_memplot(), plotline_memplot(), plotpak_line(), plotpak_phdot(), plotpak_phline(), plotpak_point(), plotpak_unphys(), plotpak_zzphys(), plotrect_memplot(), PLUTO_4D_to_nothing(), pointclip(), POWER_main(), ppmd_line(), ppmd_polyspline(), ppmd_spline3(), prconr(), ps_arc(), ps_rect(), qh_initialvertices(), qh_makeridges(), qzvec_(), RWC_drag_circle(), RWC_drag_rectangle(), RWC_draw_rect(), setw_(), ShadeRawVolume(), SUMA_binTesselate(), SUMA_DrawWindowLine(), THD_autonudge(), tinvit_(), tridib_(), tsturm_(), VPClassifyBlock(), vpExtract(), VPShadeBlock(), zzaxxx_(), zzclip_(), zzline_(), zzlinx_(), zzlogx_(), zzmpli_(), and zzphph_(). |
x2 = Triplets(i).XYZ(2,1) |
|
|
Definition at line 58 of file Plane_Equation.m.
Referenced by AFNI_3d_linefill(), algdiv(), bcorr(), calcWithOffsets(), clip_line_to_rect(), clip_memplot(), ComputeBDiffDCTs(), ComputeDiffDCTs(), create_row(), dct8(), draw_image_line(), DRAW_ttatlas_CB(), draw_xseg(), drawtriangle(), EDIT_opts(), erf1(), fd_line(), fdct8(), flip_memplot(), GenerateGrafFunc(), GenMBType(), get_quadratic_trend(), getdimen(), idct8(), ifdct8(), ISQ_cropper(), line_(), linear_interp(), load_rect_str(), main(), memplot_to_postscript(), memplot_to_RGB_sef(), memplot_to_X11_sef(), mp_rle_huff_block(), mp_rle_huff_pblock(), mpeg2_slice(), Mpost_RLEHuffIBlock(), Mpost_RLEHuffPBlock(), phline_(), plotline_memplot(), plotpak_line(), plotpak_phline(), plotpak_unphys(), plotpak_zzphys(), plotrect_memplot(), ppmd_spline3(), ps_arc(), ps_rect(), RWC_drag_rectangle(), RWC_draw_rect(), setw_(), SUMA_binTesselate(), THD_autonudge(), zzaxxx_(), zzclip_(), zzline_(), zzlinx_(), zzlogx_(), zzmpli_(), and zzphph_(). |
x3 = Triplets(i).XYZ(3,1) |
|
y1 = Triplets(i).XYZ(1,2) |
|
|
Definition at line 57 of file Plane_Equation.m.
Referenced by AFNI_3d_linefill(), analyze_results(), calcWithOffsets(), ClassifyRawVolume(), clip_line_to_rect(), clip_memplot(), ComputeOctreeMask(), dbesy1_(), draw_image_line(), DRAW_ttatlas_CB(), draw_xseg(), drawBox(), EDIT_opts(), ExtractClassifiedVolume(), ExtractRawVolume(), fd_line(), flip_memplot(), GenerateGrafFunc(), ISQ_cropper(), line_(), linear_interp(), main(), memplot_to_postscript(), memplot_to_RGB_sef(), memplot_to_X11_sef(), mri_drawline(), phdot_(), phline_(), plotcirc_memplot(), plotline_memplot(), plotpak_line(), plotpak_phdot(), plotpak_phline(), plotpak_point(), plotpak_unphys(), plotpak_zzphys(), plotrect_memplot(), pointclip(), POWER_main(), ppmd_line(), ppmd_polyspline(), ppmd_spline3(), ps_arc(), ps_rect(), RWC_drag_circle(), RWC_drag_rectangle(), RWC_draw_rect(), setw_(), ShadeRawVolume(), SUMA_binTesselate(), SUMA_DrawWindowLine(), THD_autonudge(), VPClassifyBlock(), vpExtract(), VPShadeBlock(), zzaxyy_(), zzclip_(), zzline_(), zzliny_(), zzlogy_(), zzmpli_(), and zzphph_(). |
y2 = Triplets(i).XYZ(2,2) |
|
|
Definition at line 58 of file Plane_Equation.m.
Referenced by AFNI_3d_linefill(), analyze_results(), calcWithOffsets(), clip_line_to_rect(), clip_memplot(), create_row(), draw_image_line(), DRAW_ttatlas_CB(), draw_xseg(), EDIT_opts(), fd_line(), flip_memplot(), GenerateGrafFunc(), InitSpline(), ISQ_cropper(), line_(), linear_interp(), main(), memplot_to_postscript(), memplot_to_RGB_sef(), memplot_to_X11_sef(), phline_(), plotline_memplot(), plotpak_line(), plotpak_phline(), plotpak_unphys(), plotpak_zzphys(), plotrect_memplot(), ppmd_spline3(), ps_arc(), ps_rect(), RWC_drag_rectangle(), RWC_draw_rect(), setw_(), SUMA_binTesselate(), THD_autonudge(), zzaxyy_(), zzclip_(), zzline_(), zzliny_(), zzlogy_(), zzmpli_(), and zzphph_(). |
y3 = Triplets(i).XYZ(3,2) |
|
z1 = Triplets(i).XYZ(1,3) |
|
|
Definition at line 57 of file Plane_Equation.m.
Referenced by AFNI_3d_linefill(), calcWithOffsets(), ClassifyRawVolume(), ComputeOctreeMask(), DRAW_ttatlas_CB(), drawBox(), EDIT_opts(), ExtractClassifiedVolume(), ExtractRawVolume(), jpeg_fdct_float(), jpeg_fdct_ifast(), jpeg_fdct_islow(), jpeg_idct_2x2(), jpeg_idct_4x4(), jpeg_idct_islow(), main(), mpeg_jrevdct_quick(), mri_brainormalize(), mri_read_dicom(), pointclip(), qzvec_(), ShadeRawVolume(), SUMA_binTesselate(), THD_autonudge(), VPClassifyBlock(), vpExtract(), and VPShadeBlock(). |
z2 = Triplets(i).XYZ(2,3) |
|
|
Definition at line 58 of file Plane_Equation.m.
Referenced by AFNI_3d_linefill(), basym(), calcWithOffsets(), create_row(), DRAW_ttatlas_CB(), EDIT_opts(), jpeg_fdct_float(), jpeg_fdct_ifast(), jpeg_fdct_islow(), jpeg_idct_4x4(), jpeg_idct_islow(), main(), mpeg_jrevdct_quick(), mri_brainormalize(), SUMA_binTesselate(), and THD_autonudge(). |
z3 = Triplets(i).XYZ(3,3) |
|
|