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

Represents a group of primitives that can be affected by style sheets. More...

#include <GSTY_SubjectPrimGroup.h>

+ Inheritance diagram for GSTY_SubjectPrimGroup:

Public Member Functions

 GSTY_SubjectPrimGroup (const GEO_Detail &gdp, const UT_Array< const GEO_Primitive * > &prims, int numeric_prim_group_offset=0, int numeric_point_group_offset=0, bool apply_detail_style_attribute=true, bool apply_prim_style_attribute=true)
 
 GSTY_SubjectPrimGroup (const GEO_Detail &gdp, int start_idx, int end_idx, int numeric_prim_group_offset=0, int numeric_point_group_offset=0, bool apply_detail_style_attribute=true, bool apply_prim_style_attribute=true)
 
virtual ~GSTY_SubjectPrimGroup ()
 
virtual int getNumSubjects () const
 Returns the number of subjects in this group. More...
 
virtual const STY_SubjectgetSubject (int idx) const
 Returns a subject by index. More...
 
const GEO_PrimitivegetPrimitive (int idx) const
 
const GA_ElementGroupgetGroup (const char *group_str, GA_GroupType group_type)
 
const STY_StyleSheetHandlegetStyleSheet (const UT_StringHolder &ss_str)
 
const GEO_DetailgetDetail () const
 
- Public Member Functions inherited from STY_SubjectGroup
virtual ~STY_SubjectGroup ()
 

Detailed Description

Represents a group of primitives that can be affected by style sheets.

Definition at line 28 of file GSTY_SubjectPrimGroup.h.

Constructor & Destructor Documentation

GSTY_SubjectPrimGroup::GSTY_SubjectPrimGroup ( const GEO_Detail gdp,
const UT_Array< const GEO_Primitive * > &  prims,
int  numeric_prim_group_offset = 0,
int  numeric_point_group_offset = 0,
bool  apply_detail_style_attribute = true,
bool  apply_prim_style_attribute = true 
)
GSTY_SubjectPrimGroup::GSTY_SubjectPrimGroup ( const GEO_Detail gdp,
int  start_idx,
int  end_idx,
int  numeric_prim_group_offset = 0,
int  numeric_point_group_offset = 0,
bool  apply_detail_style_attribute = true,
bool  apply_prim_style_attribute = true 
)
virtual GSTY_SubjectPrimGroup::~GSTY_SubjectPrimGroup ( )
virtual

Member Function Documentation

const GEO_Detail& GSTY_SubjectPrimGroup::getDetail ( void  ) const
inline

Definition at line 55 of file GSTY_SubjectPrimGroup.h.

const GA_ElementGroup* GSTY_SubjectPrimGroup::getGroup ( const char *  group_str,
GA_GroupType  group_type 
)
virtual int GSTY_SubjectPrimGroup::getNumSubjects ( ) const
virtual

Returns the number of subjects in this group.

Implements STY_SubjectGroup.

const GEO_Primitive& GSTY_SubjectPrimGroup::getPrimitive ( int  idx) const
const STY_StyleSheetHandle& GSTY_SubjectPrimGroup::getStyleSheet ( const UT_StringHolder ss_str)
virtual const STY_Subject& GSTY_SubjectPrimGroup::getSubject ( int  idx) const
virtual

Returns a subject by index.

Implements STY_SubjectGroup.


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