Changeset 2459 for trunk/packages/vizservers/vtkvis/RpPolyData.cpp
- Timestamp:
- Sep 2, 2011, 1:08:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/RpPolyData.cpp
r2423 r2459 47 47 void PolyData::initProp() 48 48 { 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(); 61 51 } 62 52
Note: See TracChangeset
for help on using the changeset viewer.