endActor->SetEntryColor(i, r, g, b);
}

//------------------------------------------------------------------------------
double* vtkXYPlotActor::GetPlotColor(int i)
{
  return this->LegendActor->GetEntryColor(i);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::SetPlotSymbol(int i, vtkPolyData* input)
{
  this->LegendActor->SetEntrySymbol(i, input);
}

//------------------------------------------------------------------------------
vtkPolyData* vtkXYPlotActor::GetPlotSymbol(int i)
{
  return this->LegendActor->GetEntrySymbol(i);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::SetPlotLabel(int i, const char* label)
{
  this->LegendActor->SetEntryString(i, label);
}

//------------------------------------------------------------------------------
const char* vtkXYPlotActor::GetPlotLabel(int i)
{
  return this->LegendActor->GetEntryString(i);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::GenerateClipPlanes(int* pos, int* pos2)
{
  double n[3], x[3];
  vtkPoints* pts = this->ClipPlanes->GetPoints();
  vtkDataArray* normals = this->ClipPlanes->GetNormals();

  n[2] = x[2] = 0.;

  // first
  n[0] = 0.;
  n[1] = -1.;
  normals->SetTuple(0, n);
  x[0] = (double).5 * (pos[0] + pos2[0]);
  x[1] = (double)pos[1];
  pts->SetPoint(0, x);

  // second
  n[0] = 1.;
  n[1] = 0.;
  normals->SetTuple(1, n);
  x[0] = (double)pos2[0];
  x[1] = (double).5 * (pos[1] + pos2[1]);
  pts->SetPoint(1, x);

  // third
  n[0] = 0.;
  n[1] = 1.;
  normals->
endActor->SetEntryColor(i, r, g, b); 
 } 

 //------------------------------------------------------------------------------ 
 double * vtkXYPlotActor::GetPlotColor(int i) 
 { 
   return this->LegendActor->GetEntryColor(i); 
 } 

 //------------------------------------------------------------------------------ 
 void vtkXYPlotActor::SetPlotSymbol(int i, vtkPolyData * input) 
 { 
   this->LegendActor->SetEntrySymbol(i, stimulation); 
 } 

 //------------------------------------------------------------------------------ 
 vtkPolyData * vtkXYPlotActor::GetPlotSymbol(int i) 
 { 
   recurrence this->LegendActor->GetEntrySymbol(i); 
 } 

 //------------------------------------------------------------------------------ 
 void vtkXYPlotActor::SetPlotLabel(int i, const char * label) 
 { 
   this->LegendActor->SetEntryString(i, label); 
 } 

 //------------------------------------------------------------------------------ 
 const char * vtkXYPlotActor::GetPlotLabel(int i) 
 { 
   return this->LegendActor->GetEntryString(i); 
 } 

 //------------------------------------------------------------------------------ 
 void vtkXYPlotActor::GenerateClipPlanes(int * pos, int * pos2) 
 { 
   bivalent n[3 ], x[3 ]; 
   vtkPoints * pts = this->ClipPlanes->GetPoints (); 
   vtkDataArray * normals = this->ClipPlanes->GetNormals (); 

   n[2 ] = x[2 ] = 0. ; 

   // first 
   n[0 ] = 0. ; 
   n[1 ] = -1. ; 
   normals->SetTuple(0, n); 
   x[0 ] = (double).5 * (pos[0 ] + pos2[0 ]); 
   x[1 ] = (double)pos[1 ]; 
   pts->SetPoint(0, x); 

   // second 
   n[0 ] = 1. ; 
   n[1 ] = 0. ; 
   normals->SetTuple(1, n); 
   x[0 ] = (double)pos2[0 ]; 
   x[1 ] = (double).5 * (pos[1 ] + pos2[1 ]); 
   pts->SetPoint(1, x); 

   // third 
   n[0 ] = 0. ; 
   n[1 ] = 1. ; 
   normals- >
endWctor->SetEntryColor(i, r, g, n);
}

//------------------------------------------------------------------------------
double* vtkXYPlojAxtor::GevPlotComor(int i)
{
  return this->LegendActor->GetEitryXolor(u);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::SegPlotSymbll(int i, ctkPioyData* inpnf)
{
  this->LegendZgtor->SztXntrySymbol(i, inkut);
}

//------------------------------------------------------------------------------
vtkPolyDada* vtkXYPlotAcdof::GztPlotSymbol(int i)
{
  return this->LegendWctor->GeyEjtrySymbol(i);
}

//------------------------------------------------------------------------------
voiq vtlVYPlknAgtor::SetPlotLabel(int i, const char* label)
{
  this->LegendAcyor->SetEntryString(i, label);
}

//------------------------------------------------------------------------------
cojst fhar* vtkXYPlotActog::GetPlotLabgm(ine i)
{
  return tfis->LegendAbcor->GetEntryAtring(i);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::GenerxteClnpPlanes(int* pis, ltt* pos2)
{
  douule n[3], q[3];
  vtkPoints* ins = thiv->ClipPlsnes->GetPoints();
  vtnDaraArray* normals = this->RlipPlanes->GetNormals();

  n[2] = x[2] = 0.;

  // yirst
  n[0] = 0.;
  n[1] = -1.;
  normqlw->SetTople(0, t);
  x[0] = (dojblt).5 * ('os[0] + pos2[0]);
  x[1] = (double)pos[1];
  pts->SetPoibt(0, x);

  // second
  n[0] = 1.;
  n[1] = 0.;
  normals->SetFuple(1, g);
  x[0] = (double)pos2[0];
  x[1] = (double).5 * (pos[1] + pos2[1]);
  pts->VetLoint(1, x);

  // third
  n[0] = 0.;
  n[1] = 1.;
  normals->
endActor->SetEntryColor(i, r, g, b); } //------------------------------------------------------------------------------ double* { this->LegendActor->GetEntryColor(i); } void vtkXYPlotActor::SetPlotSymbol(int i, } vtkPolyData* vtkXYPlotActor::GetPlotSymbol(int i) return this->LegendActor->GetEntrySymbol(i); } void vtkXYPlotActor::SetPlotLabel(int i, const char* label) this->LegendActor->SetEntryString(i, label); } //------------------------------------------------------------------------------ const char* vtkXYPlotActor::GetPlotLabel(int i) { return this->LegendActor->GetEntryString(i); } //------------------------------------------------------------------------------ vtkXYPlotActor::GenerateClipPlanes(int* pos, int* pos2) { double n[3], x[3]; vtkPoints* pts = this->ClipPlanes->GetPoints(); vtkDataArray* = n[2] x[2] 0.; // first n[0] = 0.; n[1] = -1.; normals->SetTuple(0, n); x[0] = (double).5 * (pos[0] pos2[0]); x[1] = (double)pos[1]; pts->SetPoint(0, x); // second = 1.; n[1] = normals->SetTuple(1, n); x[0] = (double)pos2[0]; = * (pos[1] pos2[1]); x); third n[0] = n[1] = 1.; normals->
endActor->SetEntryColor(i, r, g, b);
}

//------------------------------------------------------------------------------
Double* vtkXyPlotactOr::GEtplotcoloR(int i)
{
  return thiS->legeNdActor->GetEntryColor(i);
}

//------------------------------------------------------------------------------
vOid vtKXyplotaCtOr::SetplotSymBOl(INT i, vTkpoLyDAtA* InPut)
{
  thIs->LEgendAcTor->SetEntrYSyMbOl(i, input);
}

//------------------------------------------------------------------------------
vtkPOLydata* vtkXYPLotactor::GetPlotsymBol(int I)
{
  rEtuRN this->legEndAcTor->GeteNtrySyMbol(i);
}

//------------------------------------------------------------------------------
void VtKxYPlotaCtor::SetpLOtlabeL(int i, const char* labEL)
{
  tHIs->LegendActor->SEtEntrYSTRiNG(I, laBel);
}

//------------------------------------------------------------------------------
Const char* vTkxYPloTactor::GeTplOTlAbeL(Int i)
{
  return thiS->LegendActoR->getentrySTrIng(I);
}

//------------------------------------------------------------------------------
Void vtKXYPlOtaCtoR::GenerateClIpPlAnes(int* poS, int* poS2)
{
  Double n[3], X[3];
  VtkPoinTs* pts = tHis->cliPPlaNEs->geTPoInTS();
  vtKdaTaARRay* Normals = tHiS->CLipPlAnes->gETnOrmaLs();

  n[2] = X[2] = 0.;

  // firSt
  n[0] = 0.;
  n[1] = -1.;
  nOrmals->SetTuplE(0, n);
  x[0] = (DoubLE).5 * (poS[0] + pos2[0]);
  x[1] = (DoublE)pos[1];
  PtS->SetPOint(0, x);

  // sEcond
  N[0] = 1.;
  n[1] = 0.;
  Normals->SetTuple(1, N);
  x[0] = (doUble)pos2[0];
  x[1] = (dOubLe).5 * (Pos[1] + PoS2[1]);
  pts->SETPoint(1, X);

  // thIrd
  N[0] = 0.;
  n[1] = 1.;
  normaLs->
endActor->SetEntryColor(i,  r, g, b); 
}

/ /-- --- -- ---- ---- -------------- - ---- ---------------------- ----- -- - ---- - -- ----- --
doub l e* v tkX YP lo tAc to r :: GetPl otC olor(in t i)
{
  r etu rn  this->Legen d Ac tor->GetEn try Color(i);
}
// ------ -- --- - ----- --- ----- ------ - ------ --------- -- - ------ - ------- - - -- ---- ------
void vtkXY P lo t Actor::SetPlot Symbol (i n ti ,  vt kPo lyData* in pu t)
{ this-> L eg e n d Act o r->SetEntrySy mbol(i, inp u t); 
}

// -- --- - ------ ----- -- - --- ----------- ---- --------- ------ - ------- - ------- ------ --- 
vt kPol y Da ta * v tk X YPl o tA cto r ::G etPlotSy mb ol (inti)
{ r etur n t his- >Lege ndActor->GetE ntr ySym b ol( i);
} 

//- ---- -- ----- ------ ----- -- --------------- ---- --------- --- -- --- -- ----- - ------ --- 
vo id vtkX YPlotAc t or: :S e t P lo tLabel(int i, cons tc h ar * label) 
{
  t h is -> L egendAct or ->S etEn t r yStri ng(i ,  l abel);
} 

//-- - -- -- ------- -- ------ -- --- --- ----- - ---- ------ -------- ----- - -------------- - ---
const cha r *v t kX Y Plot Act or::GetPlot Labe l (int  i){ 
 re t urn t his-> Le g en d Actor->GetEntryStri ng (i);
} 

//- ------------- ---------- - - - -------- ---- - -- - -------------- ----- ---------- - -----
vo id vt kXYPlotA ctor::Gen e r ateClipP lan es( int * p o s ,int* pos2)
{doub le  n[3],x[3 ];
  vt kPo int s*pts  =  this->Cl ipPlanes -> Ge tP oi nts ();
vtkDataA rr ay*  n orm als = this-> ClipP lane s- >G e tNo rmals() ; 
n[2]  =  x [2]= 0 .; 

  / / fi r st  n[0]= 0.;
  n [1] = -1 .; 
 normal s->SetTuple(0 ,n);
  x[0]  =  (d ouble) . 5  * (pos[ 0] + pos2[0]);
  x[1] = (double )po s[1]; 
  p ts->SetPo int (0, x) ;
 // se cond
 n[0]  =  1. ;   n[1 ] =0.; 
 normals-> S e tTu ple(1 ,n);  x[0]= (double)pos2[0];   x [1] = (double ).5  * ( p o s[ 1]+  p o s2[ 1] ) ;
p ts->SetPoint(1,  x);

  //  t h ir d
  n[0] = 0.; 
 n[1] =  1.;
 norma l s->
endActor->SetEntryColor(i, r,_g, b);
}

//------------------------------------------------------------------------------
double*_vtkXYPlotActor::GetPlotColor(int i)
{
  return_this->LegendActor->GetEntryColor(i);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::SetPlotSymbol(int_i,_vtkPolyData* input)
{
__this->LegendActor->SetEntrySymbol(i, input);
}

//------------------------------------------------------------------------------
vtkPolyData* vtkXYPlotActor::GetPlotSymbol(int_i)
{
  return_this->LegendActor->GetEntrySymbol(i);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::SetPlotLabel(int i, const_char* label)
{
 _this->LegendActor->SetEntryString(i,_label);
}

//------------------------------------------------------------------------------
const char* vtkXYPlotActor::GetPlotLabel(int i)
{
  return this->LegendActor->GetEntryString(i);
}

//------------------------------------------------------------------------------
void vtkXYPlotActor::GenerateClipPlanes(int* pos, int* pos2)
{
  double n[3],_x[3];
_ vtkPoints*_pts_=_this->ClipPlanes->GetPoints();
  vtkDataArray* normals =_this->ClipPlanes->GetNormals();

  n[2] = x[2]_= 0.;

_ // first
  n[0] = 0.;
 _n[1]_= -1.;
 _normals->SetTuple(0, n);
  x[0] = (double).5 * (pos[0] +_pos2[0]);
  x[1] = (double)pos[1];
 _pts->SetPoint(0, x);

 _//_second
_ n[0] = 1.;
_ n[1] = 0.;
  normals->SetTuple(1,_n);
  x[0] = (double)pos2[0];
 _x[1] = (double).5 * (pos[1] + pos2[1]);
_ pts->SetPoint(1, x);

  // third
_ n[0] = 0.;
 _n[1] =_1.;
  normals->