18 #include "../../Api.h"
21 #include "pxr/usd/usd/prim.h"
22 #include "pxr/usd/sdf/path.h"
23 #include "AL/usd/utils/ForwardDeclares.h"
25 PXR_NAMESPACE_USING_DIRECTIVE
54 virtual bool getTypeInfo(TfToken type,
bool& supportsUpdate,
bool& requiresParent) = 0;
73 {
return m_newPrimSet; }
77 {
return m_transformsToCreate; }
81 {
return m_updatablePrimSet; }
85 {
return m_removedPrimSet; }
88 std::vector<UsdPrim> m_newPrimSet;
89 std::vector<UsdPrim> m_transformsToCreate;
90 std::vector<UsdPrim> m_updatablePrimSet;
91 SdfPathVector m_removedPrimSet;
virtual TfToken getTypeForPath(const SdfPath &path)=0
Given a path to a prim, this method will return some type information for the prim found at that path...
const SdfPathVector & removedPrimSet() const
returns the list of prims that have been removed from the stage
Definition: PrimFilter.h:84
const std::vector< UsdPrim > & newPrimSet() const
returns the set of prims to create
Definition: PrimFilter.h:72
AL_USDMAYA_PUBLIC PrimFilter(const SdfPathVector &previousPrims, const AL::usd::utils::UsdPrimVector &newPrimSet, PrimFilterInterface *proxy)
constructor constructs the prim filter
const std::vector< UsdPrim > & transformsToCreate() const
returns the set of prims that require created transforms
Definition: PrimFilter.h:76
const std::vector< UsdPrim > & updatablePrimSet() const
returns the list of prims that needs to be updated
Definition: PrimFilter.h:80
The prim filter needs to know about some state provided in the proxy shape node. In order to maintain...
Definition: PrimFilter.h:37
A class to filter the prims during a variant switch.
Definition: PrimFilter.h:60
virtual bool getTypeInfo(TfToken type, bool &supportsUpdate, bool &requiresParent)=0
for a specific type, this method should return whether it supports update, and if that type requires ...