Ignore:
Timestamp:
Aug 27, 2011 1:59:23 AM (13 years ago)
Author:
ldelgass
Message:

Handle 2D datasets with offset from origin or in principal planes other than XY.
Add return value for many methods, e.g. creating graphics objects
Add query for server's current list of datasets
Add pixel/world coordinate query of vector fields
Add pixel coordinate support for setting image camera zoom region
Add Heightmap wireframe, surface visibility toggles
Add Point size setting for polydata
Use custom version of 2D axes, fixes tick/label direction in XZ view
Put contour isolines through stripper to remove gaps in line rasterization

File:
1 edited

Legend:

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

    r2404 r2423  
    2424class DataSet {
    2525public:
     26    enum PrincipalPlane {
     27        PLANE_XY,
     28        PLANE_ZY,
     29        PLANE_XZ
     30    };
    2631    DataSet(const std::string& name);
    2732    virtual ~DataSet();
     
    3742    vtkDataSet *copyData(vtkDataSet *ds);
    3843
    39     bool is2D() const;
     44    bool isXY() const;
     45
     46    int numDimensions() const;
     47
     48    bool is2D(PrincipalPlane *plane = NULL, double *offset = NULL) const;
     49
     50    PrincipalPlane principalPlane() const;
    4051
    4152    const std::string& getName() const;
     
    5970    void getCellSizeRange(double minmax[6], double *average) const;
    6071
    61     double getDataValue(double x, double y, double z) const;
     72    bool getScalarValue(double x, double y, double z, double *value) const;
     73
     74    bool getVectorValue(double x, double y, double z, double vector[3]) const;
    6275
    6376    void setVisibility(bool state);
     
    6780private:
    6881    DataSet();
     82
     83    void setDefaultArrays();
    6984    void print() const;
    7085
Note: See TracChangeset for help on using the changeset viewer.