Ignore:
Timestamp:
Jun 22, 2011, 3:39:41 PM (13 years ago)
Author:
ldelgass
Message:
  • Add contour3d (isosurface geometry) command to vtkvis
  • Use depth peeling algorithm (order independent transparency) by default, add 'renderer depthpeel' command to toggle.
  • Use tri strips in some geometry generators for better performance
  • Heightmap: 2D slice resampling of non-image 3D datasets (e.g. points, ugrids) Set a default scaling based on data range. Still some problems where images from resampling have zero values in out-of-bounds pixels (probe filter creates a mask array that could be used). Still need a method/heuristic to select image resolution when resampling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/RpContour2D.cpp

    r2270 r2290  
    115115    }
    116116
     117    vtkSmartPointer<vtkCellDataToPointData> cellToPtData;
     118
    117119    if (ds->GetPointData() == NULL ||
    118120        ds->GetPointData()->GetScalars() == NULL) {
     
    120122        if (ds->GetCellData() != NULL &&
    121123            ds->GetCellData()->GetScalars() != NULL) {
    122             vtkSmartPointer<vtkCellDataToPointData> cellToPtData;
    123124            cellToPtData =
    124125                vtkSmartPointer<vtkCellDataToPointData>::New();
Note: See TracChangeset for help on using the changeset viewer.