shape_doc 0.1
SSIQTSL Struct Reference

#include <ssiqtsl.hpp>

Inheritance diagram for SSIQTSL:
SSIQTS

List of all members.

Public Types

Public Member Functions

Public Attributes


Detailed Description

Definition at line 10 of file ssiqtsl.hpp.


Member Typedef Documentation

typedef double aabb3[3][2] [inherited]

Definition at line 16 of file ssiqts.hpp.

typedef double ipoint[7] [inherited]

Definition at line 17 of file ssiqts.hpp.

typedef fxv<double,2> vector2

Definition at line 13 of file ssiqtsl.hpp.

Reimplemented from SSIQTS.

Definition at line 12 of file ssiqtsl.hpp.


Constructor & Destructor Documentation

SSIQTSL ( shape::surface_parametric< double > *  srfa,
shape::surface_parametric< double > *  srfb,
int  n 
)

Definition at line 294 of file ssiqtsl.cpp.

References mmx::sample_curve3d(), and mmx::solve().

                          : SSIQTS(srfa,srfb,n,1,1)
{
  solve(*this);
  sample_curve3d( srfa, srfb, *this );
  //  std::cout << errmax << std::endl;
  // gmvdump();
};

Member Function Documentation

void cfprint ( std::ostream &  gpr,
std::ostream &  gpl 
) [inherited]

Definition at line 278 of file ssiqts.cpp.

References SSIQTS::m, SSIQTS::m_bcf, and SSIQTS::m_ecf.

{ 
  mmx::cfprint(gp, gpl, m_bcf, m_ecf, m ); 
};
void gmvdump ( )

Definition at line 239 of file ssiqtsl.cpp.

References SSIQTS::m, SSIQTS::sample::m_svals, mmx::POLYLINE(), SSIQTS::smpa, SSIQTS::smpb, SSIQTSL::spcs, and mmx::UVSMP().

{
  std::ofstream o("SSIQTSL.gmv");
  o << "LIST\n";
  float colora[] = { 0.0, 0.0, 1.0 };
  float colorb[] = { 0.0, 1.0, 0.0 };
  o << "appearance {\n material{\n diffuse " <<  
    colora[0] << " " <<  colora[1] << " " << colora[2] << "\n";
  o << "}\n}\n";
  UVSMP(o,&(smpa->m_svals[0][0]),m+1,m+1);
  o << "appearance {\n material{\n diffuse " <<  
    colorb[0] << " " <<  colorb[1] << " " << colorb[2] << "\n";
  o << "}\n}\n";
  UVSMP(o,&(smpb->m_svals[0][0]),m+1,m+1);
  float color[] = { 1.0, 0.0, 0.0, 1.0 };
  for ( unsigned i = 0; i < spcs.size(); i += 2 )
    {
      color[1] = double(i % 2);
      color[2] = double((i+1)%2);
      POLYLINE(o,&(spcs[i][0]),2,color,1);
    };
};                
void gpdump ( )

Definition at line 227 of file ssiqtsl.cpp.

References SSIQTSL::lpts, and SSIQTSL::rpts.

{
  std::ofstream gpl("SSIQTSL-L.dat");
  std::ofstream gpr("SSIQTSL-R.dat");

  for ( unsigned i = 0; i < lpts.size(); i ++ )
    gpl << lpts[i][0] << " " << lpts[i][1] << std::endl;
  for ( unsigned i = 0; i < rpts.size(); i ++ )
    gpr << rpts[i][0] << " " << rpts[i][1] << std::endl;
};

Member Data Documentation

aabb3* boxa [inherited]

Definition at line 40 of file ssiqts.hpp.

Referenced by mmx::solve_cf(), SSIQTS::SSIQTS(), and SSIQTS::~SSIQTS().

aabb3* boxb [inherited]

Definition at line 41 of file ssiqts.hpp.

Referenced by mmx::solve_cf(), SSIQTS::SSIQTS(), and SSIQTS::~SSIQTS().

double errmax

Definition at line 19 of file ssiqtsl.hpp.

Referenced by mmx::sample_curve3d().

std::vector< double > errs

Definition at line 17 of file ssiqtsl.hpp.

std::vector< vector2 > lpts

Definition at line 14 of file ssiqtsl.hpp.

Referenced by SSIQTSL::gpdump(), and mmx::sample_curve3d().

int* m_bcf [inherited]

Definition at line 43 of file ssiqts.hpp.

Referenced by SSIQTS::cfprint(), mmx::search(), and mmx::solve().

int* m_ecf [inherited]

Definition at line 44 of file ssiqts.hpp.

Referenced by SSIQTS::cfprint(), mmx::search(), and mmx::solve().

std::vector< vector2 > rpts

Definition at line 15 of file ssiqtsl.hpp.

Referenced by SSIQTSL::gpdump(), and mmx::sample_curve3d().

sample* smpa [inherited]

Definition at line 37 of file ssiqts.hpp.

Referenced by SSIQTSL::gmvdump(), mmx::solve(), SSIQTS::SSIQTS(), and SSIQTS::~SSIQTS().

sample* smpb [inherited]

Definition at line 38 of file ssiqts.hpp.

Referenced by SSIQTSL::gmvdump(), mmx::solve(), SSIQTS::SSIQTS(), and SSIQTS::~SSIQTS().

std::vector< vector3 > spcs

Definition at line 16 of file ssiqtsl.hpp.

Referenced by SSIQTSL::gmvdump(), mmx::shape::intersection(), and mmx::sample_curve3d().

std::vector< vector3 > spcsorig

Definition at line 18 of file ssiqtsl.hpp.

int udeg [inherited]

Definition at line 19 of file ssiqts.hpp.

Referenced by mmx::fillboxes(), mmx::fillpatchbox(), and SSIQTS::SSIQTS().

int vdeg [inherited]

Definition at line 20 of file ssiqts.hpp.

Referenced by mmx::fillboxes(), mmx::fillpatchbox(), and SSIQTS::SSIQTS().


The documentation for this struct was generated from the following files: