FACT++  1.0
void BasicGlCamera::drawPatches ( )
protectedvirtual

Reimplemented in QCameraWidget.

Definition at line 792 of file BasicGlCamera.cc.

References first, hexRadius, i, NTMARK, patchesIndices, second, and verticesList.

Referenced by RawDataViewer::paintGL(), and paintGL().

793  {
794  glLineWidth(2.0f);
795  float backupRadius = hexRadius;
796  hexRadius *= 0.95;
797  glColor3f(0.5f, 0.5f, 0.3f);
798  glBegin(GL_LINES);
799  for (int i=0;i<NTMARK;i++)
800  {
801  for (unsigned int j=0;j<patchesIndices[i].size();j++)
802  {
803  glVertex2fv(verticesList[patchesIndices[i][j].first]);
804  glVertex2fv(verticesList[patchesIndices[i][j].second]);
805  }
806  }
807  glEnd();
808  hexRadius = backupRadius;
809  }
int i
Definition: db_dim_client.c:21
int64_t second
offset of this column in the tile, from the start of the heap area
Definition: zofits.h:27
static GLfloat verticesList[NPIX *6][2]
int64_t first
Size of this column in the tile.
Definition: zofits.h:26
static std::vector< edge > patchesIndices[160]
#define NTMARK
Definition: BasicGlCamera.h:6

+ Here is the caller graph for this function: