MappingChannel Class Reference

MappingChannel Class Reference

Class Description

An array of Point3 data points (called texture vertexes) and an array of TVFace structures used for texture coordinates or color-per-vertex data.
+ Inheritance diagram for MappingChannel:

Public Member Functions

def GetChannelId (self)
 
def GetNumFaces (self)
 
def GetNumTextureVertices (self)
 
def GetTextureFace (self, args)
 
def GetTextureFaceVertex (self, args)
 
def GetTextureFaceVertexIndex (self, args)
 
def GetTextureFaceVertices (self, args)
 
def GetTextureVertex (self, args)
 
def GetTextureVertexFloat (self, args)
 
def IsEnabled (self)
 
def SetEnabled
 
def SetNumTextureVertices (self, args)
 
def SetTextureFace (self, args)
 
def SetTextureVertex (self, args)
 

Static Public Attributes

tuple ChannelId = _swig_property(GetChannelId)
 
tuple Enabled = _swig_property(IsEnabled, SetEnabled)
 
tuple NumFaces = _swig_property(GetNumFaces)
 
tuple NumTextureVertices = _swig_property(GetNumTextureVertices, SetNumTextureVertices)
 
tuple TextureFaces = _swig_property(lambda self: (self.GetTextureFace(i) for i in xrange(self.GetNumFaces())))
 
tuple TextureFaceVertices = _swig_property(lambda self: (self.GetTextureFaceVertices(i) for i in xrange(self.GetNumFaces())))
 
tuple TextureVertices = _swig_property(lambda self: (self.GetTextureVertex(i) for i in xrange(self.GetNumTextureVertices())))
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def GetChannelId (   self)
GetChannelId(MappingChannel self) -> int
def GetNumFaces (   self)
GetNumFaces(MappingChannel self) -> int
def GetNumTextureVertices (   self)
GetNumTextureVertices(MappingChannel self) -> int
def GetTextureFace (   self,
  args 
)
GetTextureFace(MappingChannel self, int face) -> TVFace
def GetTextureFaceVertex (   self,
  args 
)
GetTextureFaceVertex(MappingChannel self, int face, int i) -> Point3
def GetTextureFaceVertexIndex (   self,
  args 
)
GetTextureFaceVertexIndex(MappingChannel self, int face, int index) -> int
def GetTextureFaceVertices (   self,
  args 
)
GetTextureFaceVertices(MappingChannel self, int face) -> FacePoints
def GetTextureVertex (   self,
  args 
)
GetTextureVertex(MappingChannel self, int n) -> Point3
def GetTextureVertexFloat (   self,
  args 
)
GetTextureVertexFloat(MappingChannel self, int n, int element) -> float
def IsEnabled (   self)
IsEnabled(MappingChannel self) -> bool
def SetEnabled (   self,
  b = True 
)
SetEnabled(MappingChannel self, bool b=True)
SetEnabled(MappingChannel self)
def SetNumTextureVertices (   self,
  args 
)
SetNumTextureVertices(MappingChannel self, int n)
def SetTextureFace (   self,
  args 
)
SetTextureFace(MappingChannel self, int face, int a, int b, int c)
SetTextureFace(MappingChannel self, int face, TVFace f)
def SetTextureVertex (   self,
  args 
)
SetTextureVertex(MappingChannel self, int n, Point3 pt)
SetTextureVertex(MappingChannel self, int n, float x, float y, float z)