std::string command2("del ");
command += "\"" + crea::wx2std(dir) + "\" \"" + crea::wx2std(name) + "\"";
- command1 += "\"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt.in\" " + "PROJECT_NAME " + crea::wx2std(name) + "> \"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt\"";
+ command1 += "\"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt.in\" " + "NameOfTheProject " + crea::wx2std(name) + "> \"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt\"";
command2 += "\"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt.in\"";
if ( ! system ( command.c_str() ) )
{
#endif
+
return false;
}
#include "vtkRenderer.h"
#include "vtkCamera.h"
+#include "vtkInteractorStyleTrackballCamera.h"
+
namespace crea
{
// an interactor
vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
+ iren->SetInteractorStyle( vtkInteractorStyleTrackballCamera::New() );
iren->SetRenderWindow(renWin);
// Set the interactor for the widgets
// Create an initial interesting view
vtkCamera* cam1 = ren->GetActiveCamera();
cam1->SetFocalPoint(0, 0, 0);
- cam1->SetPosition(0, 0, -500);
+ cam1->SetPosition(0, 0, -1500);
//cam1->OrthogonalizeViewUp();
cam1->Elevation(110);
cam1->SetViewUp(0, 0, -1);