Ignore:
Timestamp:
Sep 2, 2011, 1:08:15 AM (13 years ago)
Author:
ldelgass
Message:

LIC fixes: mask out out-of-bounds sample points from probe filter, run a cutter
before probing to make the probe run faster. A few other misc. cleanups.

File:
1 edited

Legend:

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

    r2423 r2459  
    4747void PolyData::initProp()
    4848{
    49     if (_prop == NULL) {
    50         _prop = vtkSmartPointer<vtkActor>::New();
    51         vtkProperty *property = getActor()->GetProperty();
    52         property->EdgeVisibilityOn();
    53         property->SetColor(_color[0], _color[1], _color[2]);
    54         property->SetEdgeColor(_edgeColor[0], _edgeColor[1], _edgeColor[2]);
    55         property->SetLineWidth(_edgeWidth);
    56         property->SetOpacity(_opacity);
    57         property->SetAmbient(.2);
    58         if (!_lighting)
    59             property->LightingOff();
    60     }
     49    VtkGraphicsObject::initProp();
     50    getActor()->GetProperty()->EdgeVisibilityOn();
    6151}
    6252
Note: See TracChangeset for help on using the changeset viewer.