13 #include "msdevstudio/MSconfig.h"
28 #ifdef ITERATOR_MEMBER_DEFECT
37 using namespace hippodraw;
39 ProjectorBase::ProjectorBase ()
53 m_x_axis ( p.m_x_axis ),
54 m_y_axis ( p.m_y_axis ),
55 m_z_axis ( p.m_z_axis )
97 const vector < string > &
102 static vector < string > dummy;
167 if ( range.
length() == 0.0 ) {
169 double low = range.
low ();
177 range.
setLow ( 0.9 * low );
181 range.
setLow ( 1.1 * low );
236 static Range range ( 0., 1. );
350 std::vector<double> & columnData)
const {
421 const std::vector <double> &
426 const std::vector <double> & oldzval = ds->
getColumn (2);
429 unsigned int x = shape[0];
430 unsigned int y = shape[1];
433 m_zval.resize ( x*y, 0.0 );
435 for (
unsigned int yy = 0; yy<y; yy++ )
436 for (
unsigned int xx = 0; xx<x; xx++ )
437 m_zval[yy*x+xx] = oldzval[xx*y+yy];
442 const std::vector < unsigned int> &
454 const std::vector <double> &
464 if ( bt-> aspectRatio() == 1.0 )
466 for (
unsigned int j = 0; j < 256; j++ )
467 for (
unsigned int i = 0; i < 256; i++ )
469 double x= static_cast <
double > (i)-128;
470 double y= static_cast <
double > (j)-128;
491 for (
unsigned int j = 0; j < 180; j++ )
492 for (
unsigned int i = 0; i < 360; i++ )
494 double x= static_cast <
double > (i)-180;
495 double y= static_cast <
double > (j)-90;