OpenStructure
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
Preset Class Reference

Public Member Functions

def __init__ (self, name, parent=None)
 
def SetName (self, name)
 
def GetName (self)
 
def InsertOp (self, index, op)
 
def RemoveOp (self, op)
 
def RemoveOpAt (self, index)
 
def GetOp (self, index)
 
def GetOpCount (self)
 
def SetOp (self, index, op)
 
def AddOp (self, op)
 
def GetOps (self)
 
def ApplyOn (self, entity)
 
def ToInfo (self, group)
 

Static Public Member Functions

def FromInfo (group)
 

Data Fields

 name_
 
 ops_
 

Static Public Attributes

string NAME_ATTRIBUTE_NAME = "Name"
 
string OP_GROUP_NAME = "Op"
 
string CLASS_NAME_ATTRIBUTE_NAME = "ClassName"
 
string INDEX_ATTRIBUTE_NAME = "Index"
 
list MODULE_NAMES = ["ost.gfx","ost.gui.scene.visibility_op","ost.gui.scene.render_op"]
 

Detailed Description

Definition at line 27 of file preset.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  parent = None 
)

Definition at line 35 of file preset.py.

Member Function Documentation

◆ AddOp()

def AddOp (   self,
  op 
)

Definition at line 63 of file preset.py.

◆ ApplyOn()

def ApplyOn (   self,
  entity 
)

Definition at line 69 of file preset.py.

◆ FromInfo()

def FromInfo (   group)
static

Definition at line 86 of file preset.py.

◆ GetName()

def GetName (   self)

Definition at line 42 of file preset.py.

◆ GetOp()

def GetOp (   self,
  index 
)

Definition at line 54 of file preset.py.

◆ GetOpCount()

def GetOpCount (   self)

Definition at line 57 of file preset.py.

◆ GetOps()

def GetOps (   self)

Definition at line 66 of file preset.py.

◆ InsertOp()

def InsertOp (   self,
  index,
  op 
)

Definition at line 45 of file preset.py.

◆ RemoveOp()

def RemoveOp (   self,
  op 
)

Definition at line 48 of file preset.py.

◆ RemoveOpAt()

def RemoveOpAt (   self,
  index 
)

Definition at line 51 of file preset.py.

◆ SetName()

def SetName (   self,
  name 
)

Definition at line 39 of file preset.py.

◆ SetOp()

def SetOp (   self,
  index,
  op 
)

Definition at line 60 of file preset.py.

◆ ToInfo()

def ToInfo (   self,
  group 
)

Definition at line 77 of file preset.py.

Field Documentation

◆ CLASS_NAME_ATTRIBUTE_NAME

string CLASS_NAME_ATTRIBUTE_NAME = "ClassName"
static

Definition at line 30 of file preset.py.

◆ INDEX_ATTRIBUTE_NAME

string INDEX_ATTRIBUTE_NAME = "Index"
static

Definition at line 31 of file preset.py.

◆ MODULE_NAMES

list MODULE_NAMES = ["ost.gfx","ost.gui.scene.visibility_op","ost.gui.scene.render_op"]
static

Definition at line 33 of file preset.py.

◆ name_

name_

Definition at line 36 of file preset.py.

◆ NAME_ATTRIBUTE_NAME

string NAME_ATTRIBUTE_NAME = "Name"
static

Definition at line 28 of file preset.py.

◆ OP_GROUP_NAME

string OP_GROUP_NAME = "Op"
static

Definition at line 29 of file preset.py.

◆ ops_

ops_

Definition at line 37 of file preset.py.


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