Ignore:
Timestamp:
Aug 31, 2011 3:52:05 PM (13 years ago)
Author:
ldelgass
Message:

Apply a scaling heuristic to streamline tubes and ribbons based on cell sizes.
Protocol scale values are now relative. Also cache cell size info in
DataSet? class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/RpVtkDataSet.h

    r2423 r2454  
    6868    void getBounds(double bounds[6]) const;
    6969
    70     void getCellSizeRange(double minmax[6], double *average) const;
     70    void getCellSizeRange(double minmax[2], double *average);
    7171
    7272    bool getScalarValue(double x, double y, double z, double *value) const;
     
    8787    vtkSmartPointer<vtkDataSet> _dataSet;
    8888    bool _visible;
     89    double _cellSizeRange[2];
     90    double _cellSizeAverage;
    8991};
    9092
Note: See TracChangeset for help on using the changeset viewer.