mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
render 2d mesh lines
This commit is contained in:
parent
e7754ca854
commit
ecd1512dd6
@ -251,6 +251,7 @@ void MapperWireframer::RenderCells(const vtkm::cont::DynamicCellSet& inCellSet,
|
||||
vtkm::cont::DynamicCellSet cellSet = inCellSet;
|
||||
|
||||
bool is1D = cellSet.IsSameType(vtkm::cont::CellSetStructured<1>());
|
||||
bool is2D = cellSet.IsSameType(vtkm::cont::CellSetStructured<2>());
|
||||
|
||||
vtkm::cont::CoordinateSystem actualCoords = coords;
|
||||
vtkm::cont::Field actualField = inScalarField;
|
||||
@ -301,7 +302,7 @@ void MapperWireframer::RenderCells(const vtkm::cont::DynamicCellSet& inCellSet,
|
||||
isLines = singleType.GetCellShape(0) == vtkm::CELL_SHAPE_LINE;
|
||||
}
|
||||
|
||||
bool doExternalFaces = !(this->Internals->ShowInternalZones) && !isLines && !is1D;
|
||||
bool doExternalFaces = !(this->Internals->ShowInternalZones) && !isLines && !is1D && !is2D;
|
||||
if (doExternalFaces)
|
||||
{
|
||||
// If internal zones are to be hidden, the number of edges processed can be reduced by
|
||||
|
Loading…
Reference in New Issue
Block a user