12 #ifndef __GP_FrameHierarchy_h__
13 #define __GP_FrameHierarchy_h__
78 return detach(child) ? to.
insert(child) : -1;
85 if (myAnchor->myFlags.dirty)
86 myAnchor->traverseUpdateWorld(0);
94 int save(std::ostream &os,
int binary = 0)
const;
115 while (h && !(f = (h==&child))) h = h->mySibling;
152 myAnchor->myFlags.dirty = 1;
177 void traverseUpdateWorld(
int history = 0);
182 child.myParent =
this;
183 child.mySibling = myChildren;
GP_FrameHierarchy * parent() const
vbool4 insert(const vbool4 &a, bool val)
Helper: substitute val for a[i].
Used to pass options and map offset values during saving.
const GLuint GLenum const void * binary
const GP_CorrectionFrame & root() const
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
GLubyte GLubyte GLubyte GLubyte w
GP_Domain * domain() const
GP_FrameHierarchy * children() const
void update(const GP_Frame *=0)
GP_FrameHierarchy * anchor() const
void domain(GP_Domain *d)
GP_DomainDAG * dag() const
void dag(GP_DomainDAG *d)
GLboolean GLboolean GLboolean GLboolean a
int hasChild(const GP_FrameHierarchy &child) const
int move(GP_FrameHierarchy &child, GP_FrameHierarchy &to)
bool OIIO_API contains(string_view a, string_view b)
Does 'a' contain the string 'b' within it?
GLfloat GLfloat GLfloat GLfloat h
GP_FrameHierarchy * sibling() const
int insert(GP_FrameHierarchy &child, int check=0, int wcorrection=1)
GP_FrameHierarchy * hierarchy() const