PolyShape Class Reference

Class Description

A multi-polygon shape class used in the caching of Bezier shapes. Used for doing a one time interpolation of a bezier shape into a form that is the same shape but doesn't require any further interpolation.
+ Inheritance diagram for PolyShape:

Public Member Functions

def Append
 
def BuildBoundingBox
 
def CopyFrom
 
def DeepCopy
 
def Delete
 
def FreeChannels
 
def GetBoundingBox
 
def GetDeformBBox
 
def GetDisplayFlags
 
def GetFlags
 
def GetLine
 
def GetMatID
 
def GetNumLines
 
def Init
 
def Insert
 
def InvalidateCapCache
 
def InvalidateGeomCache
 
def NewAndCopyChannels
 
def NewLine
 
def NewShape
 
def Reverse
 
def SetNumLines
 
def ShallowCopy
 
def Transform
 
def UpdateCachedHierarchy
 
def UpdateSels
 
def VertexTempSel
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr
 

Static Public Attributes

tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def Append (   self,
  args 
)
Append(PolyShape self, PolyLine l)
def BuildBoundingBox (   self)
BuildBoundingBox(PolyShape self)
def CopyFrom (   self,
  args 
)
CopyFrom(PolyShape self, PolyShape other)
def DeepCopy (   self,
  args 
)
DeepCopy(PolyShape self, PolyShape ashape, ChannelMask channels)
def Delete (   self,
  args 
)
Delete(PolyShape self, int where)
def FreeChannels (   self,
  args 
)
FreeChannels(PolyShape self, ChannelMask channels, int zeroOthers=1)
FreeChannels(PolyShape self, ChannelMask channels)
def GetBoundingBox (   self,
  args 
)
GetBoundingBox(PolyShape self, Matrix3 tm) -> Box3
GetBoundingBox(PolyShape self) -> Box3
def GetDeformBBox (   self,
  args 
)
GetDeformBBox(PolyShape self, TimeValue t, Box3 box, Matrix3 tm, bool useSel)
def GetDisplayFlags (   self)
GetDisplayFlags(PolyShape self) -> DWORD
def GetFlags (   self)
GetFlags(PolyShape self) -> DWORD
def GetLine (   self,
  args 
)
GetLine(PolyShape self, int i) -> PolyLine
def GetMatID (   self,
  args 
)
GetMatID(PolyShape self, int line, int piece) -> MtlID
def GetNumLines (   self)
GetNumLines(PolyShape self) -> int
def Init (   self)
Init(PolyShape self)
def Insert (   self,
  args 
)
Insert(PolyShape self, int where, PolyLine l)
def InvalidateCapCache (   self)
InvalidateCapCache(PolyShape self)
def InvalidateGeomCache (   self,
  args 
)
InvalidateGeomCache(PolyShape self, bool unused)
def NewAndCopyChannels (   self,
  args 
)
NewAndCopyChannels(PolyShape self, ChannelMask channels)
def NewLine (   self)
NewLine(PolyShape self) -> PolyLine
def NewShape (   self)
NewShape(PolyShape self)
def Reverse (   self,
  args 
)
Reverse(PolyShape self, int line, bool keepZero=True)
Reverse(PolyShape self, int line)
Reverse(PolyShape self, BitArray reverse, bool keepZero=True)
Reverse(PolyShape self, BitArray reverse)
def SetNumLines (   self,
  args 
)
SetNumLines(PolyShape self, int count, bool keep=TRUE) -> bool
SetNumLines(PolyShape self, int count) -> bool
def ShallowCopy (   self,
  args 
)
ShallowCopy(PolyShape self, PolyShape ashape, ChannelMask channels)
def Transform (   self,
  args 
)
Transform(PolyShape self, Matrix3 tm)
def UpdateCachedHierarchy (   self)
UpdateCachedHierarchy(PolyShape self)
def UpdateSels (   self)
UpdateSels(PolyShape self)
def VertexTempSel (   self,
  args 
)
VertexTempSel(PolyShape self, int poly) -> BitArray