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

set of parameters sent to GR_Primitive::update() More...

#include <GR_UpdateParms.h>

Public Member Functions

 GR_UpdateParms (GR_UpdateReason upd_rsn, OP_Node *node, const GU_ConstDetailHandle &dtl, const UT_IntArray &geoi, const RE_MaterialAtlas &material_atlas, UT_StringArray *attribs, const char *view_name, int max_poly_mesh_size, const GT_RefineParms &ref, const GR_DisplayOption &d, GR_RenderVersion gr, bool objselect, GR_DecorationOverride req_dec, RE_CacheVersion viewv, const GR_FrustumList &view_frustums, const UT_Matrix4DArray *insts, int inst_grp, RE_CacheVersion instv, const UT_BitArray *inst_select, RE_CacheVersion ints_select_version)
 
 GR_UpdateParms (const GR_UpdateParms &u)
 
 GR_UpdateParms (const GR_UpdateParms &u, const GU_ConstDetailHandle &dtl)
 
 GR_UpdateParms (const GR_UpdateParms &u, const RE_MaterialAtlas &atlas)
 
 ~GR_UpdateParms ()
 
const UT_StringArraygetConstNeededAttribs () const
 
UT_StringArraygetNeededAttribs ()
 
void copyNeededAttribs (bool only_if_shallow_ref)
 
void setNeededAttribs (UT_StringArray *attribs, bool give_own)
 
void printNeededAttribs (std::ostream *os=NULL) const
 

Public Attributes

GR_UpdateReason reason
 
OP_Nodeop_node
 
GU_ConstDetailHandle geometry
 
const UT_IntArraygeo_indices
 
const GT_RefineParmsrefine_parms
 
const GR_DisplayOptiondopts
 
const RE_MaterialAtlasmaterial_atlas
 
const char * view_name
 
int poly_mesh_limit
 
GU_SelectionHandle sel_override
 
GR_RenderVersion gl_version
 
RE_CacheVersion geo_version
 
RE_CacheVersion select_version
 
RE_CacheVersion instance_version
 
RE_CacheVersion view_version
 
RE_CacheVersion inst_select_version
 
int instance_group
 
const UT_Matrix4DArrayinstances
 
const UT_BitArrayinst_select
 
const GR_FrustumListvisible_frustums
 
bool object_selected
 
GR_DecorationOverride required_dec
 
unsigned force_wire:1
 
unsigned force_shaded:1
 
unsigned force_smooth:1
 
unsigned build_bone_weights:2
 
unsigned build_selection:1
 
unsigned build_prim_selection:1
 
unsigned build_point_selection:1
 
unsigned build_vertex_selection:1
 
unsigned build_edge_selection:1
 
unsigned build_bpoint_selection:1
 
unsigned build_ids:1
 

Detailed Description

Constructor & Destructor Documentation

GR_UpdateParms::GR_UpdateParms ( GR_UpdateReason  upd_rsn,
OP_Node node,
const GU_ConstDetailHandle dtl,
const UT_IntArray geoi,
const RE_MaterialAtlas material_atlas,
UT_StringArray attribs,
const char *  view_name,
int  max_poly_mesh_size,
const GT_RefineParms ref,
const GR_DisplayOption d,
GR_RenderVersion  gr,
bool  objselect,
GR_DecorationOverride  req_dec,
RE_CacheVersion  viewv,
const GR_FrustumList view_frustums,
const UT_Matrix4DArray insts,
int  inst_grp,
RE_CacheVersion  instv,
const UT_BitArray inst_select,
RE_CacheVersion  ints_select_version 
)
GR_UpdateParms::GR_UpdateParms ( const GR_UpdateParms u)
GR_UpdateParms::GR_UpdateParms ( const GR_UpdateParms u,
const GU_ConstDetailHandle dtl 
)
GR_UpdateParms::GR_UpdateParms ( const GR_UpdateParms u,
const RE_MaterialAtlas atlas 
)
GR_UpdateParms::~GR_UpdateParms ( )

