PolyObject Class Reference

PolyObject Class Reference

Class Description

A polygon-based mesh object.
+ Inheritance diagram for PolyObject:

Public Member Functions

def ApplyUVWMap (self, args)
 
def CanConvertToType (self, args)
 
def CanDoDisplacementMapping (self)
 
def ChannelValidity (self, args)
 
def CheckMesh (self, args)
 
def CheckObjectIntegrity (self)
 
def CollapseObject (self)
 
def ConvertToType (self, args)
 
def ConvertValidity (self, args)
 
def Display (self, args)
 
def DispParams (self)
 
def Eval (self, args)
 
def FreeChannels (self, args)
 
def GetClassID (self)
 
def GetClassName (self, args)
 
def GetDeformBBox (self, args)
 
def GetDisplacement (self)
 
def GetDisplacementDisable (self)
 
def GetDisplacementParameters (self)
 
def GetDisplacementSplit (self)
 
def GetLocalBoundBox (self, args)
 
def GetMesh (self)
 
def GetObjectDisplayRequirement (self)
 
def GetObjectName (self)
 
def GetPoint (self, args)
 
def GetRenderMesh (self, args)
 
def GetSubselState (self)
 
def GetWorldBoundBox (self, args)
 
def HasUVW (self, args)
 
def HitTest (self, args)
 
def IntersectRay (self, args)
 
def InvalidateChannels (self, args)
 
def IsDeformable (self)
 
def IsKeyable (self)
 
def IsMappable (self)
 
def IsPointSelected (self, args)
 
def MakeShallowCopy (self, args)
 
def NewAndCopyChannels (self, args)
 
def NumMapChannels (self)
 
def NumMapsUsed (self)
 
def NumPoints (self)
 
def ObjectValidity (self, args)
 
def PartValidity (self, args)
 
def PointSelection (self, args)
 
def PointsWereChanged (self)
 
def PolygonCount (self, args)
 
def ReduceDisplayCaches (self)
 
def RescaleWorldUnits (self, args)
 
def SetChannelValidity (self, args)
 
def SetDisplacement (self, args)
 
def SetDisplacementApproxToPreset (self, args)
 
def SetDisplacementDisable (self, args)
 
def SetDisplacementParameters (self, args)
 
def SetDisplacementSplit (self, args)
 
def SetPartValidity (self, args)
 
def SetPoint (self, args)
 
def SetSubSelState (self, args)
 
def ShallowCopy (self, args)
 
def TopologyChanged (self)
 
def Update (self, args)
 
- Public Member Functions inherited from GeomObject
def CanDoDisplacementMapping (self)
 
def IsInstanceDependent (self)
 
def NumberOfRenderMeshes (self)
 
- Public Member Functions inherited from Object
def ApplyUVWMap (self, args)
 
def AsParticleObject (self, args)
 
def AsShapeObject (self, args)
 
def AsSplineShape (self, args)
 
def AsTriObject (self, args)
 
def BranchDeleted (self, args)
 
def CanCacheObject (self)
 
def CanConvertToType (self, args)
 
def CheckObjectIntegrity (self)
 
def CollapseObject (self)
 
def ContainedShapeSelectionArray (self)
 
def ConvertToDerivedObject (self)
 
def ConvertToType (self, args)
 
def CopyAdditionalChannels (self, args)
 
def CopyChannelLocks (self, args)
 
def DeleteAllAdditionalChannels (self)
 
def DoOwnSelectHilite (self)
 
def Eval (self, args)
 
def FindBaseObject (self)
 
def FreeChannels (self, args)
 
def GetBranchINode (self, args)
 
def GetChannelLocks (self, args)
 
def GetChannelValidity (self, args)
 
def GetContainedShape (self, args)
 
def GetContainedShapeMatrix (self, args)
 
def GetDeformBBox (self, args)
 
def GetExtendedProperties (self, args)
 
def GetNoEvalInterval (self)
 
def GetNumContainedShapes (self)
 
def GetNumFaces (self, args)
 
def GetNumMapChannels (self)
 
def GetNumMapsUsed (self)
 
def GetNumPipeBranches
 
def GetNumPoints (self)
 
def GetNumSurfaces (self, args)
 
def GetNumVerts (self, args)
 
def GetObjectValidity (self, args)
 
def GetPipeBranch (self, args)
 
def GetPoint (self, args)
 
def GetSubselState (self)
 
def GetSurfacePoint (self, args)
 
def GetWeight (self, args)
 
def GetWorldSpaceObjectNode (self)
 
def HasWeights (self)
 
def InitNodeName (self, args)
 
def IntersectRay (self, args)
 
def InvalidateChannels (self, args)
 
def IsBaseClassOwnedChannel (self, args)
 
def IsDeformable (self)
 
def IsManipulator (self)
 
