C# 클래스 RhinoCyclesCore.Database.ChangeDatabase

상속: ChangeQueue
파일 보기 프로젝트 열기: mcneel/RhinoCycles 1 사용 예제들

공개 메소드들

메소드 설명
HandleMeshData ( System.Guid meshguid, int meshIndex, Rhino meshdata ) : void
HasChanges ( ) : bool

Tell if any changes have been recorded by the ChangeQueue mechanism since the last flush.

ResetChangeQueue ( ) : void

Reset changequeue lists and dictionaries. Generally this is done once all changes have been handled, and thus no longer needed.

UploadCameraChanges ( ) : void

Upload camera (viewport) changes to Cycles.

UploadDynamicObjectTransforms ( ) : void

Handle dynamic object transforms

UploadEnvironmentChanges ( ) : void
UploadGammaChanges ( ) : void
UploadLightChanges ( ) : void

Upload all light changes to the Cycles render engine

UploadLinearWorkflowChanges ( ) : void
UploadMeshChanges ( ) : void

Upload mesh changes

UploadObjectChanges ( ) : void

Upload object changes

UploadObjectShaderChanges ( ) : void

Change shaders on objects and their meshes

UploadRenderSettingsChanges ( ) : void

Notify interested clients of i.e. sample count changes.

UploadShaderChanges ( ) : void

Upload changes to shaders

보호된 메소드들

메소드 설명
ApplyDynamicLightChanges ( List dynamicLightChanges ) : void
ApplyDynamicObjectTransforms ( List dynamicObjectTransforms ) : void

Handle dynamic object transforms

ApplyEnvironmentChanges ( Rhino.Render.RenderEnvironment usage ) : void

Handle environment changes

ApplyGroundPlaneChanges ( Rhino.Render.ChangeQueue.GroundPlane gp ) : void

Handle ground plane changes.

ApplyLightChanges ( List lightChanges ) : void

Handle light changes

ApplyLinearWorkflowChanges ( Rhino lw ) : void
ApplyMaterialChanges ( List mats ) : void

Handle changes in materials to create (or re-use) shaders.

ApplyMeshChanges ( System.Guid deleted, List added ) : void

Handle mesh changes

ApplyMeshInstanceChanges ( List deleted, List addedOrChanged ) : void
ApplyRenderSettingsChanges ( Rhino.Render.RenderSettings rs ) : void

비공개 메소드들

메소드 설명
ChangeDatabase ( System.Guid pluginId, RenderEngine engine, Rhino.Render.CreatePreviewEventArgs createPreviewEventArgs ) : System

Constructor for our changequeue implementation

ChangeDatabase ( System.Guid pluginId, RenderEngine engine, uint doc, Rhino.DocObjects.ViewInfo view, bool modal ) : System

Constructor for our changequeue implementation

SetFloatTextureAsByteTexture ( bool floatAsByte ) : void

This should be called with true to read texture as byte image instead of float images. This is necessary currently for OpenCL environment textures, as HDRi isn't properly supported there.

TriggerFilmUpdateTagged ( ) : void
TriggerLightShaderChanged ( CyclesLight rcLightShader, ccl.Shader cclShader ) : void
TriggerLinearWorkflowUploaded ( ) : void
TriggerMaterialShaderChanged ( CyclesShader rcShader, ccl.Shader cclShader ) : void

메소드 상세

ApplyDynamicLightChanges() 보호된 메소드

protected ApplyDynamicLightChanges ( List dynamicLightChanges ) : void
dynamicLightChanges List
리턴 void

ApplyDynamicObjectTransforms() 보호된 메소드

Handle dynamic object transforms
protected ApplyDynamicObjectTransforms ( List dynamicObjectTransforms ) : void
dynamicObjectTransforms List List of DynamicObject transforms
리턴 void

ApplyEnvironmentChanges() 보호된 메소드

Handle environment changes
protected ApplyEnvironmentChanges ( Rhino.Render.RenderEnvironment usage ) : void
usage Rhino.Render.RenderEnvironment
리턴 void

ApplyGroundPlaneChanges() 보호된 메소드

Handle ground plane changes.
protected ApplyGroundPlaneChanges ( Rhino.Render.ChangeQueue.GroundPlane gp ) : void
gp Rhino.Render.ChangeQueue.GroundPlane
리턴 void

ApplyLightChanges() 보호된 메소드

Handle light changes
protected ApplyLightChanges ( List lightChanges ) : void
lightChanges List
리턴 void

ApplyLinearWorkflowChanges() 보호된 메소드

protected ApplyLinearWorkflowChanges ( Rhino lw ) : void
lw Rhino
리턴 void

ApplyMaterialChanges() 보호된 메소드

Handle changes in materials to create (or re-use) shaders.
protected ApplyMaterialChanges ( List mats ) : void
mats List List of CQMaterial
리턴 void

ApplyMeshChanges() 보호된 메소드

Handle mesh changes
protected ApplyMeshChanges ( System.Guid deleted, List added ) : void
deleted System.Guid
added List
리턴 void

ApplyMeshInstanceChanges() 보호된 메소드

protected ApplyMeshInstanceChanges ( List deleted, List addedOrChanged ) : void
deleted List
addedOrChanged List
리턴 void

ApplyRenderSettingsChanges() 보호된 메소드

protected ApplyRenderSettingsChanges ( Rhino.Render.RenderSettings rs ) : void
rs Rhino.Render.RenderSettings
리턴 void

HandleMeshData() 공개 메소드

public HandleMeshData ( System.Guid meshguid, int meshIndex, Rhino meshdata ) : void
meshguid System.Guid
meshIndex int
meshdata Rhino
리턴 void

HasChanges() 공개 메소드

Tell if any changes have been recorded by the ChangeQueue mechanism since the last flush.
public HasChanges ( ) : bool
리턴 bool

ResetChangeQueue() 공개 메소드

Reset changequeue lists and dictionaries. Generally this is done once all changes have been handled, and thus no longer needed.
public ResetChangeQueue ( ) : void
리턴 void

UploadCameraChanges() 공개 메소드

Upload camera (viewport) changes to Cycles.
public UploadCameraChanges ( ) : void
리턴 void

UploadDynamicObjectTransforms() 공개 메소드

Handle dynamic object transforms
public UploadDynamicObjectTransforms ( ) : void
리턴 void

UploadEnvironmentChanges() 공개 메소드

public UploadEnvironmentChanges ( ) : void
리턴 void

UploadGammaChanges() 공개 메소드

public UploadGammaChanges ( ) : void
리턴 void

UploadLightChanges() 공개 메소드

Upload all light changes to the Cycles render engine
public UploadLightChanges ( ) : void
리턴 void

UploadLinearWorkflowChanges() 공개 메소드

public UploadLinearWorkflowChanges ( ) : void
리턴 void

UploadMeshChanges() 공개 메소드

Upload mesh changes
public UploadMeshChanges ( ) : void
리턴 void

UploadObjectChanges() 공개 메소드

Upload object changes
public UploadObjectChanges ( ) : void
리턴 void

UploadObjectShaderChanges() 공개 메소드

Change shaders on objects and their meshes
public UploadObjectShaderChanges ( ) : void
리턴 void

UploadRenderSettingsChanges() 공개 메소드

Notify interested clients of i.e. sample count changes.
public UploadRenderSettingsChanges ( ) : void
리턴 void

UploadShaderChanges() 공개 메소드

Upload changes to shaders
public UploadShaderChanges ( ) : void
리턴 void