Ignore:
Timestamp:
Mar 29, 2012, 10:55:56 PM (13 years ago)
Author:
ldelgass
Message:

janitorial

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/transfer-function/ControlPoint.h

    r2798 r2897  
    11/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
    2 /*
    3  * ----------------------------------------------------------------------
    4  * ControlPoint.h
    5  *
    6  * ======================================================================
     2/* ======================================================================
    73 *  AUTHOR:  Wei Qiao <qiaow@purdue.edu>
    84 *           Purdue Rendering and Perceptualization Lab (PURPL)
     
    1410 * ======================================================================
    1511 */
     12#ifndef CONTROL_POINT_H
     13#define CONTROL_POINT_H
    1614
    17 #ifndef _CONTROL_POINT_H_
    18 #define _CONTROL_POINT_H_
    19 
    20 class ControlPoint 
     15class ControlPoint
    2116{
    2217public:
    23        
    24         double x;
    25         double y;
     18    ControlPoint(double _x, double _y);
     19    virtual ~ControlPoint();
    2620
    27         bool selected;
    28         bool dragged;
     21    void Set(double x, double y);
    2922
    30         ControlPoint * next;
     23    void glDraw();    //draw a cross
    3124
    32 public:
    33         void Set(double x, double y);
    34         void glDraw();          //draw a cross
    35         void glDraw_2();        //draw a filled squre
    36         void glDraw_3();        //draw a circle
    37         ControlPoint(double _x, double _y);
    38         virtual ~ControlPoint();
     25    void glDraw_2();  //draw a filled squre
    3926
     27    void glDraw_3();  //draw a circle
     28
     29    double x;
     30    double y;
     31
     32    bool selected;
     33    bool dragged;
     34
     35    ControlPoint * next;
    4036};
    4137
Note: See TracChangeset for help on using the changeset viewer.