def IsMappable (self)
 
def IsObjectLocked (self)
 
def IsParamSurface (self)
 
def IsParticleSystem (self)
 
def IsPointSelected (self, args)
 
def IsRenderable (self)
 
def IsShapeObject (self)
 
def IsWorldSpaceObject (self)
 
def LockChannels (self, args)
 
def LockObject (self)
 
def MakeShallowCopy (self, args)
 
def MergeAdditionalChannels (self, args)
 
def NewAndCopyChannels (self, args)
 
def NormalAlignVector (self, args)
 
def PointSelection (self, args)
 
def PointsWereChanged (self)
 
def PreferredCollapseType (self)
 
def ReadyChannelsForMod (self, args)
 
def ReduceCaches (self, args)
 
def SetChannelLocks (self, args)
 
def SetChannelValidity (self, args)
 
def SetNoEvalInterval (self, args)
 
def SetPoint (self, args)
 
def SetSubSelState (self, args)
 
def SetWeight (self, args)
 
def ShallowCopy (self, args)
 
def SurfaceClosedU (self, args)
 
def SurfaceClosedV (self, args)
 
def TopologyChanged (self)
 
def UnlockChannels (self, args)
 
def UnlockObject (self)
 
def UpdateValidity (self, args)
 
def UseSelectionBrackets (self)
 
def UsesWireColor (self)
 
def WSStateInvalidate (self)
 
- Public Member Functions inherited from BaseObject
def ActivateSubSelSet (self, args)
 
def ChangeTopology (self)
 
def ClearSelection (self, args)
 
def ForceNotify (self, args)
 
def GetLocalBoundBox (self, args)
 
def GetNamedSelSetName (self, args)
 
def GetNumNamedSelSets (self)
 
def GetNumSubObjTypes (self)
 
def GetObjectName (self)
 
def GetSubObjectLevel (self)
 
def GetSubObjType (self, args)
 
def GetSubObjTypeName (self, args)
 
def GetWorldBoundBox (self, args)
 
def HasUVW (self, args)
 
def HasViewDependentBoundingBox (self)
 
def HitTest (self, args)
 
def InvertSelection (self, args)
 
def Move (self, args)
 
def NewSetFromCurSel (self, args)
 
def OKToChangeTopology (self, args)
 
def RemoveSubSelSet (self, args)
 
def Rotate (self, args)
 
def Scale (self, args)
 
def SelectAll (self, args)
 
def SetGenUVW (self, args)
 
def SetNamedSelSetName (self, args)
 
def SetupNamedSelDropDown (self)
 
def SupportsNamedSubSels (self)
 
def TransformCancel (self, args)
 
def TransformFinish (self, args)
 
def TransformHoldingFinish (self, args)
 
def TransformHoldingStart (self, args)
 
def TransformStart (self, args)
 
- Public Member Functions inherited from ReferenceTarget
def FindDependentNode (self)
 
def MaybeAutoDelete (self)
 
def NotifyTarget (self, args)
 
- Public Member Functions inherited from ReferenceMaker
def ClearFlagInHierarchy (self, args)
 
def DeleteMe (self)
 
def DeleteReference (self, args)
 
def FindRef (self, args)
 
def GetNumRefs (self)
 
def GetReference (self, args)
 
def NotifyChanged (self)
 
def NotifyDependents (self, args)
 
def ReplaceReference (self, args)
 
def RescaleWorldUnits (self, args)
 
- Public Member Functions inherited from Animatable
def AddNewKey (self, args)
 
def AssignController (self, args)
 
def CanAssignController (self, args)
 
def CanCopyAnim (self)
 
def CanCopyTrack (self, args)
 
def CanDeleteSubAnim (self, args)
 
def CanMakeUnique (self)
 
def ClearAFlag (self, args)
 
def ClearAFlagEx (self, args)
 
def ClearAllAppData (self)
 
def ClearFlagBit (self, args)
 
def ClearFlagInAllAnimatables (args)
 
def CopyKeysFromTime (self, args)
 
def DeleteAppData (self, args)
 
def DeleteKeyAtTime (self, args)
 
def DeleteKeyByIndex (self, args)
 
def DeleteKeys (self, args)
 
def DeleteSubAnim (self, args)
 
def DeleteTime (self, args)
 
def DoesSupportTimeOperations (self)
 
def EditTimeRange (self, args)
 
def FreeCaches (self)
 
def GetAnimByHandle (args)
 
def GetAnimHandle (self)
 
def GetAppData (self, args)
 
def GetClassID (self)
 
def GetClassName (self)
 
def GetCustomAttributeContainer (self)
 
def GetHasSubElements
 
def GetKeyIndex (self, args)
 
def GetKeyTime (self, args)
 
def GetNextKeyTime (self, args)
 
def GetNodeName (self)
 
