Changeset 2423 for trunk/packages/vizservers/vtkvis/RpVtkDataSet.h
- Timestamp:
- Aug 27, 2011, 1:59:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/RpVtkDataSet.h
r2404 r2423 24 24 class DataSet { 25 25 public: 26 enum PrincipalPlane { 27 PLANE_XY, 28 PLANE_ZY, 29 PLANE_XZ 30 }; 26 31 DataSet(const std::string& name); 27 32 virtual ~DataSet(); … … 37 42 vtkDataSet *copyData(vtkDataSet *ds); 38 43 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; 40 51 41 52 const std::string& getName() const; … … 59 70 void getCellSizeRange(double minmax[6], double *average) const; 60 71 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; 62 75 63 76 void setVisibility(bool state); … … 67 80 private: 68 81 DataSet(); 82 83 void setDefaultArrays(); 69 84 void print() const; 70 85
Note: See TracChangeset
for help on using the changeset viewer.