- Timestamp:
- May 29, 2015, 5:45:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/mesh.tcl
r5632 r5633 23 23 24 24 itcl::class Rappture::Mesh { 25 private variable _xmlobj "" ; # Ref to XML obj with device data26 private variable _mesh "" ; # Lib obj representing this mesh27 private variable _dim 0; # Dimension of mesh (1, 2, or 3)28 private variable _type ""; # Indicates the type of mesh.29 private variable _axis2units; # System of units for x, y, z30 private variable _axis2labels; #31 private variable _hints32 private variable _limits ; # Array of mesh limits. Keys are33 # xmin, xmax, ymin, ymax, ...34 private variable _numPoints 0 ; # # of points in mesh35 private variable _numCells 0 ; # # of cells in mesh36 private variable _vtkdata ""; # Mesh in vtk file format.37 private variable _isValid 0; # Indicates if the mesh is valid.38 25 constructor {xmlobj path} { 39 26 # defined below … … 65 52 return $_numCells 66 53 } 67 68 private common _xp2obj ; # used for fetch/release ref counting69 private common _obj2ref ; # used for fetch/release ref counting70 54 71 55 private method ReadNodesElements {path} … … 91 75 private method GetCellType { name } 92 76 private method GetNumIndices { type } 77 78 private variable _xmlobj ""; # Ref to XML obj with device data 79 private variable _mesh ""; # Lib obj representing this mesh 80 private variable _dim 0; # Dimension of mesh (1, 2, or 3) 81 private variable _type ""; # Indicates the type of mesh. 82 private variable _axis2units; # System of units for x, y, z 83 private variable _axis2labels; # 84 private variable _hints 85 private variable _limits; # Array of mesh limits. Keys are 86 # xmin, xmax, ymin, ymax, ... 87 private variable _numPoints 0; # Number of points in mesh 88 private variable _numCells 0; # Number of cells in mesh 89 private variable _vtkdata ""; # Mesh in vtk file format. 90 private variable _isValid 0; # Indicates if the mesh is valid. 91 92 private common _xp2obj; # used for fetch/release ref counting 93 private common _obj2ref; # used for fetch/release ref counting 93 94 } 94 95
Note: See TracChangeset
for help on using the changeset viewer.