def GetNumKeys (self)
 
def GetNumSubAnims (self)
 
def GetParameterBlock (self)
 
def GetSubAnim (self, args)
 
def GetSubAnimName (self, args)
 
def GetSuperClassID (self)
 
def GetTimeRange (self, args)
 
def InsertTime (self, args)
 
def IsAnimated (self)
 
def IsKeyAtTime (self, args)
 
def IsSubClassOf (self, args)
 
def MoveKeys (self, args)
 
def ReverseTime (self, args)
 
def ScaleKeyValues (self, args)
 
def ScaleTime (self, args)
 
def SetAFlag (self, args)
 
def SetAFlagEx (self, args)
 
def SetAppData (self, args)
 
def SetFlagBit (self, args)
 
def SubNumToRefNum (self, args)
 
def TestAFlag (self, args)
 
def TestAFlagEx (self, args)
 
def TestFlagBit (self, args)
 
- Public Member Functions inherited from InterfaceServer
def GetInterface (self, args)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Static Public Attributes

tuple ClassID = _swig_property(GetClassID)
 
tuple mnmesh = _swig_property(GetMesh)
 
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 GeomObject
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 Object
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 BaseObject
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 ReferenceTarget
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 ReferenceMaker
tuple NumRefs = _swig_property(GetNumRefs)
 
tuple Refs = _swig_property(lambda self: (self.GetReference(i) for i in xrange(self.GetNumRefs())))
 
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 Animatable
tuple AnimHandle = _swig_property(GetAnimHandle)
 
tuple ClassID = _swig_property(GetClassID)
 
tuple ClearFlagInAllAnimatables = staticmethod(ClearFlagInAllAnimatables)
 
tuple GetAnimByHandle = staticmethod(GetAnimByHandle)
 
tuple KeyTimes = _swig_property(lambda self: (self.GetKeyTime(i) for i in xrange(self.GetNumKeys())))
 
tuple NodeName = _swig_property(GetNodeName)
 
tuple NumSubAnims = _swig_property(GetNumSubAnims)
 
tuple ParameterBlock = _swig_property(GetParameterBlock)
 
tuple SubAnimNames = _swig_property(lambda self: (self.GetSubAnimName(i) for i in xrange(self.GetNumSubAnims())))
 
tuple SubAnims = _swig_property(lambda self: (self.GetSubAnim(i) for i in xrange(self.GetNumSubAnims())))
 
tuple SuperClassID = _swig_property(GetSuperClassID)
 
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 InterfaceServer
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 ApplyUVWMap (   self,
  args 
)
ApplyUVWMap(PolyObject self, int type, float utile, float vtile, float wtile, int uflip, int vflip, int wflip, 
    int cap, Matrix3 tm, int channel=1)
ApplyUVWMap(PolyObject self, int type, float utile, float vtile, float wtile, int uflip, int vflip, int wflip, 
    int cap, Matrix3 tm)