Member Function Documentation

void GR_UpdateParms::copyNeededAttribs ( bool  only_if_shallow_ref)
const UT_StringArray* GR_UpdateParms::getConstNeededAttribs ( ) const
inline

Definition at line 104 of file GR_UpdateParms.h.

UT_StringArray* GR_UpdateParms::getNeededAttribs ( )
inline

Definition at line 106 of file GR_UpdateParms.h.

void GR_UpdateParms::printNeededAttribs ( std::ostream *  os = NULL) const
void GR_UpdateParms::setNeededAttribs ( UT_StringArray attribs,
bool  give_own 
)

Member Data Documentation

unsigned GR_UpdateParms::build_bone_weights

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::build_bpoint_selection

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::build_edge_selection

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::build_ids

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::build_point_selection

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::build_prim_selection

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::build_selection

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::build_vertex_selection

Definition at line 62 of file GR_UpdateParms.h.

const GR_DisplayOption& GR_UpdateParms::dopts
Examples:
GUI/GUI_PrimVolumeVelField.C, and tetprim/GR_PrimTetra.C.

Definition at line 42 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::force_shaded

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::force_smooth

Definition at line 62 of file GR_UpdateParms.h.

unsigned GR_UpdateParms::force_wire

Definition at line 62 of file GR_UpdateParms.h.

const UT_IntArray& GR_UpdateParms::geo_indices

Definition at line 40 of file GR_UpdateParms.h.

RE_CacheVersion GR_UpdateParms::geo_version

Definition at line 49 of file GR_UpdateParms.h.

GU_ConstDetailHandle GR_UpdateParms::geometry
Examples:
GUI/GUI_PrimVolumeVelField.C, and tetprim/GR_PrimTetra.C.

Definition at line 39 of file GR_UpdateParms.h.

GR_RenderVersion GR_UpdateParms::gl_version

Definition at line 48 of file GR_UpdateParms.h.

const UT_BitArray* GR_UpdateParms::inst_select

Definition at line 57 of file GR_UpdateParms.h.

RE_CacheVersion GR_UpdateParms::inst_select_version

Definition at line 53 of file GR_UpdateParms.h.

int GR_UpdateParms::instance_group

Definition at line 54 of file GR_UpdateParms.h.

RE_CacheVersion GR_UpdateParms::instance_version
Examples:
GUI/GUI_PolySoupBox.C, and tetprim/GR_PrimTetra.C.

Definition at line 51 of file GR_UpdateParms.h.

const UT_Matrix4DArray* GR_UpdateParms::instances

Definition at line 55 of file GR_UpdateParms.h.

const RE_MaterialAtlas& GR_UpdateParms::material_atlas

Definition at line 43 of file GR_UpdateParms.h.

bool GR_UpdateParms::object_selected

Definition at line 59 of file GR_UpdateParms.h.

OP_Node* GR_UpdateParms::op_node

Definition at line 38 of file GR_UpdateParms.h.

int GR_UpdateParms::poly_mesh_limit

Definition at line 45 of file GR_UpdateParms.h.

GR_UpdateReason GR_UpdateParms::reason
const GT_RefineParms& GR_UpdateParms::refine_parms

Definition at line 41 of file GR_UpdateParms.h.

GR_DecorationOverride GR_UpdateParms::required_dec
Examples:
tetprim/GR_PrimTetra.C.

Definition at line 60 of file GR_UpdateParms.h.

GU_SelectionHandle GR_UpdateParms::sel_override

Definition at line 46 of file GR_UpdateParms.h.

RE_CacheVersion GR_UpdateParms::select_version

Definition at line 50 of file GR_UpdateParms.h.

const char* GR_UpdateParms::view_name

Definition at line 44 of file GR_UpdateParms.h.

RE_CacheVersion GR_UpdateParms::view_version

Definition at line 52 of file GR_UpdateParms.h.

const GR_FrustumList& GR_UpdateParms::visible_frustums

Definition at line 58 of file GR_UpdateParms.h.


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