}
}
+//----------------------------------------------------------------------------
+void
+VISU::ColoredPrs3d_i
+::UpdateActor(VISU_ActorBase* theActor)
+{
+ bool isOnGroups = myGroupNames.size() > 0;
+ if ( isOnGroups )
+ {
+ QStringList aList;
+ TGroupNames::const_iterator anIter = myGroupNames.begin();
+ for ( ; anIter != myGroupNames.end(); anIter++ )
+ {
+ const std::string aGroupName = *anIter;
+ aList << QString( aGroupName.c_str() );
+ }
+ theActor->SetNameActorText( aList.join( "\n" ).toLatin1().constData() );
+ }
+ theActor->SetIsDisplayNameActor( isOnGroups );
+
+ TSuperClass::UpdateActor(theActor);
+}
+
//----------------------------------------------------------------------------
CORBA::Long
VISU::ColoredPrs3d_i
void
SameAs(const Prs3d_i* theOrigin);
+ virtual
+ void
+ UpdateActor(VISU_ActorBase* theActor);
+
virtual
bool
IsBoldTitle();
GetValLblFontColor( anRGB[ 0 ], anRGB[ 1 ], anRGB[ 2 ] );
aProp->SetColor( anRGB[ 0 ], anRGB[ 1 ], anRGB[ 2 ] );
}
-
- bool isOnGroups = myGroupNames.size() > 0;
- if ( isOnGroups )
- {
- QStringList aList;
- TGroupNames::const_iterator anIter = myGroupNames.begin();
- for ( ; anIter != myGroupNames.end(); anIter++ )
- {
- const std::string aGroupName = *anIter;
- aList << QString( aGroupName.c_str() );
- }
- anActor->SetNameActorText( aList.join( "\n" ).toLatin1().constData() );
- }
- anActor->SetIsDisplayNameActor( isOnGroups );
}
TSuperClass::UpdateActor(theActor);
}