intersector_parametric< C, V > Struct Template Reference

#include <intersector_parametric.hpp>

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class C, class V = default_env>
struct mmx::shape::intersector_parametric< C, V >

Intersection of parametric surfaces. This process class computes either

Definition at line 23 of file intersector_parametric.hpp.


Member Typedef Documentation

typedef use<ssi_def,C,V>::ParametricSurface Input

Definition at line 24 of file intersector_parametric.hpp.

typedef use<ssi_def,C,V>::Mesh Output

Definition at line 25 of file intersector_parametric.hpp.

typedef use<ssi_def,C,V>::Mesh::Point Point

Definition at line 26 of file intersector_parametric.hpp.


Constructor & Destructor Documentation

intersector_parametric (  )  [inline]

Definition at line 28 of file intersector_parametric.hpp.

00028                             : u_spl(200), v_spl(200) {
00029         input1 = NULL;
00030         input2 = NULL;
00031         output = NULL;
00032     }

intersector_parametric ( Input s  )  [inline]

Definition at line 34 of file intersector_parametric.hpp.

00034                                     : u_spl(200), v_spl(200), input1(s), input2(s) {
00035         output = NULL;
00036     }

intersector_parametric ( Input s1,
Input s2 
) [inline]

Definition at line 38 of file intersector_parametric.hpp.

00038                                                 : u_spl(200), v_spl(200), input1(s1), input2(s2) {
00039         output = NULL;
00040     }


Member Function Documentation

Output* get_output ( void   )  [inline]

Definition at line 52 of file intersector_parametric.hpp.

00052 {return output;}

void run ( void   )  [inline]

Definition at line 64 of file intersector_parametric.hpp.

00064                                                {
00065     if( input1 == input2 )
00066         this->run_self();
00067     else
00068         this->run_inter();
00069 }

void set_input ( Input s1,
Input s2 
) [inline]

Definition at line 48 of file intersector_parametric.hpp.

00048 { input1 = s1; input2 = s2; }

void set_input ( Input s  )  [inline]

Definition at line 46 of file intersector_parametric.hpp.

00046 { input1 = s; input2 = s; }

void set_input1 ( Input s  )  [inline]

Definition at line 49 of file intersector_parametric.hpp.

00049 { input1 = s; }

void set_input2 ( Input s  )  [inline]

Definition at line 50 of file intersector_parametric.hpp.

00050 { input2 = s; }

void set_sample ( int  n,
int  m 
) [inline]

Set the number of samples for each parameter.

Definition at line 44 of file intersector_parametric.hpp.

00044 { u_spl=n; v_spl=m;}

void set_sample ( int  n  )  [inline]

Set the number of samples for both parameters.

Definition at line 42 of file intersector_parametric.hpp.

00042 { u_spl=n; v_spl=n;}


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

Generated on 6 Dec 2012 for shape by  doxygen 1.6.1