Superclass::SetMarkerTexture( theMarkerId, theMarkerTexture );
myPointsActor->SetMarkerTexture( theMarkerId, theMarkerTexture );
}
+
+/**
+ * Set size of the 0D elements.
+ */
+void VISU_ScalarMapAct::Set0DElemSize(vtkFloatingPointType theValue) {
+ mySurfaceActor->GetProperty()->SetPointSize(theValue);
+}
+
+/**
+ * Get size of the 0D elements.
+ */
+vtkFloatingPointType VISU_ScalarMapAct::Get0DElemSize() {
+ return mySurfaceActor->GetProperty()->GetPointSize();
+}
+
#include "VISU_Result_i.hh"
#include "VISU_Actor.h"
+#include "VISU_ScalarMapAct.h"
#include "VISU_CutLinesBasePL.hxx"
#include "VISU_Convertor.hxx"
#include "VISU_PipeLineUtils.hxx"
}
+//----------------------------------------------------------------------------^
+VISU_Actor*
+VISU::CutLinesBase_i
+::CreateActor()
+{
+ VISU_Actor* anActor = TSuperClass::CreateActor();
+ if(VISU_ScalarMapAct* aScalarMapAct = dynamic_cast<VISU_ScalarMapAct*>(anActor)) {
+ //rnv: To fix the bug IPAL22007 Cut Lines in VTK viewer are shown with square points on ends
+ //rnv: set small size of the vertices for the "Cut Lines" and "Cut Segment" presentations.
+ aScalarMapAct->Set0DElemSize(1.0);
+ }
+ return anActor;
+}
+
+
+
//---------------------------------------------------------------
void
VISU::CutLinesBase_i