Nv::Blast::CutoutSet Class Reference

#include <NvBlastExtAuthoringCutout.h>

List of all members.

Public Member Functions

virtual uint32_t getCutoutCount () const =0
virtual uint32_t getCutoutLoopCount (uint32_t cutoutIndex) const =0
virtual const physx::PxVec3 & getCutoutVertex (uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0
virtual uint32_t getCutoutVertexCount (uint32_t cutoutIndex, uint32_t loopIndex) const =0
virtual const physx::PxVec2 & getDimensions () const =0
virtual bool isCutoutVertexToggleSmoothingGroup (uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0
virtual bool isPeriodic () const =0
virtual void release ()=0

Protected Member Functions

virtual ~CutoutSet ()


Detailed Description

Interface to a "cutout set," used with chippable fracturing. A cutout set is created from a bitmap. The result is turned into cutouts which are applied to the mesh. For example, a bitmap which looks like a brick pattern will generate a cutout for each "brick," forming the cutout set.

Each cutout is a 2D entity, meant to be projected onto various faces of a mesh. They are represented by a set of 2D vertices, which form closed loops. More than one loop may represent a single cutout, if the loops are forced to be convex. Otherwise, a cutout is represented by a single loop.


Constructor & Destructor Documentation

virtual Nv::Blast::CutoutSet::~CutoutSet (  )  [inline, protected, virtual]

Protected destructor. Use the release() method.


Member Function Documentation

virtual uint32_t Nv::Blast::CutoutSet::getCutoutCount (  )  const [pure virtual]

Returns the number of cutouts in the set.

virtual uint32_t Nv::Blast::CutoutSet::getCutoutLoopCount ( uint32_t  cutoutIndex  )  const [pure virtual]

Applies to the cutout indexed by cutoutIndex: Returns the number of loops in this cutout.

virtual const physx::PxVec3& Nv::Blast::CutoutSet::getCutoutVertex ( uint32_t  cutoutIndex,
uint32_t  loopIndex,
uint32_t  vertexIndex 
) const [pure virtual]

Applies to the cutout indexed by cutoutIndex: Returns the vertex indexed by vertexIndex. (Only the X and Y coordinates are used.)

virtual uint32_t Nv::Blast::CutoutSet::getCutoutVertexCount ( uint32_t  cutoutIndex,
uint32_t  loopIndex 
) const [pure virtual]

Applies to the cutout indexed by cutoutIndex: Returns the number of vertices in the cutout.

virtual const physx::PxVec2& Nv::Blast::CutoutSet::getDimensions (  )  const [pure virtual]

The dimensions of the fracture map used to create the cutout set.

virtual bool Nv::Blast::CutoutSet::isCutoutVertexToggleSmoothingGroup ( uint32_t  cutoutIndex,
uint32_t  loopIndex,
uint32_t  vertexIndex 
) const [pure virtual]

If smoothing group should be changed for adjacent to this vertex faces return true

virtual bool Nv::Blast::CutoutSet::isPeriodic (  )  const [pure virtual]

Whether or not this cutout set is to be tiled.

virtual void Nv::Blast::CutoutSet::release (  )  [pure virtual]

Serialization Releases all memory and deletes itself.


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