Experimental:POP Class

From Derivative
Jump to navigation Jump to search

A POP describes a reference to a POP operator, containing points and primitives.


Members

compare(Read Only):

Get or set Compare Flag.

dimension(Read Only):

The dimension in this POP.

isPOP(Read Only):

True if the operator is a POP.

pointAttributes(Read Only):

The set of point attributes defined in this POP.

pointAttributesChanged(Read Only):

The point attributes changed by this POP.

primAttributes(Read Only):

The set of primitive attributes defined in this POP.

primAttributesChanged(Read Only):

The prim attributes changed by this POP.

template(Read Only):

Get or set Template Flag.

vertAttributes(Read Only):

The set of vertex attributes defined in this POP.

vertAttributesChanged(Read Only):

The vert attributes changed by this POP.

Methods

computeBounds(delayed=False)Bounds:

Returns an object with the bounds, center and size of the POP's geometry.

  • display - (Keyword, Optional) If set to True, only calculate Bounding Box if POP display flag is set.
  • render - (Keyword, Optional) If set to True, only calculate Bounding Box if POP render flag is set.
  • delayed - (Keyword, Optional) If set to True, the download results will be delayed until the next call to computeBounds(), avoiding stalling the GPU waiting for the result immediately.

numPoints(delayed=False)int:

Returns the number of points contained in this POP.

  • delayed - (Keyword, Optional) If set to True, the download results will be delayed until the next call to numPoints(), avoiding stalling the GPU waiting for the result immediately.

numPrims(delayed=False)int:

Returns the number of primitives contained in this POP.

  • delayed - (Keyword, Optional) If set to True, the download results will be delayed until the next call to numPoints(), avoiding stalling the GPU waiting for the result immediately.

numVerts(delayed=False)int:

Returns the number of vertices contained in this POP.

  • delayed - (Keyword, Optional) If set to True, the download results will be delayed until the next call to numPoints(), avoiding stalling the GPU waiting for the result immediately.

points(attributeName, indexStart, count, delayed=False)list:

Returns the points attribute values as a list.

  • AttributeName - The attribute name.
  • indexStart - (int, Optional )The point index to start at (default 0).
  • count - (Keyword, Optional) The number of points to download.
  • delayed - (Keyword, Optional) If set to True, the download results will be delayed until the next call to vals(), avoiding stalling the GPU waiting for the result immediately.

prims(attributeName, indexStart, count, delayed=False)list:

Returns the prims attribute values as a list.

  • AttributeName - The attribute name.
  • indexStart - (int, Optional )The point index to start at (default 0).
  • count - (Keyword, Optional) The number of points to download.
  • delayed - (Keyword, Optional) If set to True, the download results will be delayed until the next call to vals(), avoiding stalling the GPU waiting for the result immediately.

verts(attributeName, indexStart, count, delayed=False)list:

Returns the verts attribute values as a list.

  • AttributeName - The attribute name.
  • indexStart - (int, Optional )The point index to start at (default 0).
  • count - (Keyword, Optional) The number of points to download.
  • delayed - (Keyword, Optional) If set to True, the download results will be delayed until the next call to vals(), avoiding stalling the GPU waiting for the result immediately.

TouchDesigner Build: