Ignore:
Timestamp:
Apr 9, 2012 10:18:09 AM (12 years ago)
Author:
ldelgass
Message:

Remove unused global origin, make default transfer function a bit more
sensible (used to have full opacity at 0). Fix HeightMap? dtor to use delete[]
instead of free() on array allocated with new[]. Document data response in
protocol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/HeightMap.h

    r2927 r2953  
    3636    /**
    3737     *@brief Create a height map with heigh values
    38      *@param startX a x position of the first height value
    39      *@param startY a y position of the first height value
    40      *@param endX a x position of the last height value
    41      *@param endY a y position of the last height value
     38     *@param startX x position of the first height value
     39     *@param startY y position of the first height value
     40     *@param endX x position of the last height value
     41     *@param endY y position of the last height value
    4242     *@param xCount the number of columns of height values
    4343     *@param yCount the number of rows of height values
     
    126126
    127127private:
    128     void createIndexBuffer(int xCount, int zCount, float* heights);
     128    void createIndexBuffer(int xCount, int zCount, float *heights);
    129129    Vector3 *createHeightVertices(float startX, float startY,
    130130                                  float endX, float endY,
    131                                   int xCount, int yCount, float  *height);
     131                                  int xCount, int yCount, float *height);
    132132    void reset();
    133133
     
    145145    int _indexCount;
    146146    Vector3 _contourColor;
    147    
     147
    148148    bool _contourVisible;
    149149    bool _topContourVisible;
    150150    bool _visible;
    151    
     151
    152152    Vector3 _scale;
    153153    Vector3 _centerPoint;
Note: See TracChangeset for help on using the changeset viewer.