Changeset 3838


Ignore:
Timestamp:
Jul 25, 2013 12:06:50 PM (11 years ago)
Author:
ldelgass
Message:

Allow contour3d to generate line contours for polydata surfaces (this also
happens if the dataset is an unstructured grid with 2D cells). Turn off
new scalar bar by default for renderserver builds.

Location:
trunk/packages/vizservers/vtkvis
Files:
2 edited

Legend:

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

    r3680 r3838  
    151151#endif
    152152            _contourFilter->SetInputConnection(mesher->GetOutputPort());
    153         } else if (vtkPolyData::SafeDownCast(ds) != NULL) {
    154             // DataSet is a vtkPolyData with lines and/or polygons
    155             ERROR("Not a 3D DataSet");
    156             return;
    157153        } else {
    158             // DataSet is NOT a vtkPolyData
     154            // DataSet is 3D with cells.  If DataSet is a surface
     155            // (e.g. polydata or ugrid with 2D cells), we will
     156            // generate lines instead of surfaces
    159157#ifdef USE_VTK6
    160158            _contourFilter->SetInputData(ds);
  • trunk/packages/vizservers/vtkvis/Makefile.in

    r3832 r3838  
    66USE_OFFSCREEN_RENDERING = #yes
    77USE_THREADS             = yes
    8 NEW_SCALAR_BAR          = yes
     8NEW_SCALAR_BAR          = #yes
    99
    1010bindir          = @bindir@
Note: See TracChangeset for help on using the changeset viewer.