This reference page is linked to from the following overview topics: FBX Objects, List of Python Fbx classes.
#include <fbxquery.h>
Defines a filtering criteria for a query of objects, connections and properties, so that only those satisfying the criteria are affected by the query.
Some examples of kinds of criteria are object type, connection type, or property. Criteria can be combined using logical operators such as "and" and "or".
FbxObject* lObject = FbxObject::Create(lManager, "Object"); int lSrcLightCount = lObject->RootProperty.GetSrcObjectCount(FbxCriteria::ObjectType(FbxLight::ClassId)); int lSrcDeformerCount = lObject->RootProperty.GetSrcObjectCount(FbxCriteria::ObjectTypeStrict(FbxDeformer::ClassId)); int lSrcPropertyCount = lObject->RootProperty.GetSrcCount(FbxCriteria::IsProperty());
Definition at line 110 of file fbxquery.h.
Public Member Functions |
|
| FbxCriteria (const FbxCriteria &pCriteria) | |
| Copy constructor. |
|
| FbxCriteria & | operator= (const FbxCriteria &pCriteria) |
| Assignment operator. |
|
| FbxCriteria | operator&& (const FbxCriteria &pCriteria) const |
| Gets a logical conjunction (and) criteria
from this and the specified criteria. |
|
| FbxCriteria | operator|| (const FbxCriteria &pCriteria) const |
| Gets a logical disjunction (or) criteria
from this and the specified criteria. |
|
| FbxCriteria | operator! () const |
| Returns a negated version of the criteria.
|
|
| FbxQuery * | GetQuery () const |
| Retrieves the query. |
|
Static Public Member Functions |
|
| static FbxCriteria | ObjectType (const FbxClassId &pClassId) |
| Creates a new query criteria that only
selects objects which have a specific class ID or derive from a
class with a specific class ID. |
|
| static FbxCriteria | ObjectTypeStrict (const FbxClassId &pClassId) |
| Creates a new query criteria that only
selects objects which have a specific class ID. |
|
| static FbxCriteria | IsProperty () |
| Creates a new query criteria that only
selects properties. |
|
| FbxCriteria | ( | const FbxCriteria & | pCriteria | ) |
Copy constructor.
| pCriteria | The criteria to be copied. |
| static FbxCriteria ObjectType | ( | const FbxClassId & | pClassId | ) | [static] |
Creates a new query criteria that only selects objects which have a specific class ID or derive from a class with a specific class ID.
| pClassId | The base type class ID |
| static FbxCriteria ObjectTypeStrict | ( | const FbxClassId & | pClassId | ) | [static] |
Creates a new query criteria that only selects objects which have a specific class ID.
| pClassId | The type class ID |
| static FbxCriteria IsProperty | ( | ) | [static] |
Creates a new query criteria that only selects properties.
| FbxCriteria& operator= | ( | const FbxCriteria & | pCriteria | ) |
Assignment operator.
| pCriteria | The criteria to be copied |
| FbxCriteria operator&& | ( | const FbxCriteria & | pCriteria | ) | const |
Gets a logical conjunction (and) criteria from this and the specified criteria.
| pCriteria | The specified criteria |
| FbxCriteria operator|| | ( | const FbxCriteria & | pCriteria | ) | const |
Gets a logical disjunction (or) criteria from this and the specified criteria.
| pCriteria | The specified criteria |
| FbxCriteria operator! | ( | ) | const |
Returns a negated version of the criteria.
| FbxQuery* GetQuery | ( | ) | const |