#include <cassert>
vvMeshActor::vvMeshActor() :
- mCutDimension(0), mMesh(NULL),
- mMarching(NULL), mMapper(NULL),
- mActor(NULL),
+ mCutDimension(0), mMesh(ITK_NULLPTR),
+ mMarching(ITK_NULLPTR), mMapper(ITK_NULLPTR),
+ mActor(ITK_NULLPTR),
mSuperpostionMode(false), mTimeSlice(0)
{}
mActor->GetProperty()->EdgeVisibilityOn();
mActor->GetProperty()->SetEdgeColor(mMesh->r,mMesh->g,mMesh->b);
mActor->GetProperty()->SetLineWidth(2.);
+ mActor->GetProperty()->SetOpacity(0.995); //in order to get VTK to turn on the alpha-blending in OpenGL
}
void vvMeshActor::SetCutSlice(double slice)