HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_PickRender Class Reference

#include <GR_PickRender.h>

Public Member Functions

 GR_PickRender (RE_Render *r, const GR_DisplayOption *opts, const GR_RenderInfo *info, RE_Geometry *geo, GR_GeoRender *gr_geo=NULL)
 
 ~GR_PickRender ()
 
int renderPoints (int connect_start, int connect_num, RE_PrimType real_prim_type, int real_connect_start, int real_connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderFacePrims (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool wireframe, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderLinePrims (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool wireframe, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderTetPrims (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool wireframe, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderFaceDeformingPrims (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool wireframe, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderSubDLinePrims (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool wireframe, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer, UT_Vector2F lod_parms)
 
int renderFaceEdges (int connect_start, int connect_num, GR_PickCompMode point_id_mode, bool midpoints, GR_PickStyle style, bool has_pick_map, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderMeshEdges (int connect_start, int connect_num, GR_PickCompMode point_id_mode, bool midpoints, GR_PickStyle style, bool has_pick_map, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderLineEdges (int connect_start, int connect_num, GR_PickCompMode point_id_mode, bool midpoints, GR_PickStyle style, bool has_pick_map, bool wireframe, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderFaceVertices (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderLineVertices (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderMeshVertices (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderBreakpoints (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool wireframe, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
int renderGuidePoints (int connect_start, int connect_num, GR_PickCompMode prim_id_mode, GR_PickStyle style, GR_SelectMode select_mode, int select_inst)
 
int renderGuideEdges (int connect_start, int connect_num, GR_PickCompMode prim_id_mode, GR_PickStyle style, GR_SelectMode select_mode, int select_inst)
 
int renderPointNormals (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool normalize)
 
int renderFaceNormals (int connect_start, int connect_num, GR_PickStyle style, bool has_pick_map)
 

Static Public Member Functions

static int filterPicks (UT_Array< GR_PickRecord > &pick_records, const int32 *raw_picks, int num_raw_picks, int vector_size, const UT_Vector3i &base_id)
 

Protected Member Functions

void pickPointsSingle (int connect_start, int connect_num, RE_PrimType real_prim_type, int real_connect_start, int real_connect_num, GR_PickCompMode id_mode, GR_SelectMode select_mode, int select_inst, bool hide_selected)
 
int pickPointsMulti (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer, bool visible_only)
 
int pickPointsUVVert (int connect_start, int connect_num, GR_PickStyle style, GR_PickCompMode id_mode, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
void pickFacesSingle (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool wireframe, GR_SelectMode select_mode, int select_inst, bool hide_selected, bool deforming_faces)
 
int pickFacesMulti (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer, bool visible_only, bool has_pick_map, bool wireframe, bool deforming_faces, bool pick_outside)
 
int pickFaceEdgesMulti (int connect_start, int connect_num, GR_PickCompMode point_id_mode, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer, bool visible_only, bool has_pick_map, bool pick_outside)
 
int pickMeshEdgesMulti (int connect_start, int connect_num, GR_PickCompMode point_id_mode, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer, bool visible_only, bool contained, bool has_pick_map)
 
void pickFaceVerticesSingle (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_SelectMode select_mode, int select_inst, bool hide_selected)
 
int pickFaceVerticesMulti (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer)
 
void pickTetPrimSingle (int connect_start, int connect_num, GR_PickCompMode id_mode, bool wireframe, GR_SelectMode select_mode, int select_inst, bool hide_selected)
 
int pickTetPrimMulti (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_SelectMode select_mode, int select_inst, RE_Geometry *pick_buffer, bool visible_only, bool has_pick_map, bool wireframe)
 
bool isInstanced (int &num_inst) const
 
void drawGeo (int connect_start, int connect_end, GR_SelectMode select_mode, int select_inst)
 

Protected Attributes

RE_Renderr
 
const GR_DisplayOptionopts
 
const GR_RenderInfoinfo
 
RE_Geometrygeo
 
GR_GeoRendermyGeoRender
 
UT_UniquePtr< RE_OverrideListmyOverrides
 

Detailed Description

Definition at line 35 of file GR_PickRender.h.

Constructor & Destructor Documentation

GR_PickRender::GR_PickRender ( RE_Render r,
const GR_DisplayOption opts,
const GR_RenderInfo info,
RE_Geometry geo,
GR_GeoRender gr_geo = NULL 
)
GR_PickRender::~GR_PickRender ( )

Member Function Documentation

void GR_PickRender::drawGeo ( int  connect_start,
int  connect_end,
GR_SelectMode  select_mode,
int  select_inst 
)
protected
static int GR_PickRender::filterPicks ( UT_Array< GR_PickRecord > &  pick_records,
const int32 raw_picks,
int  num_raw_picks,
int  vector_size,
const UT_Vector3i base_id 
)
static
bool GR_PickRender::isInstanced ( int num_inst) const
protected
int GR_PickRender::pickFaceEdgesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  point_id_mode,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer,
bool  visible_only,
bool  has_pick_map,
bool  pick_outside 
)
protected
int GR_PickRender::pickFacesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer,
bool  visible_only,
bool  has_pick_map,
bool  wireframe,
bool  deforming_faces,
bool  pick_outside 
)
protected
void GR_PickRender::pickFacesSingle ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
bool  hide_selected,
bool  deforming_faces 
)
protected
int GR_PickRender::pickFaceVerticesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
protected
void GR_PickRender::pickFaceVerticesSingle ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
bool  hide_selected 
)
protected
int GR_PickRender::pickMeshEdgesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  point_id_mode,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer,
bool  visible_only,
bool  contained,
bool  has_pick_map 
)
protected
int GR_PickRender::pickPointsMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer,
bool  visible_only 
)
protected
void GR_PickRender::pickPointsSingle ( int  connect_start,
int  connect_num,
RE_PrimType  real_prim_type,
int  real_connect_start,
int  real_connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
bool  hide_selected 
)
protected
int GR_PickRender::pickPointsUVVert ( int  connect_start,
int  connect_num,
GR_PickStyle  style,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
protected
int GR_PickRender::pickTetPrimMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer,
bool  visible_only,
bool  has_pick_map,
bool  wireframe 
)
protected
void GR_PickRender::pickTetPrimSingle ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
bool  hide_selected 
)
protected
int GR_PickRender::renderBreakpoints ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderFaceDeformingPrims ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderFaceEdges ( int  connect_start,
int  connect_num,
GR_PickCompMode  point_id_mode,
bool  midpoints,
GR_PickStyle  style,
bool  has_pick_map,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderFaceNormals ( int  connect_start,
int  connect_num,
GR_PickStyle  style,
bool  has_pick_map 
)
int GR_PickRender::renderFacePrims ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderFaceVertices ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderGuideEdges ( int  connect_start,
int  connect_num,
GR_PickCompMode  prim_id_mode,
GR_PickStyle  style,
GR_SelectMode  select_mode,
int  select_inst 
)
int GR_PickRender::renderGuidePoints ( int  connect_start,
int  connect_num,
GR_PickCompMode  prim_id_mode,
GR_PickStyle  style,
GR_SelectMode  select_mode,
int  select_inst 
)
int GR_PickRender::renderLineEdges ( int  connect_start,
int  connect_num,
GR_PickCompMode  point_id_mode,
bool  midpoints,
GR_PickStyle  style,
bool  has_pick_map,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderLinePrims ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderLineVertices ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderMeshEdges ( int  connect_start,
int  connect_num,
GR_PickCompMode  point_id_mode,
bool  midpoints,
GR_PickStyle  style,
bool  has_pick_map,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderMeshVertices ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderPointNormals ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  normalize 
)
int GR_PickRender::renderPoints ( int  connect_start,
int  connect_num,
RE_PrimType  real_prim_type,
int  real_connect_start,
int  real_connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)
int GR_PickRender::renderSubDLinePrims ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer,
UT_Vector2F  lod_parms 
)
int GR_PickRender::renderTetPrims ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  wireframe,
GR_SelectMode  select_mode,
int  select_inst,
RE_Geometry pick_buffer 
)

Member Data Documentation

RE_Geometry* GR_PickRender::geo
protected

Definition at line 317 of file GR_PickRender.h.

const GR_RenderInfo* GR_PickRender::info
protected

Definition at line 316 of file GR_PickRender.h.

GR_GeoRender* GR_PickRender::myGeoRender
protected

Definition at line 318 of file GR_PickRender.h.

UT_UniquePtr<RE_OverrideList> GR_PickRender::myOverrides
protected

Definition at line 319 of file GR_PickRender.h.

const GR_DisplayOption* GR_PickRender::opts
protected

Definition at line 315 of file GR_PickRender.h.

RE_Render* GR_PickRender::r
protected

Definition at line 314 of file GR_PickRender.h.


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