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

#include <GR_PickRender.h>

+ Inheritance diagram for GR_PickRenderGL:

Public Member Functions

 GR_PickRenderGL (RE_Render *r, const GR_DisplayOption *opts, const GR_RenderInfo *info, RE_Geometry *geo, GR_GeoRender *gr_geo=NULL)
 
 ~GR_PickRenderGL () override
 
GR_GeoRender::RenderType getRenderType () const override
 
bool isInstanced (int &num_inst) const override
 
int getNumPoints () const override
 
int getNumRenderPrims (int start_group, int end_group=-1) const override
 
bool hasPointIDAttrib () const override
 
bool hasPrimIDAttrib () const override
 
bool hasVertIDAttrib () const override
 
bool hasInstIDAttrib () const override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer, UT_Vector2F lod_parms) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
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, GR_PickBuffer *pick_buffer) override
 
int renderGuidePoints (int connect_start, int connect_num, GR_PickCompMode prim_id_mode, GR_PickStyle style, GR_SelectMode select_mode, int select_inst) override
 
int renderGuideEdges (int connect_start, int connect_num, GR_PickCompMode prim_id_mode, GR_PickStyle style, GR_SelectMode select_mode, int select_inst) override
 
int renderPointNormals (int connect_start, int connect_num, GR_PickCompMode id_mode, GR_PickStyle style, bool has_pick_map, bool normalize) override
 
int renderFaceNormals (int connect_start, int connect_num, GR_PickStyle style, bool has_pick_map) override
 
- Public Member Functions inherited from GR_PickRender
 GR_PickRender ()=default
 
virtual ~GR_PickRender ()=default
 
 GR_PickRender (const GR_PickRender &)=delete
 
GR_PickRenderoperator= (const GR_PickRender &)=delete
 
 GR_PickRender (GR_PickRender &&)=delete
 
GR_PickRenderoperator= (GR_PickRender &&)=delete
 

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, GR_PickBuffer *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, GR_PickBuffer *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, GR_PickBuffer *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, GR_PickBuffer *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, GR_PickBuffer *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, GR_PickBuffer *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, GR_PickBuffer *pick_buffer, bool visible_only, bool has_pick_map, bool wireframe)
 
void drawGeo (int connect_start, int connect_num, 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
 

Additional Inherited Members

- Static Public Member Functions inherited from GR_PickRender
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)
 

Detailed Description

Definition at line 309 of file GR_PickRender.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void GR_PickRenderGL::drawGeo ( int  connect_start,
int  connect_num,
GR_SelectMode  select_mode,
int  select_inst 
)
protected
int GR_PickRenderGL::getNumPoints ( ) const
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::getNumRenderPrims ( int  start_group,
int  end_group = -1 
) const
overridevirtual

Implements GR_PickRender.

GR_GeoRender::RenderType GR_PickRenderGL::getRenderType ( ) const
overridevirtual

Implements GR_PickRender.

bool GR_PickRenderGL::hasInstIDAttrib ( ) const
overridevirtual

Implements GR_PickRender.

bool GR_PickRenderGL::hasPointIDAttrib ( ) const
overridevirtual

Implements GR_PickRender.

bool GR_PickRenderGL::hasPrimIDAttrib ( ) const
overridevirtual

Implements GR_PickRender.

bool GR_PickRenderGL::hasVertIDAttrib ( ) const
overridevirtual

Implements GR_PickRender.

bool GR_PickRenderGL::isInstanced ( int num_inst) const
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::pickFaceEdgesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  point_id_mode,
GR_SelectMode  select_mode,
int  select_inst,
GR_PickBuffer pick_buffer,
bool  visible_only,
bool  has_pick_map,
bool  pick_outside 
)
protected
int GR_PickRenderGL::pickFacesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
GR_PickBuffer pick_buffer,
bool  visible_only,
bool  has_pick_map,
bool  wireframe,
bool  deforming_faces,
bool  pick_outside 
)
protected
void GR_PickRenderGL::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_PickRenderGL::pickFaceVerticesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
GR_SelectMode  select_mode,
int  select_inst,
GR_PickBuffer pick_buffer 
)
protected
void GR_PickRenderGL::pickFaceVerticesSingle ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
bool  hide_selected 
)
protected
int GR_PickRenderGL::pickMeshEdgesMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  point_id_mode,
GR_SelectMode  select_mode,
int  select_inst,
GR_PickBuffer pick_buffer,
bool  visible_only,
bool  contained,
bool  has_pick_map 
)
protected
int GR_PickRenderGL::pickPointsMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
GR_PickBuffer pick_buffer,
bool  visible_only 
)
protected
void GR_PickRenderGL::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_PickRenderGL::pickPointsUVVert ( int  connect_start,
int  connect_num,
GR_PickStyle  style,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
GR_PickBuffer pick_buffer 
)
protected
int GR_PickRenderGL::pickTetPrimMulti ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_SelectMode  select_mode,
int  select_inst,
GR_PickBuffer pick_buffer,
bool  visible_only,
bool  has_pick_map,
bool  wireframe 
)
protected
void GR_PickRenderGL::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_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::renderFaceNormals ( int  connect_start,
int  connect_num,
GR_PickStyle  style,
bool  has_pick_map 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::renderGuideEdges ( int  connect_start,
int  connect_num,
GR_PickCompMode  prim_id_mode,
GR_PickStyle  style,
GR_SelectMode  select_mode,
int  select_inst 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::renderGuidePoints ( int  connect_start,
int  connect_num,
GR_PickCompMode  prim_id_mode,
GR_PickStyle  style,
GR_SelectMode  select_mode,
int  select_inst 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::renderPointNormals ( int  connect_start,
int  connect_num,
GR_PickCompMode  id_mode,
GR_PickStyle  style,
bool  has_pick_map,
bool  normalize 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer,
UT_Vector2F  lod_parms 
)
overridevirtual

Implements GR_PickRender.

int GR_PickRenderGL::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,
GR_PickBuffer pick_buffer 
)
overridevirtual

Implements GR_PickRender.

Member Data Documentation

RE_Geometry* GR_PickRenderGL::geo
protected

Definition at line 598 of file GR_PickRender.h.

const GR_RenderInfo* GR_PickRenderGL::info
protected

Definition at line 597 of file GR_PickRender.h.

GR_GeoRender* GR_PickRenderGL::myGeoRender
protected

Definition at line 599 of file GR_PickRender.h.

UT_UniquePtr<RE_OverrideList> GR_PickRenderGL::myOverrides
protected

Definition at line 600 of file GR_PickRender.h.

const GR_DisplayOption* GR_PickRenderGL::opts
protected

Definition at line 596 of file GR_PickRender.h.

RE_Render* GR_PickRenderGL::r
protected

Definition at line 595 of file GR_PickRender.h.


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