_origin = origin;
}
+void creaVtkPlaneWidget::SetNormalIn(std::vector<double> normalin)
+{
+ _normalin = normalin;
+}
+
+
//------------------------------------------------------------------------
void creaVtkPlaneWidget::Process()
{
{
_vPlaneWidget->SetCenter( _origin[0] , _origin[1] , _origin[2] );
} // if _origin
- if (_firsttime==true )
+ if (_normalin.size()==3)
+ {
+ _vPlaneWidget->SetNormal( _normalin[0] , _normalin[1] , _normalin[2] );
+ } // if _origin
+ if (_firsttime==true )
{
_firsttime = false;
_vPlaneWidget->PlaceWidget();