OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
Preset Class Reference

Public Member Functions

def __init__
def SetName
def GetName
def InsertOp
def RemoveOp
def RemoveOpAt
def GetOp
def GetOpCount
def SetOp
def AddOp
def GetOps
def ApplyOn
def ToInfo

Static Public Member Functions

def FromInfo

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 28 of file preset.py.


Constructor & Destructor Documentation

def __init__ (   self,
  name,
  parent = None 
)

Definition at line 36 of file preset.py.


Member Function Documentation

def AddOp (   self,
  op 
)

Definition at line 64 of file preset.py.

def ApplyOn (   self,
  entity 
)

Definition at line 70 of file preset.py.

def FromInfo (   group)
static

Definition at line 87 of file preset.py.

def GetName (   self)

Definition at line 43 of file preset.py.

def GetOp (   self,
  index 
)

Definition at line 55 of file preset.py.

def GetOpCount (   self)

Definition at line 58 of file preset.py.

def GetOps (   self)

Definition at line 67 of file preset.py.

def InsertOp (   self,
  index,
  op 
)

Definition at line 46 of file preset.py.

def RemoveOp (   self,
  op 
)

Definition at line 49 of file preset.py.

def RemoveOpAt (   self,
  index 
)

Definition at line 52 of file preset.py.

def SetName (   self,
  name 
)

Definition at line 40 of file preset.py.

def SetOp (   self,
  index,
  op 
)

Definition at line 61 of file preset.py.

def ToInfo (   self,
  group 
)

Definition at line 78 of file preset.py.


Field Documentation

string CLASS_NAME_ATTRIBUTE_NAME = "ClassName"
static

Definition at line 31 of file preset.py.

string INDEX_ATTRIBUTE_NAME = "Index"
static

Definition at line 32 of file preset.py.

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

Definition at line 34 of file preset.py.

name_

Definition at line 37 of file preset.py.

string NAME_ATTRIBUTE_NAME = "Name"
static

Definition at line 29 of file preset.py.

string OP_GROUP_NAME = "Op"
static

Definition at line 30 of file preset.py.

ops_

Definition at line 38 of file preset.py.


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