COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
covise::POLYHEDRON_Plane Class Reference

#include <coCuttingSurface.h>

Inheritance diagram for covise::POLYHEDRON_Plane:
Inheritance graph
[legend]
Collaboration diagram for covise::POLYHEDRON_Plane:
Collaboration graph
[legend]

Public Member Functions

 POLYHEDRON_Plane (int n_elem, int n_nodes, int Type, int *p_el, int *p_cl, int *p_tl, float *p_x_in, float *p_y_in, float *p_z_in, float *p_s_in, unsigned char *p_bs_in, float *p_i_in, float *p_u_in, float *p_v_in, float *p_w_in, const coDoStructuredGrid *p_sgrid_in, const coDoUnstructuredGrid *p_grid_in, int maxPoly, float planei_, float planej_, float planek_, float startx_, float starty_, float startz_, float myDistance_, float radius_, int gennormals_, int option_, int genstrips_, char *ib)
 
 ~POLYHEDRON_Plane ()
 
virtual bool createPlane ()
 
virtual coDistributedObjectcreate_data_output (vector< float > &data_vector, const char *data_obj_name)
 
virtual void createcoDistributedObjects (const char *Data_name_scal, const char *Data_name_vect, const char *Normal_name, const char *Triangle_name, AttributeContainer &gridAttrs, AttributeContainer &dataAttrs)
 
virtual void create_contour (float *x_coord_in, float *y_coord_in, float *z_coord_in, int *elem_in, int *conn_in, int num_coord_in, int num_elem_in, int num_conn_in, float *sdata_in, float *udata_in, float *vdata_in, float *wdata_in, CONTOUR &capping_contour, PLANE_EDGE_INTERSECTION_VECTOR &intsec_vector, vector< float > &s_data, vector< float > &u_data_vector, vector< float > &v_data_vector, vector< float > &w_data_vector, EDGE_VECTOR &unit_normal_vector, EDGE_VECTOR &plane_base_x, EDGE_VECTOR &plane_base_y, float p)
 
- Public Member Functions inherited from covise::Plane
 Plane ()
 
 Plane (int n_elem, int n_nodes, int Type, int *p_el, int *p_cl, int *p_tl, float *p_x_in, float *p_y_in, float *p_z_in, float *p_s_in, unsigned char *p_bs_in, float *p_i_in, float *p_u_in, float *p_v_in, float *p_w_in, const coDoStructuredGrid *p_sgrid_in, const coDoUnstructuredGrid *p_grid_in, float vertexRatio, int maxPoly, float planei_, float planej_, float planek_, float startx_, float starty_, float startz_, float myDistance_, float radius_, int gennormals_, int option_, int genstrips_, char *ib)
 
virtual ~Plane ()
 
bool add_vertex (int n1, int n2)
 
void add_vertex (int n1, int n2, int x, int y, int z, int u, int v, int w)
 
virtual void createStrips ()
 
void get_vector_data (int *numc, float **x, float **y, float **z, float **u, float **v, float **w)
 
void get_scalar_data (int *numc, float **x, float **y, float **z, float **s)
 
coDoPolygonsget_obj_pol ()
 
coDoTriangleStripsget_obj_strips ()
 
coDoVec3get_obj_normal ()
 
coDoFloatget_obj_scalar ()
 
coDoVec3get_obj_vector ()
 

Private Attributes

int num_elem_out
 
int num_conn_out
 
int num_coord_out
 
int * elem_out
 
int * conn_out
 
float * x_coord_out
 
float * y_coord_out
 
float * z_coord_out
 
float * data_out_s
 
float * data_out_u
 
float * data_out_v
 
float * data_out_w
 

Additional Inherited Members

- Static Public Member Functions inherited from covise::Plane
static coDoTriangleStripsdummy_tr_strips (const char *name, float x_minb, float x_maxb, float y_minb, float y_maxb, float z_minb, float z_maxb, int param_option, float pli, float plj, float plk, float distance, float strx, float stry, float strz)
 
static coDoPolygonsdummy_polygons (const char *name, float x_minb, float x_maxb, float y_minb, float y_maxb, float z_minb, float z_maxb, int param_option, float pli, float plj, float plk, float distance, float strx, float stry, float strz)
 
static coDoVec3dummy_normals (const char *nname, float *coords_x, float *coords_y, float *coords_z, int, float pla[3], float rad, float start[3])
 
- Public Attributes inherited from covise::Plane
int cur_line_elem
 
- Protected Attributes inherited from covise::Plane
bool unstr_
 

Constructor & Destructor Documentation

POLYHEDRON_Plane::POLYHEDRON_Plane ( int  n_elem,
int  n_nodes,
int  Type,
int *  p_el,
int *  p_cl,
int *  p_tl,
float *  p_x_in,
float *  p_y_in,
float *  p_z_in,
float *  p_s_in,
unsigned char *  p_bs_in,
float *  p_i_in,
float *  p_u_in,
float *  p_v_in,
float *  p_w_in,
const coDoStructuredGrid p_sgrid_in,
const coDoUnstructuredGrid p_grid_in,
int  maxPoly,
float  planei_,
float  planej_,
float  planek_,
float  startx_,
float  starty_,
float  startz_,
float  myDistance_,
float  radius_,
int  gennormals_,
int  option_,
int  genstrips_,
char *  ib 
)
POLYHEDRON_Plane::~POLYHEDRON_Plane ( )

Member Function Documentation

void POLYHEDRON_Plane::create_contour ( float *  x_coord_in,
float *  y_coord_in,
float *  z_coord_in,
int *  elem_in,
int *  conn_in,
int  num_coord_in,
int  num_elem_in,
int  num_conn_in,
float *  sdata_in,
float *  udata_in,
float *  vdata_in,
float *  wdata_in,
CONTOUR capping_contour,
PLANE_EDGE_INTERSECTION_VECTOR intsec_vector,
vector< float > &  s_data,
vector< float > &  u_data_vector,
vector< float > &  v_data_vector,
vector< float > &  w_data_vector,
EDGE_VECTOR unit_normal_vector,
EDGE_VECTOR plane_base_x,
EDGE_VECTOR plane_base_y,
float  p 
)
virtual
coDistributedObject * POLYHEDRON_Plane::create_data_output ( vector< float > &  data_vector,
const char *  data_obj_name 
)
virtual
void POLYHEDRON_Plane::createcoDistributedObjects ( const char *  Data_name_scal,
const char *  Data_name_vect,
const char *  Normal_name,
const char *  Triangle_name,
AttributeContainer gridAttrs,
AttributeContainer dataAttrs 
)
virtual

Reimplemented from covise::Plane.

bool POLYHEDRON_Plane::createPlane ( )
virtual

Reimplemented from covise::Plane.

Member Data Documentation

int* covise::POLYHEDRON_Plane::conn_out
private
float* covise::POLYHEDRON_Plane::data_out_s
private
float* covise::POLYHEDRON_Plane::data_out_u
private
float* covise::POLYHEDRON_Plane::data_out_v
private
float* covise::POLYHEDRON_Plane::data_out_w
private
int* covise::POLYHEDRON_Plane::elem_out
private
int covise::POLYHEDRON_Plane::num_conn_out
private
int covise::POLYHEDRON_Plane::num_coord_out
private
int covise::POLYHEDRON_Plane::num_elem_out
private
float* covise::POLYHEDRON_Plane::x_coord_out
private
float* covise::POLYHEDRON_Plane::y_coord_out
private
float* covise::POLYHEDRON_Plane::z_coord_out
private

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