#include "X3DBuffer.h"
#include "X3DDefs.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | AllocateX3DBuffer () |
void | FillX3DBuffer (X3DBuffer *buff) |
Variables | |
int | currPoint = 0 |
int | currSeg = 0 |
int | currPoly = 0 |
Color * | colors |
point * | points |
segment * | segs |
polygon * | polys |
int AllocateX3DBuffer | ( | ) |
Definition at line 25 of file X3DBuffer.c.
References COLOR_::blue, calloc(), colors, free(), COLOR_::green, gSize3D, NULL, points, polys, COLOR_::red, segs, and sizeof().
void FillX3DBuffer | ( | X3DBuffer * | buff | ) |
Definition at line 140 of file X3DBuffer.c.
References c, calloc(), POLYGON::color, SEGMENT::color, colors, currPoint, currPoly, currSeg, i, j, n, NULL, _x3d_data_::numPoints, _x3d_data_::numPolys, _x3d_data_::numSegs, POINT::numSegs, POLYGON::numSegs, SEGMENT::P, p, _x3d_data_::points, points, _x3d_data_::polys, SEGMENT::polys, polys, SEGMENT::Q, realloc(), segs, POLYGON::segs, POINT::segs, _x3d_data_::segs, x, POINT::y, and POINT::z.
Definition at line 19 of file X3DBuffer.c.
Referenced by _gdk_pixmap_create_from_xpm(), AllocateX3DBuffer(), FillX3DBuffer(), gdk_color_context_query_colors(), gdk_colormap_alloc_colors(), gdk_colormap_alloc_colors_private(), gdk_colormap_alloc_colors_pseudocolor(), gdk_colormap_alloc_colors_shared(), gdk_colormap_alloc_colors_writeable(), gdk_colormap_free_colors(), gdk_colormap_match_color(), gdk_colors_store(), gdk_visual_init(), TColor::GetColor(), TColor::GetColorBright(), TColor::GetColorDark(), my_x_query_colors(), TASImage::Paint(), TGraph2DPainter::PaintPolyMarker(), Pal1(), Pal2(), piechart(), ppm2ASImage(), prompt_print(), TEveUtil::SetColorBrightness(), TStructViewerGUI::TStructViewerGUI(), x3d_main(), and x3d_terminate().
int currPoint = 0 |
Definition at line 15 of file X3DBuffer.c.
Referenced by FillX3DBuffer(), TPolyMarker3D::Merge(), and x3d_terminate().
int currPoly = 0 |
Definition at line 17 of file X3DBuffer.c.
Referenced by RootCsg::ConvertToMesh(), FillX3DBuffer(), and x3d_terminate().
int currSeg = 0 |
Definition at line 20 of file X3DBuffer.c.
Referenced by af_glyph_hints_align_strong_points(), af_glyph_hints_align_weak_points(), af_glyph_hints_reload(), af_latin2_metrics_init_blues(), af_latin_metrics_init_blues(), AllocateX3DBuffer(), ProjectionTester::buildHistograms(), ProjectionTester::buildHistogramsWithWeights(), TFumiliBinLikelihoodFCN::Calculate_element(), TFumiliChi2FCN::Calculate_element(), TFumiliFCN::Calculate_gradient_and_hessian(), colorize_asimage_vector(), Decompose_Curve(), TMarker3DBox::DistancetoPrimitive(), Rgl::DrawAxes(), TGColorPick::DrawLcursor(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoPolar(), TGLLegoPainter::DrawLegoSpherical(), DrawLogo(), TGColorSelect::DrawTriangle(), TGSplitButton::DrawTriangle(), TGedSelect::DrawTriangle(), TGPopupMenu::DrawTrianglePattern(), TGX11::FillPolygon(), TGQt::FillPolygon(), TGWin32::FillPolygon(), fillSparse(), FillX3DBuffer(), find_window_for_pointer_event(), fitSparse2D(), fitSparse3D(), FT_Outline_Embolden(), ft_smooth_render_generic(), gdk_draw_lines(), gdk_draw_points(), gdk_draw_polygon(), gdk_region_polygon(), gdk_win32_draw_lines(), gdk_win32_draw_points(), gdk_win32_draw_polygon(), TGeoSubtraction::GetNpoints(), TGeoUnion::GetNpoints(), TGeoIntersection::GetNpoints(), TGQt::ListFonts(), TKDTree< Index, Value >::MakeBoundariesExact(), ClockHand::Move(), THnSparse::Multiply(), ROOT::Minuit2::MnPlot::operator()(), TPolyLineShape::Paint3d(), TGQt::PolygonRegion(), TGX11::PolygonRegion(), TGWin32::PolygonRegion(), psh_glyph_init(), psh_glyph_interpolate_normal_points(), TGView::ScrollCanvas(), TShape::ShapeDistancetoPrimitive(), TGeoPainter::ShapeDistancetoPrimitive(), TProofDrawListOfPolyMarkers3D::Terminate(), TProofDrawListOfGraphs::Terminate(), testAddSparse(), testCloneSparse(), testDivSparse1(), testDivSparse2(), testMergeSparse(), testMulFND(), testMulFND2(), testMulSparse(), testRefReadSparse(), testSparseRebin1(), testWriteReadSparse(), TGRegion::TGRegion(), TPolyLineShape::TPolyLineShape(), x3d_main(), and x3d_terminate().
Definition at line 22 of file X3DBuffer.c.
Referenced by AllocateX3DBuffer(), FillX3DBuffer(), MakePolygonArray(), THistPainter::PaintContour(), x3d_main(), and x3d_terminate().
Definition at line 21 of file X3DBuffer.c.
Referenced by AllocateX3DBuffer(), RootCsg::ConvertToMesh(), FillX3DBuffer(), gdk_draw_segments(), gdk_win32_draw_segments(), MakePolygonArray(), TEvePolygonSetProjected::MakePolygonsFromBP(), TEvePolygonSetProjected::MakePolygonsFromBS(), TGLFaceSet::TGLFaceSet(), x3d_main(), and x3d_terminate().