def CanConvertToType (   self,
  args 
)
CanConvertToType(PolyObject self, Class_ID obtype) -> int
def CanDoDisplacementMapping (   self)
CanDoDisplacementMapping(PolyObject self) -> bool
def ChannelValidity (   self,
  args 
)
ChannelValidity(PolyObject self, TimeValue t, int nchan) -> Interval
def CheckMesh (   self,
  args 
)
CheckMesh(PolyObject self, INode inode)
def CheckObjectIntegrity (   self)
CheckObjectIntegrity(PolyObject self) -> bool
def CollapseObject (   self)
CollapseObject(PolyObject self) -> Object
def ConvertToType (   self,
  args 
)
ConvertToType(PolyObject self, TimeValue t, Class_ID obtype) -> Object
def ConvertValidity (   self,
  args 
)
ConvertValidity(PolyObject self, TimeValue t) -> Interval
def Display (   self,
  args 
)
Display(PolyObject self, TimeValue t, INode inode, ViewExp vpt, int flags) -> int
def DispParams (   self)
DispParams(PolyObject self) -> TessApprox
def Eval (   self,
  args 
)
Eval(PolyObject self, TimeValue time) -> ObjectState
def FreeChannels (   self,
  args 
)
FreeChannels(PolyObject self, ChannelMask chan)
def GetClassID (   self)
GetClassID(PolyObject self) -> Class_ID
def GetClassName (   self,
  args 
)
GetClassName(PolyObject self, WStr s)
def GetDeformBBox (   self,
  args 
)
GetDeformBBox(PolyObject self, TimeValue t, Box3 box, Matrix3 tm=None, BOOL useSel=True)
GetDeformBBox(PolyObject self, TimeValue t, Box3 box, Matrix3 tm=None)
GetDeformBBox(PolyObject self, TimeValue t, Box3 box)
def GetDisplacement (   self)
GetDisplacement(PolyObject self) -> bool
def GetDisplacementDisable (   self)
GetDisplacementDisable(PolyObject self) -> bool
def GetDisplacementParameters (   self)
GetDisplacementParameters(PolyObject self) -> TessApprox
def GetDisplacementSplit (   self)
GetDisplacementSplit(PolyObject self) -> bool
def GetLocalBoundBox (   self,
  args 
)
GetLocalBoundBox(PolyObject self, TimeValue t, INode inode, ViewExp vpt, Box3 box)
def GetMesh (   self)
GetMesh(PolyObject self) -> MNMesh
def GetObjectDisplayRequirement (   self)
GetObjectDisplayRequirement(PolyObject self) -> unsigned long
def GetObjectName (   self)
GetObjectName(PolyObject self) -> wchar_t const *
def GetPoint (   self,
  args 
)
GetPoint(PolyObject self, int i) -> Point3
def GetRenderMesh (   self,
  args 
)
GetRenderMesh(PolyObject self, TimeValue t, INode inode, View & view, BOOL & needDelete) -> Mesh
def GetSubselState (   self)
GetSubselState(PolyObject self) -> DWORD
def GetWorldBoundBox (   self,
  args 
)
GetWorldBoundBox(PolyObject self, TimeValue t, INode inode, ViewExp vpt, Box3 box)
def HasUVW (   self,
  args 
)
HasUVW(PolyObject self) -> bool
HasUVW(PolyObject self, int mapChannel) -> bool
def HitTest (   self,
  args 
)
HitTest(PolyObject self, TimeValue t, INode inode, int type, int crossing, int flags, IPoint2 p, ViewExp vpt) -> int
def IntersectRay (   self,
  args 
)
IntersectRay(PolyObject self, TimeValue t, Ray ray, float & at, Point3 norm) -> int
def InvalidateChannels (   self,
  args 
)
InvalidateChannels(PolyObject self, ChannelMask channels)
def IsDeformable (   self)
IsDeformable(PolyObject self) -> int
def IsKeyable (   self)
IsKeyable(PolyObject self) -> int
def IsMappable (   self)
IsMappable(PolyObject self) -> int
def IsPointSelected (   self,
  args 
)
IsPointSelected(PolyObject self, int i) -> bool
def MakeShallowCopy (   self,
  args 
)
MakeShallowCopy(PolyObject self, ChannelMask channels) -> Object
def NewAndCopyChannels (   self,
  args 
)
NewAndCopyChannels(PolyObject self, ChannelMask channels)
def NumMapChannels (   self)
NumMapChannels(PolyObject self) -> int
def NumMapsUsed (   self)
NumMapsUsed(PolyObject self) -> int
def NumPoints (   self)
NumPoints(PolyObject self) -> int
def ObjectValidity (   self,
  args 
)
ObjectValidity(PolyObject self, TimeValue t) -> Interval
def PartValidity (   self,
  args 
)
PartValidity(PolyObject self, ChannelMask channels) -> Interval
def PointSelection (   self,
  args 
)
PointSelection(PolyObject self, int i) -> float
def PointsWereChanged (   self)
PointsWereChanged(PolyObject self)
def PolygonCount (   self,
  args 
)
PolygonCount(PolyObject self, TimeValue t, int & numFaces, int & numVerts) -> BOOL
def ReduceDisplayCaches (   self)
ReduceDisplayCaches(PolyObject self)
def RescaleWorldUnits (   self,
  args 
)
RescaleWorldUnits(PolyObject self, float f)
def SetChannelValidity (   self,
  args 
)
SetChannelValidity(PolyObject self, int i, Interval v)
def SetDisplacement (   self,
  args 
)
SetDisplacement(PolyObject self, bool displace)
def SetDisplacementApproxToPreset (   self,
  args 
)
SetDisplacementApproxToPreset(PolyObject self, int preset)
def SetDisplacementDisable (   self,
  args 
)
SetDisplacementDisable(PolyObject self, bool disable)
def SetDisplacementParameters (   self,
  args 
)
SetDisplacementParameters(PolyObject self, TessApprox params)
def SetDisplacementSplit (   self,
  args 
)
SetDisplacementSplit(PolyObject self, bool split)
def SetPartValidity (   self,
  args 
)
SetPartValidity(PolyObject self, ChannelMask channels, Interval v)
def SetPoint (   self,
  args 
)
SetPoint(PolyObject self, int i, Point3 p)
def SetSubSelState (   self,
  args 
)
SetSubSelState(PolyObject self, DWORD s)
def ShallowCopy (   self,
  args 
)
ShallowCopy(PolyObject self, Object fromOb, ChannelMask channels)
def TopologyChanged (   self)
TopologyChanged(PolyObject self)
def Update (   self,
  args 
)
Update(PolyObject self, TimeValue t) -> int