Types
Basic types for interacting with mesh data
-
class PointKitPy.Types.C3
Bases: pybind11_object
-
property b
-
property g
-
property r
-
class PointKitPy.Types.C4
Bases: pybind11_object
-
property a
-
property b
-
property g
-
property r
-
class PointKitPy.Types.I2
Bases: pybind11_object
-
Area(self: PointKitPy.Types.I2) → int
-
Dot(self: PointKitPy.Types.I2, arg0: PointKitPy.Types.I2) → int
-
Length(self: PointKitPy.Types.I2) → float
-
SameEdge(self: PointKitPy.Types.I2, arg0: PointKitPy.Types.I2) → bool
-
SquareLength(self: PointKitPy.Types.I2) → int
-
ToV2(self: PointKitPy.Types.I2) → PointKitPy.Types.V2
-
property x
-
property y
-
class PointKitPy.Types.I3
Bases: pybind11_object
-
property v0
-
property v1
-
property v2
-
class PointKitPy.Types.IHW
Bases: pybind11_object
-
numPixels(self: PointKitPy.Types.IHW) → int
-
property x
-
property y
-
class PointKitPy.Types.M3f
Bases: pybind11_object
-
Area(self: PointKitPy.Types.M3f) → int
-
Cols(self: PointKitPy.Types.M3f) → int
-
Determinant(self: PointKitPy.Types.M3f) → float
-
GetUpperLeft(self: PointKitPy.Types.M3f) → PointKitPy.Types.M3f
-
Inverse(self: PointKitPy.Types.M3f) → PointKitPy.Types.M3f
-
IsIdentity(*args, **kwargs)
Overloaded function.
IsIdentity(self: PointKitPy.Types.M3f) -> bool
IsIdentity(self: PointKitPy.Types.M3f, arg0: float) -> bool
-
IsZero(self: PointKitPy.Types.M3f) → bool
-
Multiply(*args, **kwargs)
Overloaded function.
Multiply(self: PointKitPy.Types.M3f, arg0: list[PointKitPy.Types.V3]) -> None
Multiply(self: PointKitPy.Types.M3f, arg0: list[PointKitPy.Types.V2]) -> None
-
Norm(self: PointKitPy.Types.M3f) → float
-
Rows(self: PointKitPy.Types.M3f) → int
-
ToIdentity(self: PointKitPy.Types.M3f) → None
-
ToZero(self: PointKitPy.Types.M3f) → None
-
Transpose(self: PointKitPy.Types.M3f) → PLG::Mx<float,3,3>
-
class PointKitPy.Types.M4f
Bases: pybind11_object
-
Area(self: PointKitPy.Types.M4f) → int
-
Cols(self: PointKitPy.Types.M4f) → int
-
Determinant(self: PointKitPy.Types.M4f) → float
-
GetColumn(self: PointKitPy.Types.M4f, arg0: int) → PointKitPy.Types.V4
-
GetRelative(self: PointKitPy.Types.M4f, arg0: PointKitPy.Types.M4f) → PointKitPy.Types.M4f
-
GetRow(self: PointKitPy.Types.M4f, arg0: int) → PointKitPy.Types.V4
-
GetScale(self: PointKitPy.Types.M4f) → PointKitPy.Types.V3
-
GetTranslate(self: PointKitPy.Types.M4f) → PointKitPy.Types.V3
-
GetUpperLeft(self: PointKitPy.Types.M4f) → PointKitPy.Types.M3f
-
Inverse(self: PointKitPy.Types.M4f) → PointKitPy.Types.M4f
-
IsIdentity(self: PointKitPy.Types.M4f) → bool
-
IsZero(self: PointKitPy.Types.M4f) → bool
-
Multiply(*args, **kwargs)
Overloaded function.
Multiply(self: PointKitPy.Types.M4f, arg0: list[PointKitPy.Types.V3]) -> None
Multiply(self: PointKitPy.Types.M4f, arg0: list[PointKitPy.Types.V4]) -> None
-
Norm(self: PointKitPy.Types.M4f) → float
-
Rows(self: PointKitPy.Types.M4f) → int
-
SetRow(self: PointKitPy.Types.M4f, arg0: int, arg1: PointKitPy.Types.V4) → None
-
SetScale(self: PointKitPy.Types.M4f, arg0: PointKitPy.Types.V3) → None
-
SetTranslate(self: PointKitPy.Types.M4f, arg0: PointKitPy.Types.V3) → None
-
SetUpperLeft(self: PointKitPy.Types.M4f, arg0: PointKitPy.Types.M3f) → None
-
ToIdentity(self: PointKitPy.Types.M4f) → None
-
ToZero(self: PointKitPy.Types.M4f) → None
-
Transpose(self: PointKitPy.Types.M4f) → PLG::Mx<float,4,4>
-
class PointKitPy.Types.PLGMesh
Bases: pybind11_object
-
CData(self: PointKitPy.Types.PLGMesh) → PointKitPy.Types.C4
-
FData(self: PointKitPy.Types.PLGMesh) → PointKitPy.Types.I3
-
NData(self: PointKitPy.Types.PLGMesh) → PointKitPy.Types.V3
-
UVData(self: PointKitPy.Types.PLGMesh) → PointKitPy.Types.V2
-
VData(self: PointKitPy.Types.PLGMesh) → PointKitPy.Types.V3
-
clear(self: PointKitPy.Types.PLGMesh) → None
Clear the mesh: remove all vertices, faces, normals, colors, and UVs
-
empty(self: PointKitPy.Types.PLGMesh) → bool
Check if the mesh is empty
-
property mC
Per-vertex colors, 8-bit ARGB
-
property mF
-
property mN
-
property mUV
Per-vertex UVs. Unused in Python bindings
-
property mV
-
nC(self: PointKitPy.Types.PLGMesh) → int
Get the number of colors
-
nF(self: PointKitPy.Types.PLGMesh) → int
Get the number of faces
-
nN(self: PointKitPy.Types.PLGMesh) → int
Get the number of normals
-
nUV(self: PointKitPy.Types.PLGMesh) → int
Get the number of UVs
-
nV(self: PointKitPy.Types.PLGMesh) → int
Get the number of vertices
-
reserve(self: PointKitPy.Types.PLGMesh, aV: int) → None
Reserve memory for vertices and normals
-
reserveC(self: PointKitPy.Types.PLGMesh, aV: int) → None
Reserve memory for vertices, normals, and colors
-
reserveCUV(self: PointKitPy.Types.PLGMesh, aV: int) → None
Reserve memory for vertices, normals, colors, and UVs
-
reserveUV(self: PointKitPy.Types.PLGMesh, aV: int) → None
Reserve memory for vertices, normals, and UVs
-
resize(self: PointKitPy.Types.PLGMesh, aV: int) → None
Resize vertices and normals
-
resizeC(self: PointKitPy.Types.PLGMesh, aV: int) → None
Resize vertices, normals, and colors
-
resizeCUV(self: PointKitPy.Types.PLGMesh, aV: int) → None
Resize vertices, normals, colors, and UVs
-
resizeUV(self: PointKitPy.Types.PLGMesh, aV: int) → None
Resize vertices, normals, and UVs
-
class PointKitPy.Types.PLGMeshExt
Bases: PLGMesh
-
AddSelection(self: PointKitPy.Types.PLGMeshExt, aSelection: list[int]) → None
Add a selection to the mesh
-
CopyMeshExt(self: PointKitPy.Types.PLGMeshExt, apMeshExt: PointKitPy.Types.PLGMeshExt) → None
Copy the provided mesh
-
GetBBoxLength(self: PointKitPy.Types.PLGMeshExt) → float
Get the length of the bounding box, equivalent to (mMax - mMin).Length()
-
GetCenter(self: PointKitPy.Types.PLGMeshExt) → PointKitPy.Types.V3
Get the center of the mesh
-
GetMatrix(self: PointKitPy.Types.PLGMeshExt) → PointKitPy.Types.M4f
Get the mesh matrix
-
GetWorldCenter(self: PointKitPy.Types.PLGMeshExt) → PointKitPy.Types.V3
Get the center of the mesh in world space
-
IsIdentity(self: PointKitPy.Types.PLGMeshExt) → bool
Check if mesh matrix is identity
-
Mesh(self: PointKitPy.Types.PLGMeshExt) → PointKitPy.Types.PLGMesh
Get the mesh as a PLGMesh, keeping only core data
-
Rebase(self: PointKitPy.Types.PLGMeshExt) → bool
Rebase the mesh, applying the current matrix to the vertices and resetting the matrix to identity
-
Reset(self: PointKitPy.Types.PLGMeshExt) → None
Reset the mesh object
-
ResetPose(self: PointKitPy.Types.PLGMeshExt) → None
Reset the rotation and position matrix
-
SetMatrix(self: PointKitPy.Types.PLGMeshExt, m4: PointKitPy.Types.M4f) → None
Set the mesh matrix
-
SetMesh(self: PointKitPy.Types.PLGMeshExt, pMesh: PointKitPy.Types.PLGMesh) → None
Set the mesh
-
SubtractSelection(self: PointKitPy.Types.PLGMeshExt, aSelection: list[int]) → None
Subtract a selection from the mesh
-
UpdateBounds(self: PointKitPy.Types.PLGMeshExt) → None
Update the bounds of the mesh
-
property mImage
Unused in Python bindings
-
property mMax
Bounding box maximum
-
property mMin
Bounding box minimum
-
property mName
-
property mPosition
-
property mRotation
-
property mSelection
Selected vertices
-
PointKitPy.Types.Q4
alias of V4
-
class PointKitPy.Types.RI2
Bases: pybind11_object
-
property x
-
property y
-
class PointKitPy.Types.RI3
Bases: pybind11_object
-
property x
-
property y
-
property z
-
class PointKitPy.Types.RI4
Bases: pybind11_object
-
property h
-
property w
-
property x
-
property y
-
PointKitPy.Types.U2
alias of V2
-
class PointKitPy.Types.V2
Bases: pybind11_object
-
Abs(self: PointKitPy.Types.V2) → PointKitPy.Types.V2
-
Dot(self: PointKitPy.Types.V2, arg0: PointKitPy.Types.V2) → float
-
Length(self: PointKitPy.Types.V2) → float
-
Normalize(self: PointKitPy.Types.V2) → None
-
Normalized(self: PointKitPy.Types.V2) → PointKitPy.Types.V2
-
SquareLength(self: PointKitPy.Types.V2) → float
-
has_nan(self: PointKitPy.Types.V2) → bool
-
u(self: PointKitPy.Types.V2) → float
-
v(self: PointKitPy.Types.V2) → float
-
property x
-
property y
-
class PointKitPy.Types.V3
Bases: pybind11_object
-
Abs(self: PointKitPy.Types.V3) → PointKitPy.Types.V3
-
Cross(self: PointKitPy.Types.V3, arg0: PointKitPy.Types.V3) → PointKitPy.Types.V3
-
Dot(self: PointKitPy.Types.V3, arg0: PointKitPy.Types.V3) → float
-
HasINF(self: PointKitPy.Types.V3) → bool
-
HasNAN(self: PointKitPy.Types.V3) → bool
-
IsZero(self: PointKitPy.Types.V3) → bool
-
Length(self: PointKitPy.Types.V3) → float
-
Normalize(self: PointKitPy.Types.V3) → None
-
Normalized(self: PointKitPy.Types.V3) → PointKitPy.Types.V3
-
SquareLength(self: PointKitPy.Types.V3) → float
-
Sum(self: PointKitPy.Types.V3) → float
-
property x
-
property y
-
property z
-
class PointKitPy.Types.V3d
Bases: pybind11_object
-
property x
-
property y
-
property z
-
class PointKitPy.Types.V4
Bases: pybind11_object
-
AsV3(self: PointKitPy.Types.V4) → PointKitPy.Types.V3
-
Dot(self: PointKitPy.Types.V4, arg0: PointKitPy.Types.V4) → float
-
Inverse(self: PointKitPy.Types.V4) → PointKitPy.Types.V4
-
Length(self: PointKitPy.Types.V4) → float
-
Normalize(self: PointKitPy.Types.V4) → None
-
Normalized(self: PointKitPy.Types.V4) → PointKitPy.Types.V4
-
SquareLength(self: PointKitPy.Types.V4) → float
-
ToV3(self: PointKitPy.Types.V4) → PointKitPy.Types.V3
-
ToV3N(self: PointKitPy.Types.V4) → PointKitPy.Types.V3
-
property w
-
property x
-
property y
-
property z