<div dir="ltr"><div><div><div><div>Hi<br><br></div>Indeed, see pqView.h ( as hinted by your compiler error )<br><br> enum SelectionModifier {<br> PV_SELECTION_DEFAULT = 0,<br> PV_SELECTION_ADDITION,<br> PV_SELECTION_SUBTRACTION,<br> PV_SELECTION_TOGGLE<br> }; <br><br></div>so <br>pqRenderView::PV_SELECTION_MERGE -> pqView::PV_SELECTION_ADDITION,<br>pqRenderView::PV_SELECTION_NEW -> pqView::PV_SELECTION_DEFAULT<br><br></div>I do not know what is the context of <b>pqCMBRubberBandHelper,</b> but there is now a pqRenderViewSelectionReaction::getSelectionModifier() that could help you simplify this code.<br><br></div>Mathieu<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Thu, Oct 8, 2015 at 6:02 PM, Bob Obara <span dir="ltr"><<a href="mailto:bob.obara@kitware.com" target="_blank">bob.obara@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I'm trying to update CMB to use ParaView master and I'm running into the following problem:</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/cmb/src/cmb/Source/Applications/AppCommon/pqCMBRubberBandHelper.cxx:445:17: </b><span style="color:rgb(195,55,32)"><b>error: </b></span><b>no type named 'pqSelectionOperator' in 'pqRenderView'</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> pqRenderView::pqSelectionOperator selOp = ctrl ? pqRenderView::PV_SELECTION_MERGE : pqRenderView::PV_SELECTION_NEW;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ~~~~~~~~~~~~~~^</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/cmb/src/cmb/Source/Applications/AppCommon/pqCMBRubberBandHelper.cxx:445:66: </b><span style="color:rgb(195,55,32)"><b>error: </b></span><b>no member named 'PV_SELECTION_MERGE' in 'pqRenderView'; did you mean</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b> 'PV_SELECTION_TOGGLE'?</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> pqRenderView::pqSelectionOperator selOp = ctrl ? pqRenderView::PV_SELECTION_MERGE : pqRenderView::PV_SELECTION_NEW;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"> PV_SELECTION_TOGGLE</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/paraview/src/paraview/Qt/Core/pqView.h:64:5: note: </b>'PV_SELECTION_TOGGLE' declared here</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> PV_SELECTION_TOGGLE</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ^</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/cmb/src/cmb/Source/Applications/AppCommon/pqCMBRubberBandHelper.cxx:445:101: </b><span style="color:rgb(195,55,32)"><b>error: </b></span><b>no member named 'PV_SELECTION_NEW' in 'pqRenderView'</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> pqRenderView::pqSelectionOperator selOp = ctrl ? pqRenderView::PV_SELECTION_MERGE : pqRenderView::PV_SELECTION_NEW;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ~~~~~~~~~~~~~~^</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/cmb/src/cmb/Source/Applications/AppCommon/pqCMBRubberBandHelper.cxx:590:19: </b><span style="color:rgb(195,55,32)"><b>error: </b></span><b>no type named 'pqSelectionOperator' in 'pqRenderView'</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> pqRenderView::pqSelectionOperator selOp = ctrl ? pqRenderView::PV_SELECTION_MERGE : pqRenderView::PV_SELECTION_NEW;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ~~~~~~~~~~~~~~^</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/cmb/src/cmb/Source/Applications/AppCommon/pqCMBRubberBandHelper.cxx:590:68: </b><span style="color:rgb(195,55,32)"><b>error: </b></span><b>no member named 'PV_SELECTION_MERGE' in 'pqRenderView'; did you mean</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b> 'PV_SELECTION_TOGGLE'?</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> pqRenderView::pqSelectionOperator selOp = ctrl ? pqRenderView::PV_SELECTION_MERGE : pqRenderView::PV_SELECTION_NEW;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"> PV_SELECTION_TOGGLE</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/paraview/src/paraview/Qt/Core/pqView.h:64:5: note: </b>'PV_SELECTION_TOGGLE' declared here</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> PV_SELECTION_TOGGLE</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ^</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><b>/Users/obara/Projects/Builds/CMBSuperBuildV4ParaViewMaster/cmb/src/cmb/Source/Applications/AppCommon/pqCMBRubberBandHelper.cxx:590:103: </b><span style="color:rgb(195,55,32)"><b>error: </b></span><b>no member named 'PV_SELECTION_NEW' in 'pqRenderView'</b></p>
<p style="margin:0px;font-size:11px;font-family:Menlo"> pqRenderView::pqSelectionOperator selOp = ctrl ? pqRenderView::PV_SELECTION_MERGE : pqRenderView::PV_SELECTION_NEW;</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(52,189,38)"><b> ~~~~~~~~~~~~~~^</b></p></div><div><br></div><div><br></div><div><div><br></div><div>It seems that PV_SELECTION_MERGE and PV_SELECTION_NEW no longer exists - what is proper replacements for them?</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Bob</div>-- <br><div><div dir="ltr">Robert M. O'Bara, MEng.<br>Assistant Director of Scientific Computing<br><br>Kitware Inc.<br>28 Corporate Drive<br>Suite 101<br>Clifton Park, NY 12065<br><br>Phone: <a href="tel:%28518%29%20881-%204931" value="+15188814931" target="_blank">(518) 881- 4931</a></div></div>
</font></span></div></div>
</blockquote></div><br></div>