shape_doc 0.1
SSIQTS Struct Reference

#include <ssiqts.hpp>

Inheritance diagram for SSIQTS:
SSIQTSL

List of all members.

Classes

Public Types

Public Member Functions

Public Attributes


Detailed Description

Definition at line 13 of file ssiqts.hpp.


Member Typedef Documentation

typedef double aabb3[3][2]

Definition at line 16 of file ssiqts.hpp.

typedef double ipoint[7]

Definition at line 17 of file ssiqts.hpp.

typedef fxv<double,3> vector3

Reimplemented in SSIQTSL.

Definition at line 15 of file ssiqts.hpp.


Constructor & Destructor Documentation

SSIQTS ( shape::surface_parametric< double > *  srfa,
shape::surface_parametric< double > *  srfb,
int  n,
int  degu,
int  degv 
)

Definition at line 283 of file ssiqts.cpp.

References mmx::alloc(), SSIQTS::boxa, SSIQTS::boxb, mmx::build(), mmx::fillboxes(), SSIQTS::m, SSIQTS::sample::m_svals, mmx::search(), SSIQTS::smpa, SSIQTS::smpb, SSIQTS::udeg, and SSIQTS::vdeg.

{
  udeg = degu;
  vdeg = degv; 
  int p = 0;
  m = 1;
  while( n ) { p++; n/=2; m *= 2; };
  smpa = new sample(srfa,m*degu+1,m*degv+1);
  smpb = new sample(srfb,m*degu+1,m*degv+1);  
  int s;
  int deep;
  boxa = alloc(deep,m,s);
  //  std::cout << deep << " " << s << std::endl;
  boxb = alloc(deep,m,s);
  //  std::cout << deep << " " << s << std::endl;
  // switch u interpolant
  // switch v interpolant
  fillboxes( boxa, smpa->m_svals, *this);
  fillboxes( boxb, smpb->m_svals, *this);
  build(boxa,*this);
  build(boxb,*this);
  search(boxa+s-1,boxb+s-1,*this); 
  //  std::cout << "end search\n";
};
~SSIQTS ( )

Definition at line 308 of file ssiqts.cpp.

References SSIQTS::boxa, SSIQTS::boxb, SSIQTS::smpa, and SSIQTS::smpb.

{
  if ( smpa ) delete   smpa;
  if ( smpb ) delete   smpb;
  if ( boxa ) delete[] boxa;
  if ( boxb ) delete[] boxb;
};

Member Function Documentation

void cfprint ( std::ostream &  gpr,
std::ostream &  gpl 
)

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 ); 
};

Member Data Documentation

Definition at line 40 of file ssiqts.hpp.

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

Definition at line 41 of file ssiqts.hpp.

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

int* m_bcf

Definition at line 43 of file ssiqts.hpp.

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

int* m_ecf

Definition at line 44 of file ssiqts.hpp.

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

Definition at line 37 of file ssiqts.hpp.

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

Definition at line 38 of file ssiqts.hpp.

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

int udeg

Definition at line 19 of file ssiqts.hpp.

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

int vdeg

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: