void PlaneDirectionManager::RemoveAllActorsFromIndex(int n)throw (std::exception){
/*due to incompleate set of points to create the plane
*/
void PlaneDirectionManager::RemoveAllActorsFromIndex(int n)throw (std::exception){
/*due to incompleate set of points to create the plane
*/
temp = _vectdata[currentdata];
}else{
temp = new PlaneDirectionManagerData(_radio, _colour, _opacity);
temp = _vectdata[currentdata];
}else{
temp = new PlaneDirectionManagerData(_radio, _colour, _opacity);
-void PlaneDirectionManager::addRemoveActor(int index, bool addremove){
-
- if(index < _vectdata.size()){
+void PlaneDirectionManager::addRemoveActor(int index, bool addremove)
+{
+ if(index < (int)_vectdata.size()){
if(addremove){
_render->AddViewProp (_vectdata[index]->GetActor());
}else{
_render->RemoveViewProp (_vectdata[index]->GetActor());
if(addremove){
_render->AddViewProp (_vectdata[index]->GetActor());
}else{
_render->RemoveViewProp (_vectdata[index]->GetActor());
-void PlaneDirectionManager::changeColor(int index,double r,double g,double b){
+void PlaneDirectionManager::changeColor(int index,double r,double g,double b)
+{
fprintf(ff,"Dir%d\n",i);
fprintf(ff,"\tP0[%f, %f, %f]\tP1[%f, %f, %f]\tP2[%f, %f, %f]\tDir[%f, %f, %f] \n",
p0x,p0y,p0z, p1x,p1y,p1z, p2x,p2y,p2z, dirx,diry,dirz);
fprintf(ff,"Dir%d\n",i);
fprintf(ff,"\tP0[%f, %f, %f]\tP1[%f, %f, %f]\tP2[%f, %f, %f]\tDir[%f, %f, %f] \n",
p0x,p0y,p0z, p1x,p1y,p1z, p2x,p2y,p2z, dirx,diry,dirz);