else if ( p == "mediumResolution" ) val = QVariant( mediumResolution( ind ) );
else if ( p == "lowResolution" ) val = QVariant( lowResolution( ind ) );
else if ( p == "resolutionState" ) val = QVariant( resolutionState( ind ) );
+ else if ( p == "isValuesLabeled" ) val = QVariant( isValuesLabeled( ind ) );
}
return val;
return dynamic_cast<VISU::VISU_Gen_i*>( VISU::GetServant( anObj ).in() );
}
+
+//----------------------------------------------------------------------------
+struct TIsValuesLabeled : TViewFunctor
+{
+ QString
+ virtual
+ get(VISU::Prs3d_i* thePrs3d,
+ SVTK_ViewWindow* theViewWindow,
+ VISU_Actor* theActor)
+ {
+ return theActor && theActor->GetValuesLabeled() ? "true" : "false";
+ }
+};
+
+QString VisuGUI_Selection::isValuesLabeled( const int ind ) const
+{
+ return TPopupDispatcher<TIsValuesLabeled>()(myModule, entry(ind));
+}
+
QString isShading( const int ) const;
QString isScalarMapAct( const int ) const;
bool isVisuComponent( const int ) const;
+ QString isValuesLabeled( const int ) const;
QString fullResolution( const int ) const;
QString mediumResolution( const int ) const;