void cpPlugins::ActorPropertiesQtDialog::
_boxPointSize( int v )
{
+ if( this->m_Actors.size( ) == 0 )
+ return;
+ auto aIt = this->m_Actors.begin( );
+ for( ; aIt != this->m_Actors.end( ); ++aIt )
+ {
+ auto ma = dynamic_cast< vtkActor* >( aIt->GetPointer( ) );
+ if( ma != NULL )
+ {
+ ma->GetProperty( )->SetPointSize( v );
+ ma->Modified( );
+
+ } // fi
+
+ } // rof
+ this->_render( );
}
// -------------------------------------------------------------------------
void cpPlugins::ActorPropertiesQtDialog::
_boxLineWidth( int v )
{
+ if( this->m_Actors.size( ) == 0 )
+ return;
+ auto aIt = this->m_Actors.begin( );
+ for( ; aIt != this->m_Actors.end( ); ++aIt )
+ {
+ auto ma = dynamic_cast< vtkActor* >( aIt->GetPointer( ) );
+ if( ma != NULL )
+ {
+ ma->GetProperty( )->SetLineWidth( v );
+ ma->Modified( );
+
+ } // fi
+
+ } // rof
+ this->_render( );
}
// -------------------------------------------------------------------------