SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
MarchingCubesAlgoP< TESSELATOR > Class Template Reference

Public Member Functions

 MarchingCubesAlgoP (FieldHandle input, std::vector< double > &iso_values)
 
 ~MarchingCubesAlgoP ()
 
bool run (AlgoBase *algo, FieldHandle &output, GeomHandle &geometry, MatrixHandle &node_interpolant, MatrixHandle &elem_interpolant)
 
void parallel (int proc, int nproc, size_t iso)
 

Public Attributes

FieldHandle input_
 
std::vector< TESSELATOR * > tesselator_
 
std::vector< FieldHandleoutput_field_
 
std::vector< MatrixHandleoutput_interpolant_matrix_
 
std::vector< MatrixHandleoutput_parent_cell_matrix_
 
std::vector< GeomHandle > output_geometry_
 
bool build_field_
 
bool build_node_interpolant_
 
bool build_elem_interpolant_
 
bool build_geometry_
 
bool transparency_
 
std::vector< double > & iso_values_
 
AlgoBase * algo_
 

Constructor & Destructor Documentation

MarchingCubesAlgoP ( FieldHandle  input,
std::vector< double > &  iso_values 
)
inline
~MarchingCubesAlgoP ( )
inline

Member Function Documentation

void parallel ( int  proc,
int  nproc,
size_t  iso 
)
bool run ( AlgoBase *  algo,
FieldHandle output,
GeomHandle &  geometry,
MatrixHandle node_interpolant,
MatrixHandle elem_interpolant 
)

By default (-1) choose number of processors

Cap the number of threads

Todo:
: FIX MULTI THREADING OF MARCHING CUBES FIELDS ARE NOT PROPORLY LINKED

Member Data Documentation

AlgoBase* algo_
bool build_elem_interpolant_
bool build_field_
bool build_geometry_
bool build_node_interpolant_
FieldHandle input_
std::vector<double>& iso_values_
std::vector<FieldHandle> output_field_
std::vector<GeomHandle> output_geometry_
std::vector<MatrixHandle> output_interpolant_matrix_
std::vector<MatrixHandle> output_parent_cell_matrix_
std::vector<TESSELATOR*> tesselator_
bool transparency_

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