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

#include <GA_AttributeFilter.h>

Public Member Functions

 GA_AttributeFilter ()
 
 GA_AttributeFilter (GA_AttributeFilterBooleanOp op, const GA_AttributeFilter &f0, const GA_AttributeFilter &f1)
 
 GA_AttributeFilter (GA_AttributeFilterImpl *impl)
 
bool match (const GA_Attribute *atr) const
 
bool terminateAfterFirstMatch () const
 
bool isValid () const
 

Static Public Member Functions

static GA_AttributeFilter selectStandard (const GA_Attribute *exclude=0)
 Class factories. More...
 
static GA_AttributeFilter selectFactory (const GA_Attribute *exclude=0)
 Select "factory" will select all factory (non-HDK-registered) types. More...
 
static GA_AttributeFilter selectNumeric ()
 
static GA_AttributeFilter selectTransforming (bool include_P)
 
static GA_AttributeFilter selectString ()
 
static GA_AttributeFilter selectAlphaNum ()
 
static GA_AttributeFilter selectIndexPair ()
 
static GA_AttributeFilter selectBlindData ()
 
static GA_AttributeFilter selectGroup ()
 
static GA_AttributeFilter selectTopology ()
 
static GA_AttributeFilter selectPublic (bool include_noninternal_groups=true)
 Select public scope attributes and non-internal groups. More...
 
static GA_AttributeFilter selectType (const char *type)
 
static GA_AttributeFilter selectTypeInfo (GA_TypeInfo info)
 Select based on the type info. More...
 
static GA_AttributeFilter selectTupleByStorage (GA_Storage store)
 
static GA_AttributeFilter selectFloatTuple (bool include_P=true)
 
static GA_AttributeFilter selectFloatNumeric (bool include_P=true)
 
static GA_AttributeFilter selectByName (const char *name)
 
static GA_AttributeFilter selectByPattern (const char *pattern)
 
static GA_AttributeFilter selectByTupleSize (int size)
 
static GA_AttributeFilter selectByTupleRange (int min_range, int max_range=1024 *1024 *1024)
 
static GA_AttributeFilter selectAllExcept (const GA_Attribute *except)
 
static GA_AttributeFilter selectEmptyGroup ()
 
static GA_AttributeFilter selectOrderedGroup ()
 
static GA_AttributeFilter selectNot (const GA_AttributeFilter &f0, bool single_match=false)
 
static GA_AttributeFilter selectAnd (const GA_AttributeFilter &f0, const GA_AttributeFilter &f1, bool single_match=false)
 
static GA_AttributeFilter selectOr (const GA_AttributeFilter &f0, const GA_AttributeFilter &f1, bool single_match=false)
 
static GA_AttributeFilter selectXor (const GA_AttributeFilter &f0, const GA_AttributeFilter &f1, bool single_match=false)
 

Detailed Description

Examples:
SOP/SOP_BrushHairLen.C.

Definition at line 54 of file GA_AttributeFilter.h.

Constructor & Destructor Documentation

GA_AttributeFilter::GA_AttributeFilter ( )
inline

Definition at line 57 of file GA_AttributeFilter.h.

GA_AttributeFilter::GA_AttributeFilter ( GA_AttributeFilterBooleanOp  op,
const GA_AttributeFilter f0,
const GA_AttributeFilter f1 
)
inline

Definition at line 60 of file GA_AttributeFilter.h.

GA_AttributeFilter::GA_AttributeFilter ( GA_AttributeFilterImpl impl)
inlineexplicit

Definition at line 81 of file GA_AttributeFilter.h.

Member Function Documentation

bool GA_AttributeFilter::isValid ( ) const
inline

Definition at line 89 of file GA_AttributeFilter.h.

bool GA_AttributeFilter::match ( const GA_Attribute atr) const
inline

Definition at line 84 of file GA_AttributeFilter.h.

static GA_AttributeFilter GA_AttributeFilter::selectAllExcept ( const GA_Attribute except)
static
static GA_AttributeFilter GA_AttributeFilter::selectAlphaNum ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectAnd ( const GA_AttributeFilter f0,
const GA_AttributeFilter f1,
bool  single_match = false 
)
static
static GA_AttributeFilter GA_AttributeFilter::selectBlindData ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectByName ( const char *  name)
static
static GA_AttributeFilter GA_AttributeFilter::selectByPattern ( const char *  pattern)
static
static GA_AttributeFilter GA_AttributeFilter::selectByTupleRange ( int  min_range,
int  max_range = 1024 *1024 *1024 
)
static
static GA_AttributeFilter GA_AttributeFilter::selectByTupleSize ( int  size)
inlinestatic

Definition at line 142 of file GA_AttributeFilter.h.

static GA_AttributeFilter GA_AttributeFilter::selectEmptyGroup ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectFactory ( const GA_Attribute exclude = 0)
static

Select "factory" will select all factory (non-HDK-registered) types.

static GA_AttributeFilter GA_AttributeFilter::selectFloatNumeric ( bool  include_P = true)
static
static GA_AttributeFilter GA_AttributeFilter::selectFloatTuple ( bool  include_P = true)
static
static GA_AttributeFilter GA_AttributeFilter::selectGroup ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectIndexPair ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectNot ( const GA_AttributeFilter f0,
bool  single_match = false 
)
static
static GA_AttributeFilter GA_AttributeFilter::selectNumeric ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectOr ( const GA_AttributeFilter f0,
const GA_AttributeFilter f1,
bool  single_match = false 
)
static
static GA_AttributeFilter GA_AttributeFilter::selectOrderedGroup ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectPublic ( bool  include_noninternal_groups = true)
static

Select public scope attributes and non-internal groups.

static GA_AttributeFilter GA_AttributeFilter::selectStandard ( const GA_Attribute exclude = 0)
static

Class factories.

selectAll was removed in H16 because it is almost certainly not what you want or what you think it does. It also selects internal and private attributes that can result in looping over selections crashing. You should replace your calls with selectPublic().

Examples:
SOP/SOP_BrushHairLen.C.
static GA_AttributeFilter GA_AttributeFilter::selectString ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectTopology ( )
static
static GA_AttributeFilter GA_AttributeFilter::selectTransforming ( bool  include_P)
static
static GA_AttributeFilter GA_AttributeFilter::selectTupleByStorage ( GA_Storage  store)
static
static GA_AttributeFilter GA_AttributeFilter::selectType ( const char *  type)
static
static GA_AttributeFilter GA_AttributeFilter::selectTypeInfo ( GA_TypeInfo  info)
static

Select based on the type info.

static GA_AttributeFilter GA_AttributeFilter::selectXor ( const GA_AttributeFilter f0,
const GA_AttributeFilter f1,
bool  single_match = false 
)
static
bool GA_AttributeFilter::terminateAfterFirstMatch ( ) const
inline

Definition at line 86 of file GA_AttributeFilter.h.


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